summaryrefslogtreecommitdiff
path: root/src/libmad/Makefile.am
blob: 8d704205b08bfbb21ef4c6e1f598cc548a12871f (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
include $(top_srcdir)/misc/Makefile.common

AM_CFLAGS = -DOPT_SPEED

EXTRA_DIST = imdct_l_arm.S

libdir = $(XINE_PLUGINDIR)

if MAD
mad_module = xineplug_decode_mad.la
endif

lib_LTLIBRARIES = $(mad_module)

if EXTERNAL_LIBMAD
internal_sources =
else
internal_sources = \
	bit.c \
	fixed.c \
	frame.c \
	huffman.c \
	layer12.c \
	layer3.c \
	stream.c \
	synth.c \
	timer.c \
	version.c
endif

xineplug_decode_mad_la_SOURCES = \
	xine_decoder.c \
	$(internal_sources)

if EXTERNAL_LIBMAD
xineplug_decode_mad_la_LIBADD = $(XINE_LIB) $(LIBMAD_LIBS)
else
xineplug_decode_mad_la_LIBADD = $(XINE_LIB)
endif
xineplug_decode_mad_la_CFLAGS = $(LIBMAD_CFLAGS) $(VISIBILITY_FLAG)
xineplug_decode_mad_la_LDFLAGS = -avoid-version -module

noinst_HEADERS = \
	D.dat \
	imdct_s.dat \
	qc_table.dat \
	rq_table.dat \
	sf_table.dat \
	bit.h \
	fixed.h \
	frame.h \
	global.h \
	huffman.h \
	layer12.h \
	layer3.h \
	stream.h \
	synth.h \
	timer.h \
	version.h