Updates to Tomato RAF including NGINX && PHP
[tomato.git] / release / src / router / libvorbis / lib / Makefile.am
blob50f7ea4f293e79bfab4a5f8bb307a8f24435686c
1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = modes books
5 INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
7 lib_LTLIBRARIES = libvorbis.la libvorbisfile.la libvorbisenc.la
9 libvorbis_la_SOURCES = mdct.c smallft.c block.c envelope.c window.c lsp.c \
10                         lpc.c analysis.c synthesis.c psy.c info.c \
11                         floor1.c floor0.c\
12                         res0.c mapping0.c registry.c codebook.c sharedbook.c\
13                         lookup.c bitrate.c\
14                         envelope.h lpc.h lsp.h codebook.h misc.h psy.h\
15                         masking.h os.h mdct.h smallft.h highlevel.h\
16                         registry.h scales.h window.h lookup.h lookup_data.h\
17                         codec_internal.h backends.h bitrate.h 
18 libvorbis_la_LDFLAGS = -no-undefined -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
19 libvorbis_la_LIBADD = @VORBIS_LIBS@ @OGG_LIBS@
21 libvorbisfile_la_SOURCES = vorbisfile.c
22 libvorbisfile_la_LDFLAGS = -no-undefined -version-info @VF_LIB_CURRENT@:@VF_LIB_REVISION@:@VF_LIB_AGE@
23 libvorbisfile_la_LIBADD = libvorbis.la @OGG_LIBS@
25 libvorbisenc_la_SOURCES = vorbisenc.c 
26 libvorbisenc_la_LDFLAGS = -no-undefined -version-info @VE_LIB_CURRENT@:@VE_LIB_REVISION@:@VE_LIB_AGE@
27 libvorbisenc_la_LIBADD = libvorbis.la @OGG_LIBS@
29 EXTRA_PROGRAMS = barkmel tone psytune
30 CLEANFILES = $(EXTRA_PROGRAMS)
32 barkmel_SOURCES = barkmel.c
33 tone_SOURCES = tone.c
34 psytune_SOURCES = psytune.c
35 psytune_LDFLAGS = -static
36 psytune_LDADD = libvorbis.la
38 EXTRA_DIST = lookups.pl 
40 # build and run the self tests on 'make check'
42 #vorbis_selftests = test_codebook test_sharedbook
43 vorbis_selftests = test_sharedbook
45 noinst_PROGRAMS = $(vorbis_selftests)
47 check: $(noinst_PROGRAMS)
48         ./test_sharedbook$(EXEEXT)
50 #test_codebook_SOURCES = codebook.c
51 #test_codebook_CFLAGS = -D_V_SELFTEST
53 test_sharedbook_SOURCES = sharedbook.c
54 test_sharedbook_CFLAGS = -D_V_SELFTEST
55 test_sharedbook_LDADD = @VORBIS_LIBS@
57 # recurse for alternate targets
59 debug:
60         $(MAKE) all CFLAGS="@DEBUG@"
62 profile:
63         $(MAKE) all CFLAGS="@PROFILE@"