/
Makefile.am
53 lines (44 loc) · 1.12 KB
1
2
lib_LTLIBRARIES = libSDL_sound.la
3
SUBDIRS = decoders . playsound
4
5
6
7
libSDL_soundincludedir = $(includedir)/SDL
libSDL_soundinclude_HEADERS = \
SDL_sound.h
8
9
10
libSDL_sound_la_SOURCES = \
SDL_sound.c \
11
SDL_sound_internal.h \
12
13
14
alt_audio_convert.c \
alt_audio_convert.h \
audio_convert.c \
15
extra_rwops.c \
16
extra_rwops.h
17
18
19
20
21
22
23
if USE_TIMIDITY
TIMIDITY_LIB = decoders/timidity/libtimidity.la
else
TIMIDITY_LIB =
endif
24
25
26
27
28
29
if USE_MPGLIB
MPGLIB_LIB = decoders/mpglib/libmpglib.la
else
MPGLIB_LIB =
endif
30
31
32
libSDL_sound_la_LDFLAGS = \
-release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
33
34
libSDL_sound_la_LIBADD = \
decoders/libdecoders.la \
35
$(TIMIDITY_LIB) $(MPGLIB_LIB)
36
37
EXTRA_DIST = \
38
CREDITS \
39
COPYING \
40
CHANGELOG \
41
CWProject.sit \
42
PBProjects.tar.gz \
43
borland.zip \
44
45
Doxyfile \
VisualC
46
47
dist-hook:
48
49
50
51
mkdir $(distdir)/docs
echo "Docs are generated with the program "Doxygen" (http://www.doxygen.org/)," >> $(distdir)/docs/README
echo " or can be read online at http://icculus.org/SDL_sound/docs/" >> $(distdir)/docs/README
echo >> $(distdir)/docs/README
52
rm -rf `find $(distdir) -type d -name ".svn"`