xref: /third_party/lame/libmp3lame/Makefile.am (revision 159b3361)
1159b3361Sopenharmony_ci## $Id$
2159b3361Sopenharmony_ci
3159b3361Sopenharmony_ciinclude $(top_srcdir)/Makefile.am.global
4159b3361Sopenharmony_ci
5159b3361Sopenharmony_ciSUBDIRS = i386 vector
6159b3361Sopenharmony_ci
7159b3361Sopenharmony_cilib_LTLIBRARIES = libmp3lame.la
8159b3361Sopenharmony_ci
9159b3361Sopenharmony_ciif HAVE_NASM
10159b3361Sopenharmony_cicpu_ldadd = $(top_builddir)/libmp3lame/@CPUTYPE@/liblameasmroutines.la
11159b3361Sopenharmony_ciendif
12159b3361Sopenharmony_ciif WITH_VECTOR
13159b3361Sopenharmony_civector_ldadd = $(top_builddir)/libmp3lame/vector/liblamevectorroutines.la
14159b3361Sopenharmony_ciendif
15159b3361Sopenharmony_ci
16159b3361Sopenharmony_ciif LIB_WITH_DECODER
17159b3361Sopenharmony_cidecoder_ldadd = $(top_builddir)/mpglib/libmpgdecoder.la
18159b3361Sopenharmony_cielse
19159b3361Sopenharmony_cidecoder_ldadd =
20159b3361Sopenharmony_ciendif
21159b3361Sopenharmony_ci
22159b3361Sopenharmony_cilibmp3lame_la_LIBADD =	$(cpu_ldadd) $(vector_ldadd) $(decoder_ldadd) \
23159b3361Sopenharmony_ci			@LIBMP3LAME_LDADD@ $(CONFIG_MATH_LIB)
24159b3361Sopenharmony_cilibmp3lame_la_LDFLAGS = -version-info @LIB_MAJOR_VERSION@:@LIB_MINOR_VERSION@ \
25159b3361Sopenharmony_ci			-export-symbols $(top_srcdir)/include/libmp3lame.sym \
26159b3361Sopenharmony_ci			-no-undefined
27159b3361Sopenharmony_ci
28159b3361Sopenharmony_ciINCLUDES = @INCLUDES@ -I$(top_srcdir) -I$(top_builddir)
29159b3361Sopenharmony_ci
30159b3361Sopenharmony_ciDEFS = @DEFS@ @CONFIG_DEFS@
31159b3361Sopenharmony_ci
32159b3361Sopenharmony_ciEXTRA_DIST = \
33159b3361Sopenharmony_ci	lame.rc \
34159b3361Sopenharmony_ci	vbrquantize.h \
35159b3361Sopenharmony_ci	logoe.ico
36159b3361Sopenharmony_ci
37159b3361Sopenharmony_cilibmp3lame_la_SOURCES = \
38159b3361Sopenharmony_ci        VbrTag.c \
39159b3361Sopenharmony_ci	bitstream.c \
40159b3361Sopenharmony_ci	encoder.c \
41159b3361Sopenharmony_ci	fft.c \
42159b3361Sopenharmony_ci	gain_analysis.c \
43159b3361Sopenharmony_ci        id3tag.c \
44159b3361Sopenharmony_ci        lame.c \
45159b3361Sopenharmony_ci        newmdct.c \
46159b3361Sopenharmony_ci	presets.c \
47159b3361Sopenharmony_ci	psymodel.c \
48159b3361Sopenharmony_ci	quantize.c \
49159b3361Sopenharmony_ci	quantize_pvt.c \
50159b3361Sopenharmony_ci	reservoir.c \
51159b3361Sopenharmony_ci	set_get.c \
52159b3361Sopenharmony_ci	tables.c \
53159b3361Sopenharmony_ci	takehiro.c \
54159b3361Sopenharmony_ci	util.c \
55159b3361Sopenharmony_ci	vbrquantize.c \
56159b3361Sopenharmony_ci	version.c \
57159b3361Sopenharmony_ci	mpglib_interface.c
58159b3361Sopenharmony_ci
59159b3361Sopenharmony_cinoinst_HEADERS= \
60159b3361Sopenharmony_ci	VbrTag.h \
61159b3361Sopenharmony_ci	VbrTagCrc.h \
62159b3361Sopenharmony_ci	bitstream.h \
63159b3361Sopenharmony_ci	encoder.h \
64159b3361Sopenharmony_ci	fft.h \
65159b3361Sopenharmony_ci	gain_analysis.h \
66159b3361Sopenharmony_ci	id3tag.h \
67159b3361Sopenharmony_ci	l3side.h \
68159b3361Sopenharmony_ci	lame-analysis.h \
69159b3361Sopenharmony_ci	lame_global_flags.h \
70159b3361Sopenharmony_ci	lameerror.h \
71159b3361Sopenharmony_ci	machine.h \
72159b3361Sopenharmony_ci	newmdct.h \
73159b3361Sopenharmony_ci	psymodel.h \
74159b3361Sopenharmony_ci	quantize.h  \
75159b3361Sopenharmony_ci	quantize_pvt.h \
76159b3361Sopenharmony_ci	reservoir.h \
77159b3361Sopenharmony_ci	set_get.h \
78159b3361Sopenharmony_ci	tables.h \
79159b3361Sopenharmony_ci	util.h \
80159b3361Sopenharmony_ci	vbrquantize.h \
81159b3361Sopenharmony_ci	version.h
82159b3361Sopenharmony_ci
83159b3361Sopenharmony_ciCLEANFILES = lclint.txt
84159b3361Sopenharmony_ci
85159b3361Sopenharmony_ciLCLINTFLAGS= \
86159b3361Sopenharmony_ci	+posixlib \
87159b3361Sopenharmony_ci	+showsummary \
88159b3361Sopenharmony_ci	+showalluses \
89159b3361Sopenharmony_ci	+whichlib \
90159b3361Sopenharmony_ci	+forcehints \
91159b3361Sopenharmony_ci	-fixedformalarray \
92159b3361Sopenharmony_ci	+matchanyintegral \
93159b3361Sopenharmony_ci	-Dlint
94159b3361Sopenharmony_ci
95159b3361Sopenharmony_cilclint.txt: ${libmp3lame_la_SOURCES} ${noinst_HEADERS}
96159b3361Sopenharmony_ci	@lclint ${LCLINTFLAGS} ${INCLUDES} ${DEFS} ${libmp3lame_la_SOURCES} 2>&1 >lclint.txt || true
97159b3361Sopenharmony_ci
98159b3361Sopenharmony_cilclint: lclint.txt
99159b3361Sopenharmony_ci	more lclint.txt
100159b3361Sopenharmony_ci
101159b3361Sopenharmony_ci#$(OBJECTS): libtool
102159b3361Sopenharmony_ci#libtool: $(LIBTOOL_DEPS)
103159b3361Sopenharmony_ci#	$(SHELL) $(top_builddir)/config.status --recheck
104