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