1## Process this file with automake to produce Makefile.in 2 3SUBDIRS = modes books 4 5INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@ 6 7lib_LTLIBRARIES = libvorbis.la libvorbisfile.la libvorbisenc.la 8 9libvorbis_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 18libvorbis_la_LDFLAGS = -no-undefined -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@ 19libvorbis_la_LIBADD = @VORBIS_LIBS@ @OGG_LIBS@ 20 21libvorbisfile_la_SOURCES = vorbisfile.c 22libvorbisfile_la_LDFLAGS = -no-undefined -version-info @VF_LIB_CURRENT@:@VF_LIB_REVISION@:@VF_LIB_AGE@ 23libvorbisfile_la_LIBADD = libvorbis.la @OGG_LIBS@ 24 25libvorbisenc_la_SOURCES = vorbisenc.c 26libvorbisenc_la_LDFLAGS = -no-undefined -version-info @VE_LIB_CURRENT@:@VE_LIB_REVISION@:@VE_LIB_AGE@ 27libvorbisenc_la_LIBADD = libvorbis.la @OGG_LIBS@ 28 29EXTRA_PROGRAMS = barkmel tone psytune 30CLEANFILES = $(EXTRA_PROGRAMS) 31 32barkmel_SOURCES = barkmel.c 33tone_SOURCES = tone.c 34psytune_SOURCES = psytune.c 35psytune_LDFLAGS = -static 36psytune_LDADD = libvorbis.la 37 38EXTRA_DIST = lookups.pl 39 40# build and run the self tests on 'make check' 41 42#vorbis_selftests = test_codebook test_sharedbook 43vorbis_selftests = test_sharedbook 44 45noinst_PROGRAMS = $(vorbis_selftests) 46 47check: $(noinst_PROGRAMS) 48 ./test_sharedbook$(EXEEXT) 49 50#test_codebook_SOURCES = codebook.c 51#test_codebook_CFLAGS = -D_V_SELFTEST 52 53test_sharedbook_SOURCES = sharedbook.c 54test_sharedbook_CFLAGS = -D_V_SELFTEST 55test_sharedbook_LDADD = @VORBIS_LIBS@ 56 57# recurse for alternate targets 58 59debug: 60 $(MAKE) all CFLAGS="@DEBUG@" 61 62profile: 63 $(MAKE) all CFLAGS="@PROFILE@" 64