diff options
| author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-11 10:17:32 +0200 |
|---|---|---|
| committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-11 10:17:32 +0200 |
| commit | 1c16911d749fd4a4477b0cec95ffaebbc50d013a (patch) | |
| tree | 8fa4bb153572a7e15e43f63e072e928fc5979bda /src/libxineadec/Makefile.am | |
| parent | aaa87d78d6e8fe7b1ddaa910f2657952f117529f (diff) | |
| download | xine-lib-1c16911d749fd4a4477b0cec95ffaebbc50d013a.tar.gz xine-lib-1c16911d749fd4a4477b0cec95ffaebbc50d013a.tar.bz2 | |
Now that libmpcdec sources are in contrib/ subdirectory, move xine_musepack_decoder.c in libxineadec.
--HG--
rename : src/libmusepack/xine_musepack_decoder.c => src/libxineadec/xine_musepack_decoder.c
Diffstat (limited to 'src/libxineadec/Makefile.am')
| -rw-r--r-- | src/libxineadec/Makefile.am | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/src/libxineadec/Makefile.am b/src/libxineadec/Makefile.am index b2ffcf078..8ed5a8860 100644 --- a/src/libxineadec/Makefile.am +++ b/src/libxineadec/Makefile.am @@ -14,12 +14,29 @@ if HAVE_SPEEX speex_module = xineplug_decode_speex.la endif +if MUSEPACK +musepack_module = xineplug_decode_mpc.la +endif + +if !EXTERNAL_MPCDEC +link_libmpcdec = $(top_builddir)/contrib/libmpcdec/libmpcdec.la +cflags_libmpcdec = -I$(top_srcdir)/contrib/libmpcdec + +$(top_builddir)/contrib/libmpcdec/libmpcdec.la: + $(MAKE) -C $(top_builddir)/contrib/libmpcdec + +else +link_libmpcdec = $(MPCDEC_LIBS) +cflags_libmpcdec = $(MPCDEC_CFLAGS) +endif + xineplug_LTLIBRARIES = \ xineplug_decode_gsm610.la \ xineplug_decode_nsf.la \ xineplug_decode_lpcm.la \ $(vorbis_module) \ - $(speex_module) + $(speex_module) \ + $(musepack_module) xineplug_decode_gsm610_la_SOURCES = gsm610.c xineplug_decode_gsm610_la_CFLAGS = $(VISIBILITY_FLAG) @@ -40,3 +57,8 @@ xineplug_decode_vorbis_la_CFLAGS = $(VISIBILITY_FLAG) $(VORBIS_CFLAGS) xineplug_decode_speex_la_SOURCES = xine_speex_decoder.c xineplug_decode_speex_la_LIBADD = $(XINE_LIB) $(SPEEX_LIBS) xineplug_decode_speex_la_CFLAGS = $(VISIBILITY_FLAGS) $(SPEEX_CFLAGS) + +xineplug_decode_mpc_la_SOURCES = xine_musepack_decoder.c +xineplug_decode_mpc_la_CFLAGS = $(VISIBILITY_FLAG) $(cflags_libmpcdec) +xineplug_decode_mpc_la_LIBADD = $(XINE_LIB) $(link_libmpcdec) +xineplug_decode_mpc_la_LDFLAGS = $(xineplug_ldflags) |
