summaryrefslogtreecommitdiff
path: root/src/libdts
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-09-12 01:06:58 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-09-12 01:06:58 +0000
commit2992200b707689cd51e4641fab0c962c142a3313 (patch)
treef398e9f26349487b5249a8efaa1f4c50e4d9be23 /src/libdts
parent7ab3a9ffdb889c57dfc4b73b8bf26ebb8d1dc5b8 (diff)
downloadxine-lib-2992200b707689cd51e4641fab0c962c142a3313.tar.gz
xine-lib-2992200b707689cd51e4641fab0c962c142a3313.tar.bz2
new Flameeyes's configure patches
CVS patchset: 7730 CVS date: 2005/09/12 01:06:58
Diffstat (limited to 'src/libdts')
-rw-r--r--src/libdts/Makefile.am22
1 files changed, 19 insertions, 3 deletions
diff --git a/src/libdts/Makefile.am b/src/libdts/Makefile.am
index 52e3ff683..34980c82c 100644
--- a/src/libdts/Makefile.am
+++ b/src/libdts/Makefile.am
@@ -2,11 +2,27 @@ include $(top_srcdir)/misc/Makefile.common
libdir = $(XINE_PLUGINDIR)
-lib_LTLIBRARIES = xineplug_decode_dts.la
+if DTS
+dts_module = xineplug_decode_dts.la
+endif
-xineplug_decode_dts_la_SOURCES = bitstream.c downmix.c parse.c xine_decoder.c
-xineplug_decode_dts_la_LIBADD = $(XINE_LIB)
+lib_LTLIBRARIES = $(dts_module)
+
+if EXTERNAL_LIBDTS
+internal_sources =
+else
+internal_sources = bitstream.c downmix.c parse.c
+endif
+
+xineplug_decode_dts_la_SOURCES = xine_decoder.c $(internal_sources)
xineplug_decode_dts_la_LDFLAGS = -avoid-version -module $(XINE_PLUGIN_MIN_SYMS)
+if EXTERNAL_LIBDTS
+xineplug_decode_dts_la_LIBADD = $(XINE_LIB) $(LIBDTS_LIBS)
+xineplug_decode_dts_la_CFLAGS = $(LIBDTS_CFLAGS)
+else
+xineplug_decode_dts_la_LIBADD = $(XINE_LIB)
+endif
+
noinst_HEADERS = bitstream.h dts.h dts_internal.h tables.h tables_adpcm.h \
tables_fir.h tables_huffman.h tables_quantization.h tables_vq.h