/[svn]/linuxsampler/trunk/src/drivers/audio/Makefile.am
ViewVC logotype

Contents of /linuxsampler/trunk/src/drivers/audio/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1568 - (show annotations) (download)
Thu Dec 6 19:51:20 2007 UTC (13 years, 4 months ago) by schoenebeck
File size: 1880 byte(s)
- minor tarball packaging fix: we cannot include the asio header files
  into release tarballs

1 METASOURCES = AUTO
2
3 AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH)
4
5 if HAVE_ALSA
6 alsa_src = AudioOutputDeviceAlsa.cpp AudioOutputDeviceAlsa.h
7 alsa_ladd = -lasound
8 else
9 alsa_src =
10 alsa_ladd =
11 endif
12
13 if HAVE_JACK
14 jack_src = AudioOutputDeviceJack.cpp AudioOutputDeviceJack.h
15 jack_lflags = $(JACK_LIBS)
16 else
17 jack_src =
18 jack_lflags =
19 endif
20
21 if HAVE_ARTS
22 arts_src = AudioOutputDeviceArts.cpp AudioOutputDeviceArts.h
23 arts_ladd = @ARTS_LIBS@
24 arts_includes = @ARTS_CFLAGS@
25 else
26 arts_src =
27 arts_ladd =
28 arts_includes =
29 endif
30
31 if HAVE_ASIO
32 asio_includes = -I@ASIOSDK_BASEDIR@/asiosdk2/common -I@ASIOSDK_BASEDIR@/asiosdk2/host -I@ASIOSDK_BASEDIR@/asiosdk2/host/pc
33 asio_3rd_party_src = @ASIOSDK_BASEDIR@/asiosdk2/common/asio.cpp @ASIOSDK_BASEDIR@/asiosdk2/common/asio.h @ASIOSDK_BASEDIR@/asiosdk2/host/asiodrivers.cpp @ASIOSDK_BASEDIR@/asiosdk2/host/asiodrivers.h @ASIOSDK_BASEDIR@/asiosdk2/host/pc/asiolist.cpp @ASIOSDK_BASEDIR@/asiosdk2/host/pc/asiolist.h
34 asio_src = AudioOutputDeviceAsio.cpp AudioOutputDeviceAsio.h iasiothiscallresolver.cpp iasiothiscallresolver.h
35 asio_ladd =
36 else
37 asio_src =
38 asio_3rd_party_src =
39 asio_includes =
40 asio_ladd =
41 endif
42
43 liblinuxsampleraudiodriverincludedir = $(includedir)/linuxsampler/drivers/audio
44 liblinuxsampleraudiodriverinclude_HEADERS = \
45 AudioChannel.h \
46 AudioOutputDevice.h
47
48 INCLUDES = $(all_includes) $(arts_includes) $(asio_includes)
49
50 noinst_LTLIBRARIES = liblinuxsampleraudiodriver.la
51 liblinuxsampleraudiodriver_la_SOURCES = \
52 AudioChannel.cpp AudioChannel.h \
53 AudioOutputDevice.cpp AudioOutputDevice.h \
54 AudioOutputDeviceFactory.cpp AudioOutputDeviceFactory.h \
55 $(alsa_src) $(jack_src) $(arts_src) $(asio_src)
56 nodist_liblinuxsampleraudiodriver_la_SOURCES = \
57 $(asio_3rd_party_src)
58 liblinuxsampleraudiodriver_la_LIBADD = $(alsa_ladd) $(arts_ladd)
59 liblinuxsampleraudiodriver_la_LDFLAGS = $(jack_lflags)

  ViewVC Help
Powered by ViewVC