-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile.am
54 lines (45 loc) · 1.14 KB
/
Makefile.am
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
44
45
46
47
48
49
50
51
52
53
54
lib_LTLIBRARIES = libSDL_sound.la
SUBDIRS = decoders .
libSDL_soundincludedir = $(includedir)/SDL2
libSDL_soundinclude_HEADERS = \
SDL_sound.h
libSDL_sound_la_SOURCES = \
SDL_sound.c \
SDL_sound_internal.h \
audio_convert.c \
extra_rwops.c \
extra_rwops.h
if USE_TIMIDITY
TIMIDITY_LIB = decoders/timidity/libtimidity.la
else
TIMIDITY_LIB =
endif
if USE_LIBMPG123
MPG123_LIB = decoders/libmpg123/libmpg123.la
else
MPG123_LIB =
endif
libSDL_sound_la_LDFLAGS = \
-release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
-no-undefined
libSDL_sound_la_LIBADD = \
decoders/libdecoders.la \
$(TIMIDITY_LIB) $(MPG123_LIB)
EXTRA_DIST = \
CREDITS \
COPYING \
CHANGELOG \
CWProject.sit \
PBProjects.tar.gz \
borland.zip \
Doxyfile \
VisualC
dist-hook:
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
rm -rf `find $(distdir) -type d -name ".svn"`
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = SDL_sound.pc