/[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 1502 - (show annotations) (download)
Wed Nov 21 07:29:52 2007 UTC (12 years, 3 months ago) by senoner
File size: 1659 byte(s)
* win32 port, work in progress: added autoconf checks for Windows
 - win32 additions in linuxsampler.cpp

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_src = AudioOutputDeviceAsio.cpp AudioOutputDeviceAsio.h iasiothiscallresolver.cpp iasiothiscallresolver.h asiosdk2/common/asio.cpp asiosdk2/common/asio.h asiosdk2/host/asiodrivers.cpp asiosdk2/host/asiodrivers.h asiosdk2/host/pc/asiolist.cpp asiosdk2/host/pc/asiolist.h
34 asio_ladd =
35 else
36 asio_src =
37 asio_includes =
38 asio_ladd =
39 endif
40
41 liblinuxsampleraudiodriverincludedir = $(includedir)/linuxsampler/drivers/audio
42 liblinuxsampleraudiodriverinclude_HEADERS = \
43 AudioChannel.h \
44 AudioOutputDevice.h
45
46 INCLUDES = $(all_includes) $(arts_includes) $(asio_includes)
47
48 noinst_LTLIBRARIES = liblinuxsampleraudiodriver.la
49 liblinuxsampleraudiodriver_la_SOURCES = \
50 AudioChannel.cpp AudioChannel.h \
51 AudioOutputDevice.cpp AudioOutputDevice.h \
52 AudioOutputDeviceFactory.cpp AudioOutputDeviceFactory.h \
53 $(alsa_src) $(jack_src) $(arts_src) $(asio_src)
54 liblinuxsampleraudiodriver_la_LIBADD = $(alsa_ladd) $(arts_ladd)
55 liblinuxsampleraudiodriver_la_LDFLAGS = $(jack_lflags)

  ViewVC Help
Powered by ViewVC