summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: a3b9e9db41967b05848573343ddf4ba46e874b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
bin_PROGRAMS = aiomixer aioloop aiorecord
lib_LTLIBRARIES = libaudioio.la

libaudioio_la_LIBADD = $(ALSA_LIBS)
libaudioio_la_CXXFLAGS = $(ALSA_CFLAGS)
libaudioio_la_SOURCES = \
	source.cc \
	sink.cc \
	device.cc \
	mixer.cc \
	audioio.cc

include_HEADERS = \
	audioio.h

aiomixer_LDADD = $(ALSA_LIBS)
aiomixer_CXXFLAGS = $(ALSA_CFLAGS)
aiomixer_SOURCES = \
	aiomixer.cc \
	source.cc \
	sink.cc \
	device.cc \
	mixer.cc

aiorecord_LDADD = $(ALSA_LIBS)
aiorecord_CXXFLAGS = $(ALSA_CFLAGS)
aiorecord_SOURCES = \
	aiorecord.cc \
	source.cc \
	sink.cc \
	device.cc \
	mixer.cc

aioloop_LDADD = $(ALSA_LIBS) -lpthread
aioloop_CXXFLAGS = $(ALSA_CFLAGS)
aioloop_SOURCES = \
	aioloop.cc \
	source.cc \
	sink.cc \
	device.cc \
	mixer.cc

EXTRA_DIST = \
	device.h \
	mixer.h	\
	sink.h \
	source.h

install-exec-hook:
	ln -s $(DESTDIR)$(bindir)/aiorecord$(EXEEXT) \
   $(DESTDIR)$(bindir)/aioplay$(EXEEXT)