1159b3361Sopenharmony_ci## $Id$
2159b3361Sopenharmony_ci
3159b3361Sopenharmony_ciinclude $(top_srcdir)/Makefile.am.global
4159b3361Sopenharmony_ci
5159b3361Sopenharmony_ciINCLUDES = @INCLUDES@ -I$(top_srcdir)/libmp3lame -I$(top_builddir)
6159b3361Sopenharmony_ci# Avoid -I. which obscures libmpg123's mpg123.h
7159b3361Sopenharmony_ciDEFAULT_INCLUDES =
8159b3361Sopenharmony_ci
9159b3361Sopenharmony_ciEXTRA_DIST = \
10159b3361Sopenharmony_ci	AUTHORS \
11159b3361Sopenharmony_ci	README
12159b3361Sopenharmony_ci
13159b3361Sopenharmony_ciDEFS = @DEFS@ @CONFIG_DEFS@
14159b3361Sopenharmony_ci
15159b3361Sopenharmony_ciif LIB_WITH_DECODER
16159b3361Sopenharmony_cinoinst_LTLIBRARIES = libmpgdecoder.la
17159b3361Sopenharmony_ci
18159b3361Sopenharmony_cilibmpgdecoder_la_SOURCES = common.c \
19159b3361Sopenharmony_ci	dct64_i386.c \
20159b3361Sopenharmony_ci	decode_i386.c \
21159b3361Sopenharmony_ci	interface.c \
22159b3361Sopenharmony_ci	layer1.c \
23159b3361Sopenharmony_ci	layer2.c \
24159b3361Sopenharmony_ci	layer3.c \
25159b3361Sopenharmony_ci	tabinit.c
26159b3361Sopenharmony_cielse
27159b3361Sopenharmony_ciEXTRA_DIST += common.c \
28159b3361Sopenharmony_ci	dct64_i386.c \
29159b3361Sopenharmony_ci	decode_i386.c \
30159b3361Sopenharmony_ci	interface.c \
31159b3361Sopenharmony_ci	layer1.c \
32159b3361Sopenharmony_ci	layer2.c \
33159b3361Sopenharmony_ci	layer3.c \
34159b3361Sopenharmony_ci	tabinit.c
35159b3361Sopenharmony_ciendif
36159b3361Sopenharmony_ci
37159b3361Sopenharmony_cinoinst_HEADERS = common.h \
38159b3361Sopenharmony_ci	dct64_i386.h \
39159b3361Sopenharmony_ci	decode_i386.h \
40159b3361Sopenharmony_ci	huffman.h \
41159b3361Sopenharmony_ci	interface.h \
42159b3361Sopenharmony_ci	l2tables.h \
43159b3361Sopenharmony_ci	layer1.h \
44159b3361Sopenharmony_ci	layer2.h \
45159b3361Sopenharmony_ci	layer3.h \
46159b3361Sopenharmony_ci	mpg123.h \
47159b3361Sopenharmony_ci	mpglib.h \
48159b3361Sopenharmony_ci	tabinit.h
49159b3361Sopenharmony_ci
50159b3361Sopenharmony_ciLCLINTFLAGS= \
51159b3361Sopenharmony_ci	+posixlib \
52159b3361Sopenharmony_ci	+showsummary \
53159b3361Sopenharmony_ci	+showalluses \
54159b3361Sopenharmony_ci	+whichlib \
55159b3361Sopenharmony_ci	+forcehints \
56159b3361Sopenharmony_ci	-fixedformalarray \
57159b3361Sopenharmony_ci	+matchanyintegral \
58159b3361Sopenharmony_ci	-Dlint
59159b3361Sopenharmony_ci
60159b3361Sopenharmony_cilclint.txt: ${libmpgdecoder_la_SOURCES} ${noinst_HEADERS}
61159b3361Sopenharmony_ci	@lclint ${LCLINTFLAGS} ${INCLUDES} ${DEFS} ${libmpgdecoder_la_SOURCES} 2>&1 >lclint.txt || true
62159b3361Sopenharmony_ci
63159b3361Sopenharmony_cilclint: lclint.txt
64159b3361Sopenharmony_ci	more lclint.txt
65159b3361Sopenharmony_ci
66159b3361Sopenharmony_ci#$(OBJECTS): libtool
67159b3361Sopenharmony_ci#libtool: $(LIBTOOL_DEPS)
68159b3361Sopenharmony_ci#	$(SHELL) $(top_builddir)/config.status --recheck
69