summaryrefslogtreecommitdiff
path: root/src/liba52
diff options
context:
space:
mode:
Diffstat (limited to 'src/liba52')
-rw-r--r--src/liba52/Makefile.am25
1 files changed, 6 insertions, 19 deletions
diff --git a/src/liba52/Makefile.am b/src/liba52/Makefile.am
index 9eec4f6d2..1025b373d 100644
--- a/src/liba52/Makefile.am
+++ b/src/liba52/Makefile.am
@@ -3,32 +3,19 @@ include $(top_srcdir)/misc/Makefile.common
AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG)
AM_LDFLAGS = $(xineplug_ldflags)
-noinst_HEADERS = \
- a52.h \
- a52_internal.h \
- bitstream.h \
- tables.h \
- crc.c
+noinst_HEADERS = a52.h a52_internal.h bitstream.h tables.h crc.c
-if A52
+if ENABLE_A52DEC
xineplug_LTLIBRARIES = xineplug_decode_a52.la
endif
-if EXTERNAL_A52DEC
-internal_sources =
+if WITH_EXTERNAL_A52DEC
external_libs = -la52
+internal_sources =
else
-internal_sources = \
- bitstream.c \
- bit_allocate.c \
- downmix.c \
- imdct.c \
- parse.c
external_libs =
+internal_sources = bitstream.c bit_allocate.c downmix.c imdct.c parse.c
endif
-xineplug_decode_a52_la_SOURCES = \
- xine_a52_decoder.c \
- $(internal_sources)
-
+xineplug_decode_a52_la_SOURCES = xine_a52_decoder.c $(internal_sources)
xineplug_decode_a52_la_LIBADD = $(XINE_LIB) $(external_libs) -lm