1159b3361Sopenharmony_ci## $Id$
2159b3361Sopenharmony_ci
3159b3361Sopenharmony_ciinclude $(top_srcdir)/Makefile.am.global
4159b3361Sopenharmony_ci
5159b3361Sopenharmony_cibin_PROGRAMS = @WITH_FRONTEND@ @WITH_MP3RTP@ @WITH_MP3X@
6159b3361Sopenharmony_ciEXTRA_PROGRAMS = lame$(EXEEXT) mp3rtp$(EXEEXT) mp3x$(EXEEXT)
7159b3361Sopenharmony_ci
8159b3361Sopenharmony_ciEXTRA_DIST = \
9159b3361Sopenharmony_ci	amiga_mpega.c
10159b3361Sopenharmony_ci
11159b3361Sopenharmony_ciDEFS = @DEFS@ @CONFIG_DEFS@
12159b3361Sopenharmony_ci
13159b3361Sopenharmony_cicommon_sources = \
14159b3361Sopenharmony_ci	main.c \
15159b3361Sopenharmony_ci	brhist.c \
16159b3361Sopenharmony_ci	console.c \
17159b3361Sopenharmony_ci	get_audio.c \
18159b3361Sopenharmony_ci	lametime.c \
19159b3361Sopenharmony_ci	parse.c \
20159b3361Sopenharmony_ci	timestatus.c
21159b3361Sopenharmony_ci
22159b3361Sopenharmony_cinoinst_HEADERS = \
23159b3361Sopenharmony_ci	brhist.h \
24159b3361Sopenharmony_ci	console.h \
25159b3361Sopenharmony_ci	get_audio.h \
26159b3361Sopenharmony_ci	gtkanal.h \
27159b3361Sopenharmony_ci	gpkplotting.h \
28159b3361Sopenharmony_ci	lametime.h \
29159b3361Sopenharmony_ci	main.h \
30159b3361Sopenharmony_ci	parse.h \
31159b3361Sopenharmony_ci	rtp.h \
32159b3361Sopenharmony_ci	timestatus.h
33159b3361Sopenharmony_ci
34159b3361Sopenharmony_cilame_SOURCES = lame_main.c $(common_sources)
35159b3361Sopenharmony_cimp3rtp_SOURCES = mp3rtp.c rtp.c $(common_sources)
36159b3361Sopenharmony_cimp3x_SOURCES = mp3x.c gtkanal.c gpkplotting.c $(common_sources)
37159b3361Sopenharmony_ci
38159b3361Sopenharmony_ciCFLAGS = @CFLAGS@ @GTK_CFLAGS@ @FRONTEND_CFLAGS@ @SNDFILE_CFLAGS@
39159b3361Sopenharmony_ciLDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ @SNDFILE_LIBS@
40159b3361Sopenharmony_ci
41159b3361Sopenharmony_ciINCLUDES = @INCLUDES@ -I$(top_srcdir)/libmp3lame -I$(top_srcdir)/include \
42159b3361Sopenharmony_ci	-I$(top_srcdir) -I$(top_builddir)
43159b3361Sopenharmony_ci
44159b3361Sopenharmony_ciLDADD = @LDADD@ \
45159b3361Sopenharmony_ci	$(top_builddir)/libmp3lame/libmp3lame.la \
46159b3361Sopenharmony_ci	@FRONTEND_LDADD@
47159b3361Sopenharmony_ci
48159b3361Sopenharmony_cimp3x_LDADD = $(LDADD) @GTK_LIBS@
49159b3361Sopenharmony_ci
50159b3361Sopenharmony_ciCLEANFILES = lclint.txt $(EXTRA_PROGRAMS)
51159b3361Sopenharmony_ci
52159b3361Sopenharmony_ciLCLINTFLAGS= \
53159b3361Sopenharmony_ci	+posixlib \
54159b3361Sopenharmony_ci	+showsummary \
55159b3361Sopenharmony_ci	+showalluses \
56159b3361Sopenharmony_ci	+whichlib \
57159b3361Sopenharmony_ci	+forcehints \
58159b3361Sopenharmony_ci	-fixedformalarray \
59159b3361Sopenharmony_ci	+matchanyintegral \
60159b3361Sopenharmony_ci	-Dlint
61159b3361Sopenharmony_ci
62159b3361Sopenharmony_cilclint.txt: ${lame_SOURCES} ${noinst_HEADERS}
63159b3361Sopenharmony_ci	@lclint ${LCLINTFLAGS} ${INCLUDES} ${DEFS} ${lame_SOURCES} 2>&1 >lclint.txt || true
64159b3361Sopenharmony_ci
65159b3361Sopenharmony_cilclint: lclint.txt
66159b3361Sopenharmony_ci	more lclint.txt
67