/
Makefile.am
40 lines (32 loc) · 756 Bytes
1
2
# Makefile.am for the SDL sample mixer library and players
3
lib_LTLIBRARIES = libmixer.la
4
5
6
SUBDIRS = @MUSIC_SUBDIRS@
DIST_SUBIDRS = mikmod timidity
7
8
9
libmixerincludedir = $(includedir)
libmixerinclude_HEADERS = \
10
11
mixer.h
12
libmixer_la_SOURCES = \
13
14
15
16
17
18
19
20
mixer.c \
music.c \
music_cmd.c \
music_cmd.h \
wave.h \
wavestream.c \
wavestream.h
21
22
23
24
25
26
27
28
29
30
31
if USE_MIKMOD
MIKMOD_LIB = mikmod/libmikmod.la
else
MIKMOD_LIB =
endif
if USE_TIMIDITY
TIMIDITY_LIB = timidity/libtimidity.la
else
TIMIDITY_LIB =
endif
32
libmixer_la_LDFLAGS = \
33
34
-release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
35
libmixer_la_LIBADD = $(MIKMOD_LIB) $(TIMIDITY_LIB)
36
37
38
bin_PROGRAMS = playwave playmus
39
40
playwave_LDADD = libmixer.la
playmus_LDADD = libmixer.la