• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1EXTRA_DIST=Versions
2COMPATNUM=@LIBTOOL_VERSION_INFO@
3
4if VERSIONED_SYMBOLS
5VSYMS = -Wl,--version-script=Versions
6else
7VSYMS =
8endif
9
10if SYMBOLIC_FUNCTIONS
11SYMFUNCS = -Wl,-Bsymbolic-functions
12else
13SYMFUNCS =
14endif
15
16lib_LTLIBRARIES = libasound.la
17libasound_la_SOURCES = conf.c confeval.c confmisc.c input.c output.c async.c error.c dlmisc.c socket.c shmarea.c userfile.c names.c
18
19SUBDIRS=control
20libasound_la_LIBADD = control/libcontrol.la
21if BUILD_MIXER
22SUBDIRS += mixer
23libasound_la_LIBADD += mixer/libmixer.la
24endif
25if BUILD_PCM
26SUBDIRS += pcm timer
27libasound_la_LIBADD += pcm/libpcm.la timer/libtimer.la
28endif
29if BUILD_RAWMIDI
30SUBDIRS += rawmidi
31libasound_la_LIBADD += rawmidi/librawmidi.la
32endif
33if BUILD_HWDEP
34SUBDIRS += hwdep
35libasound_la_LIBADD += hwdep/libhwdep.la
36endif
37if BUILD_SEQ
38SUBDIRS += seq
39libasound_la_LIBADD += seq/libseq.la
40endif
41if BUILD_UCM
42SUBDIRS += ucm
43libasound_la_LIBADD += ucm/libucm.la
44endif
45if BUILD_ALISP
46SUBDIRS += alisp
47libasound_la_LIBADD += alisp/libalisp.la
48endif
49SUBDIRS += conf
50libasound_la_LIBADD += @ALSA_DEPLIBS@
51
52libasound_la_LDFLAGS = -version-info $(COMPATNUM) $(VSYMS) $(SYMFUNCS) $(LDFLAGS_NOUNDEFINED)
53
54control/libcontrol.la:
55	$(MAKE) -C control libcontrol.la
56
57mixer/libmixer.la:
58	$(MAKE) -C mixer libmixer.la
59
60ordinary_mixer/libordinarymixer.la:
61	$(MAKE) -C ordinary_mixer libordinarymixer.la
62
63pcm/libpcm.la:
64	$(MAKE) -C pcm libpcm.la
65
66ordinary_pcm/libordinarypcm.la:
67	$(MAKE) -C ordinary_pcm libordinarypcm.la
68
69rawmidi/librawmidi.la:
70	$(MAKE) -C rawmidi librawmidi.la
71
72timer/libtimer.la:
73	$(MAKE) -C timer libtimer.la
74
75hwdep/libhwdep.la:
76	$(MAKE) -C hwdep libhwdep.la
77
78seq/libseq.la:
79	$(MAKE) -C seq libseq.la
80
81ucm/libucm.la:
82	$(MAKE) -C ucm libucm.la
83
84topology/libtopology.la:
85	$(MAKE) -C topology libtopology.la
86
87instr/libinstr.la:
88	$(MAKE) -C instr libinstr.la
89
90alisp/libalisp.la:
91	$(MAKE) -C alisp libalisp.la
92
93AM_CPPFLAGS=-I$(top_srcdir)/include
94