/
Makefile.am
51 lines (42 loc) · 1.07 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
audio_convert.c \
13
extra_rwops.c \
14
extra_rwops.h
15
16
17
18
19
20
21
if USE_TIMIDITY
TIMIDITY_LIB = decoders/timidity/libtimidity.la
else
TIMIDITY_LIB =
endif
22
23
if USE_LIBMPG123
MPG123_LIB = decoders/libmpg123/libmpg123.la
24
else
25
MPG123_LIB =
26
27
endif
28
29
30
libSDL_sound_la_LDFLAGS = \
-release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
31
32
libSDL_sound_la_LIBADD = \
decoders/libdecoders.la \
33
$(TIMIDITY_LIB) $(MPG123_LIB)
34
35
EXTRA_DIST = \
36
CREDITS \
37
COPYING \
38
CHANGELOG \
39
CWProject.sit \
40
PBProjects.tar.gz \
41
borland.zip \
42
43
Doxyfile \
VisualC
44
45
dist-hook:
46
47
48
49
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
50
rm -rf `find $(distdir) -type d -name ".svn"`