Debian Codegraph @

libmp3lame/Makefile.am

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