Home | History | Annotate | Download | only in lib
      1 ## Process this file with automake to produce Makefile.in
      2 
      3 SUBDIRS = modes books
      4 
      5 INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
      6 
      7 lib_LTLIBRARIES = libvorbis.la libvorbisfile.la libvorbisenc.la
      8 
      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@
     20 
     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@
     24 
     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@
     28 
     29 EXTRA_PROGRAMS = barkmel tone psytune
     30 CLEANFILES = $(EXTRA_PROGRAMS)
     31 
     32 barkmel_SOURCES = barkmel.c
     33 tone_SOURCES = tone.c
     34 psytune_SOURCES = psytune.c
     35 psytune_LDFLAGS = -static
     36 psytune_LDADD = libvorbis.la
     37 
     38 EXTRA_DIST = lookups.pl 
     39 
     40 # build and run the self tests on 'make check'
     41 
     42 #vorbis_selftests = test_codebook test_sharedbook
     43 vorbis_selftests = test_sharedbook
     44 
     45 noinst_PROGRAMS = $(vorbis_selftests)
     46 
     47 check: $(noinst_PROGRAMS)
     48 	./test_sharedbook$(EXEEXT)
     49 
     50 #test_codebook_SOURCES = codebook.c
     51 #test_codebook_CFLAGS = -D_V_SELFTEST
     52 
     53 test_sharedbook_SOURCES = sharedbook.c
     54 test_sharedbook_CFLAGS = -D_V_SELFTEST
     55 test_sharedbook_LDADD = @VORBIS_LIBS@
     56 
     57 # recurse for alternate targets
     58 
     59 debug:
     60 	$(MAKE) all CFLAGS="@DEBUG@"
     61 
     62 profile:
     63 	$(MAKE) all CFLAGS="@PROFILE@"
     64