Makefile.am
author Stephane Peter
Sat, 30 Oct 1999 22:57:49 +0000
changeset 11 3939a99bf422
parent 1 4ef9250a6471
child 29 44b09d6e1170
permissions -rw-r--r--
Various bugfixes for music looping
slouken@0
     1
# Makefile.am for the SDL sample mixer library and players
slouken@0
     2
slouken@0
     3
lib_LTLIBRARIES = libmixer.la
slouken@0
     4
slouken@1
     5
SUBDIRS = @MUSIC_SUBDIRS@
slouken@1
     6
DIST_SUBIDRS = mikmod timidity
slouken@0
     7
slouken@0
     8
libmixerincludedir = $(includedir)
slouken@0
     9
libmixerinclude_HEADERS =	\
slouken@0
    10
	mixer.h
slouken@0
    11
slouken@0
    12
libmixer_la_SOURCES =		\
slouken@0
    13
	mixer.c			\
slouken@0
    14
	music.c			\
slouken@0
    15
	music_cmd.c		\
slouken@0
    16
	music_cmd.h		\
slouken@0
    17
	wave.h			\
slouken@0
    18
	wavestream.c		\
slouken@0
    19
	wavestream.h
slouken@0
    20
slouken@1
    21
if USE_MIKMOD
slouken@1
    22
MIKMOD_LIB = mikmod/libmikmod.la
slouken@1
    23
else
slouken@1
    24
MIKMOD_LIB =
slouken@1
    25
endif
slouken@1
    26
if USE_TIMIDITY
slouken@1
    27
TIMIDITY_LIB = timidity/libtimidity.la
slouken@1
    28
else
slouken@1
    29
TIMIDITY_LIB =
slouken@1
    30
endif
slouken@1
    31
slouken@0
    32
libmixer_la_LDFLAGS = 		\
slouken@0
    33
        -release $(LT_RELEASE)	\
slouken@0
    34
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
slouken@1
    35
libmixer_la_LIBADD = $(MIKMOD_LIB) $(TIMIDITY_LIB)
slouken@0
    36
slouken@0
    37
bin_PROGRAMS = playwave playmus
slouken@0
    38
slouken@0
    39
playwave_LDADD = libmixer.la
slouken@0
    40
playmus_LDADD = libmixer.la