summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: ab9917416e1d65266d7e034cf665a56bd2018c66 (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
SUBDIRS=control mixer pcm rawmidi timer hwdep seq instr compat conf
COMPATNUM=@LIBTOOL_VERSION_INFO@

lib_LTLIBRARIES = libasound.la
libasound_la_SOURCES = error.c
libasound_la_LIBADD = control/libcontrol.la mixer/libmixer.la pcm/libpcm.la \
                      rawmidi/librawmidi.la timer/libtimer.la \
		      hwdep/libhwdep.la seq/libseq.la instr/libinstr.la \
		      compat/libcompat.la conf/libconf.la -lm -ldl -lpthread

libasound_la_LDFLAGS = -version-info $(COMPATNUM)

control/libcontrol.la:
	$(MAKE) -C control libcontrol.la

mixer/libmixer.la:
	$(MAKE) -C mixer libmixer.la

pcm/libpcm.la:
	$(MAKE) -C pcm libpcm.la

rawmidi/librawmidi.la:
	$(MAKE) -C rawmidi librawmidi.la

timer/libtimer.la:
	$(MAKE) -C timer libtimer.la

hwdep/libhwdep.la:
	$(MAKE) -C hwdep libhwdep.la

seq/libseq.la:
	$(MAKE) -C seq libseq.la

instr/libinstr.la:
	$(MAKE) -C instr libinstr.la

compat/libcompat.la:
	$(MAKE) -C compat libcompat.la

conf/libconf.la:
	$(MAKE) -C conf libconf.la

INCLUDES=-I$(top_srcdir)/include