summaryrefslogtreecommitdiff
path: root/src/liba52/Makefile.am
blob: 508ea9c1b98e7b7869f3ce749901592f33f912e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
include $(top_srcdir)/misc/Makefile.common

if A52
a52_module = xineplug_decode_a52.la
endif

xineplug_LTLIBRARIES = $(a52_module)

if EXTERNAL_A52DEC
internal_sources =
else
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)

if EXTERNAL_A52DEC
xineplug_decode_a52_la_LIBADD = $(XINE_LIB) $(LTLIBINTL) -la52 -lm
else
xineplug_decode_a52_la_LIBADD = $(XINE_LIB) $(LTLIBINTL) -lm
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