• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## $Id$
2
3include $(top_srcdir)/Makefile.am.global
4
5SUBDIRS = i386 vector
6
7lib_LTLIBRARIES = libmp3lame.la
8
9if HAVE_NASM
10cpu_ldadd = $(top_builddir)/libmp3lame/@CPUTYPE@/liblameasmroutines.la
11endif
12if WITH_VECTOR
13vector_ldadd = $(top_builddir)/libmp3lame/vector/liblamevectorroutines.la
14endif
15
16if LIB_WITH_DECODER
17decoder_ldadd = $(top_builddir)/mpglib/libmpgdecoder.la
18else
19decoder_ldadd =
20endif
21
22libmp3lame_la_LIBADD =	$(cpu_ldadd) $(vector_ldadd) $(decoder_ldadd) \
23			@LIBMP3LAME_LDADD@ $(CONFIG_MATH_LIB)
24libmp3lame_la_LDFLAGS = -version-info @LIB_MAJOR_VERSION@:@LIB_MINOR_VERSION@ \
25			-export-symbols $(top_srcdir)/include/libmp3lame.sym \
26			-no-undefined
27
28INCLUDES = @INCLUDES@ -I$(top_srcdir) -I$(top_builddir)
29
30DEFS = @DEFS@ @CONFIG_DEFS@
31
32EXTRA_DIST = \
33	lame.rc \
34	vbrquantize.h \
35	logoe.ico
36
37libmp3lame_la_SOURCES = \
38        VbrTag.c \
39	bitstream.c \
40	encoder.c \
41	fft.c \
42	gain_analysis.c \
43        id3tag.c \
44        lame.c \
45        newmdct.c \
46	presets.c \
47	psymodel.c \
48	quantize.c \
49	quantize_pvt.c \
50	reservoir.c \
51	set_get.c \
52	tables.c \
53	takehiro.c \
54	util.c \
55	vbrquantize.c \
56	version.c \
57	mpglib_interface.c
58
59noinst_HEADERS= \
60	VbrTag.h \
61	VbrTagCrc.h \
62	bitstream.h \
63	encoder.h \
64	fft.h \
65	gain_analysis.h \
66	id3tag.h \
67	l3side.h \
68	lame-analysis.h \
69	lame_global_flags.h \
70	lameerror.h \
71	machine.h \
72	newmdct.h \
73	psymodel.h \
74	quantize.h  \
75	quantize_pvt.h \
76	reservoir.h \
77	set_get.h \
78	tables.h \
79	util.h \
80	vbrquantize.h \
81	version.h
82
83CLEANFILES = lclint.txt
84
85LCLINTFLAGS= \
86	+posixlib \
87	+showsummary \
88	+showalluses \
89	+whichlib \
90	+forcehints \
91	-fixedformalarray \
92	+matchanyintegral \
93	-Dlint
94
95lclint.txt: ${libmp3lame_la_SOURCES} ${noinst_HEADERS}
96	@lclint ${LCLINTFLAGS} ${INCLUDES} ${DEFS} ${libmp3lame_la_SOURCES} 2>&1 >lclint.txt || true
97
98lclint: lclint.txt
99	more lclint.txt
100
101#$(OBJECTS): libtool
102#libtool: $(LIBTOOL_DEPS)
103#	$(SHELL) $(top_builddir)/config.status --recheck
104