1 |
INCLUDES = $(all_includes) |
2 |
METASOURCES = AUTO |
3 |
|
4 |
AM_CXXFLAGS = -ffast-math -march=$(target_cpu) |
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 = AudioChannel.cpp AudioChannel.h AudioOutputDevice.cpp AudioOutputDevice.h AudioOutputDeviceFactory.h AudioOutputDeviceFactory.cpp $(alsa_src) $(jack_src) |
24 |
liblinuxsampleraudiodriver_la_LIBADD = $(alsa_ladd) |
25 |
liblinuxsampleraudiodriver_la_LDFLAGS = $(jack_lflags) |