diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-01-19 02:35:36 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-01-19 02:35:36 +0000 |
commit | 2af57b46d30cea316a9f245cc2ecf826e756dbf5 (patch) | |
tree | 36dff919ca1ecd09cdd98e14d1a16390ddd08b0c /src/libmusepack/Makefile.am | |
parent | a0044b6bea994ea4f32ad049bd5fcccc5216e2be (diff) | |
download | xine-lib-2af57b46d30cea316a9f245cc2ecf826e756dbf5.tar.gz xine-lib-2af57b46d30cea316a9f245cc2ecf826e756dbf5.tar.bz2 |
Add --disable-musepack and --with-external-libmpcdec parameters to configure, now users can decide if they want musepack support and whether to use an external copy of libmpcdec.
CVS patchset: 8532
CVS date: 2007/01/19 02:35:36
Diffstat (limited to 'src/libmusepack/Makefile.am')
-rw-r--r-- | src/libmusepack/Makefile.am | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/libmusepack/Makefile.am b/src/libmusepack/Makefile.am index 477dc31f9..021ec0985 100644 --- a/src/libmusepack/Makefile.am +++ b/src/libmusepack/Makefile.am @@ -6,11 +6,24 @@ EXTRA_DIST = diff_against_svn.patch libdir = $(XINE_PLUGINDIR) +if MUSEPACK lib_LTLIBRARIES = xineplug_decode_mpc.la +endif -xineplug_decode_mpc_la_SOURCES = huffsv46.c huffsv7.c idtag.c mpc_decoder.c \ - mpc_reader.c requant.c streaminfo.c synth_filter.c xine_decoder.c +if EXTERNAL_MPCDEC +internal_sources = +else +internal_sources = huffsv46.c huffsv7.c idtag.c mpc_decoder.c \ + mpc_reader.c requant.c streaminfo.c synth_filter.c +endif + +if EXTERNAL_MPCDEC +xineplug_decode_mpc_la_LIBADD = $(XINE_LIB) -lmpcdec +else xineplug_decode_mpc_la_LIBADD = $(XINE_LIB) +endif + +xineplug_decode_mpc_la_SOURCES = $(internal_sources) xine_decoder.c xineplug_decode_mpc_la_CFLAGS = $(VISIBILITY_FLAG) xineplug_decode_mpc_la_LDFLAGS = -avoid-version -module |