From 2992200b707689cd51e4641fab0c962c142a3313 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Mon, 12 Sep 2005 01:06:58 +0000 Subject: new Flameeyes's configure patches CVS patchset: 7730 CVS date: 2005/09/12 01:06:58 --- src/libdts/Makefile.am | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'src/libdts') 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 -- cgit v1.2.3