diff options
| author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-05-31 14:08:52 +0100 |
|---|---|---|
| committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-05-31 14:08:52 +0100 |
| commit | b0607c580af756ff0ccd1229d91b4b6a97c76d24 (patch) | |
| tree | 27f64134720fc9dca224e6313b0505fa43cb8dd8 /src/liba52 | |
| parent | fe2112a1ac52fbf65e2624b978f9d33f04b6af56 (diff) | |
| parent | adebccc0fc011b6d1abe2f682bbfc866dffee73e (diff) | |
| download | xine-lib-b0607c580af756ff0ccd1229d91b4b6a97c76d24.tar.gz xine-lib-b0607c580af756ff0ccd1229d91b4b6a97c76d24.tar.bz2 | |
Merge -newbuild.
Diffstat (limited to 'src/liba52')
| -rw-r--r-- | src/liba52/Makefile.am | 41 |
1 files changed, 12 insertions, 29 deletions
diff --git a/src/liba52/Makefile.am b/src/liba52/Makefile.am index 6a0aebe62..1025b373d 100644 --- a/src/liba52/Makefile.am +++ b/src/liba52/Makefile.am @@ -1,38 +1,21 @@ include $(top_srcdir)/misc/Makefile.common -if A52 -a52_module = xineplug_decode_a52.la -endif +AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG) +AM_LDFLAGS = $(xineplug_ldflags) -xineplug_LTLIBRARIES = $(a52_module) +noinst_HEADERS = a52.h a52_internal.h bitstream.h tables.h crc.c -if EXTERNAL_A52DEC -internal_sources = -else -internal_sources = \ - bitstream.c \ - bit_allocate.c \ - downmix.c \ - imdct.c \ - parse.c +if ENABLE_A52DEC +xineplug_LTLIBRARIES = xineplug_decode_a52.la endif -xineplug_decode_a52_la_SOURCES = \ - xine_a52_decoder.c \ - $(internal_sources) - -if EXTERNAL_A52DEC -xineplug_decode_a52_la_LIBADD = $(XINE_LIB) -la52 -lm +if WITH_EXTERNAL_A52DEC +external_libs = -la52 +internal_sources = else -xineplug_decode_a52_la_LIBADD = $(XINE_LIB) -lm +external_libs = +internal_sources = bitstream.c bit_allocate.c downmix.c imdct.c parse.c endif -xineplug_decode_a52_la_CFLAGS = $(VISIBILITY_FLAG) -xineplug_decode_a52_la_LDFLAGS = $(xineplug_ldflags) - -noinst_HEADERS = \ - a52.h \ - a52_internal.h \ - bitstream.h \ - tables.h \ - crc.c +xineplug_decode_a52_la_SOURCES = xine_a52_decoder.c $(internal_sources) +xineplug_decode_a52_la_LIBADD = $(XINE_LIB) $(external_libs) -lm |
