summaryrefslogtreecommitdiff
path: root/src/liba52/Makefile.am
blob: f296a0ef3ec65a570129ad4b55add0d43063f328 (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
39
40
include $(top_srcdir)/misc/Makefile.common

libdir = $(XINE_PLUGINDIR)

if A52
a52_module = xineplug_decode_a52.la
endif

lib_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_decoder.c \
	$(internal_sources)

if EXTERNAL_A52DEC
xineplug_decode_a52_la_LIBADD = $(XINE_LIB) -la52 -lm
else
xineplug_decode_a52_la_LIBADD = $(XINE_LIB) -lm
endif

xineplug_decode_a52_la_CFLAGS = $(VISIBILITY_FLAG)
xineplug_decode_a52_la_LDFLAGS = -avoid-version -module

noinst_HEADERS = \
	a52.h \
	a52_internal.h \
	bitstream.h \
	tables.h \
	crc.c