summaryrefslogtreecommitdiff
path: root/src/libmad/Makefile.am
blob: 482d68bb382d51f43ad2988c0e5bac2bbe3f80ee (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
include $(top_srcdir)/misc/Makefile.common

AM_CFLAGS   = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG)
AM_CPPFLAGS = -DOPT_SPEED
AM_LDFLAGS  = $(xineplug_ldflags)

EXTRA_DIST = imdct_l_arm.S

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

if ENABLE_MAD
xineplug_LTLIBRARIES = xineplug_decode_mad.la
endif

if WITH_EXTERNAL_MAD
internal_sources =
external_libs = $(LIBMAD_LIBS)
else
internal_sources = \
	bit.c \
	fixed.c \
	frame.c \
	huffman.c \
	layer12.c \
	layer3.c \
	stream.c \
	synth.c \
	timer.c \
	version.c
external_libs =
endif

xineplug_decode_mad_la_SOURCES = xine_mad_decoder.c $(internal_sources)
xineplug_decode_mad_la_LIBADD = $(XINE_LIB) $(external_libs)
xineplug_decode_mad_la_CFLAGS = $(AM_CFLAGS) $(LIBMAD_CFLAGS)