1 |
INCLUDES = $(all_includes) |
2 |
METASOURCES = AUTO |
3 |
|
4 |
AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH) |
5 |
|
6 |
if HAVE_ALSA |
7 |
alsa_src = AudioOutputDeviceAlsa.cpp AudioOutputDeviceAlsa.h |
8 |
alsa_ladd = -lasound |
9 |
else |
10 |
alsa_src = |
11 |
alsa_ladd = |
12 |
endif |
13 |
|
14 |
if HAVE_JACK |
15 |
jack_src = AudioOutputDeviceJack.cpp AudioOutputDeviceJack.h |
16 |
jack_lflags = $(JACK_LIBS) |
17 |
else |
18 |
jack_src = |
19 |
jack_lflags = |
20 |
endif |
21 |
|
22 |
noinst_LTLIBRARIES = liblinuxsampleraudiodriver.la |
23 |
liblinuxsampleraudiodriver_la_SOURCES = \ |
24 |
AudioChannel.cpp AudioChannel.h \ |
25 |
AudioOutputDevice.cpp AudioOutputDevice.h \ |
26 |
AudioOutputDeviceFactory.cpp AudioOutputDeviceFactory.h \ |
27 |
$(alsa_src) $(jack_src) |
28 |
liblinuxsampleraudiodriver_la_LIBADD = $(alsa_ladd) |
29 |
liblinuxsampleraudiodriver_la_LDFLAGS = $(jack_lflags) |