Chris@1: ## Process this file with automake to produce Makefile.in Chris@1: Chris@1: SUBDIRS = modes books Chris@1: Chris@1: INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@ Chris@1: Chris@1: lib_LTLIBRARIES = libvorbis.la libvorbisfile.la libvorbisenc.la Chris@1: Chris@1: libvorbis_la_SOURCES = mdct.c smallft.c block.c envelope.c window.c lsp.c \ Chris@1: lpc.c analysis.c synthesis.c psy.c info.c \ Chris@1: floor1.c floor0.c\ Chris@1: res0.c mapping0.c registry.c codebook.c sharedbook.c\ Chris@1: lookup.c bitrate.c\ Chris@1: envelope.h lpc.h lsp.h codebook.h misc.h psy.h\ Chris@1: masking.h os.h mdct.h smallft.h highlevel.h\ Chris@1: registry.h scales.h window.h lookup.h lookup_data.h\ Chris@1: codec_internal.h backends.h bitrate.h Chris@1: libvorbis_la_LDFLAGS = -no-undefined -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@ Chris@1: libvorbis_la_LIBADD = @VORBIS_LIBS@ @OGG_LIBS@ Chris@1: Chris@1: libvorbisfile_la_SOURCES = vorbisfile.c Chris@1: libvorbisfile_la_LDFLAGS = -no-undefined -version-info @VF_LIB_CURRENT@:@VF_LIB_REVISION@:@VF_LIB_AGE@ Chris@1: libvorbisfile_la_LIBADD = libvorbis.la @OGG_LIBS@ Chris@1: Chris@1: libvorbisenc_la_SOURCES = vorbisenc.c Chris@1: libvorbisenc_la_LDFLAGS = -no-undefined -version-info @VE_LIB_CURRENT@:@VE_LIB_REVISION@:@VE_LIB_AGE@ Chris@1: libvorbisenc_la_LIBADD = libvorbis.la @OGG_LIBS@ Chris@1: Chris@1: EXTRA_PROGRAMS = barkmel tone psytune Chris@1: CLEANFILES = $(EXTRA_PROGRAMS) Chris@1: Chris@1: barkmel_SOURCES = barkmel.c Chris@1: tone_SOURCES = tone.c Chris@1: psytune_SOURCES = psytune.c Chris@1: psytune_LDFLAGS = -static Chris@1: psytune_LDADD = libvorbis.la Chris@1: Chris@1: EXTRA_DIST = lookups.pl Chris@1: Chris@1: # build and run the self tests on 'make check' Chris@1: Chris@1: #vorbis_selftests = test_codebook test_sharedbook Chris@1: vorbis_selftests = test_sharedbook Chris@1: Chris@1: noinst_PROGRAMS = $(vorbis_selftests) Chris@1: Chris@1: check: $(noinst_PROGRAMS) Chris@1: ./test_sharedbook$(EXEEXT) Chris@1: Chris@1: #test_codebook_SOURCES = codebook.c Chris@1: #test_codebook_CFLAGS = -D_V_SELFTEST Chris@1: Chris@1: test_sharedbook_SOURCES = sharedbook.c Chris@1: test_sharedbook_CFLAGS = -D_V_SELFTEST Chris@1: test_sharedbook_LDADD = @VORBIS_LIBS@ Chris@1: Chris@1: # recurse for alternate targets Chris@1: Chris@1: debug: Chris@1: $(MAKE) all CFLAGS="@DEBUG@" Chris@1: Chris@1: profile: Chris@1: $(MAKE) all CFLAGS="@PROFILE@"