1## Process this file with automake to produce Makefile.in
2
3INCLUDES = -I../lib -I$(top_srcdir)/include @OGG_CFLAGS@
4
5EXTRA_PROGRAMS = latticebuild latticepare latticehint\
6	latticetune huffbuild distribution
7CLEANFILES = $(EXTRA_PROGRAMS)
8
9AM_LDFLAGS = -static
10LDADD = ../lib/libvorbis.la
11
12latticebuild_SOURCES = latticebuild.c vqgen.c bookutil.c\
13	vqgen.h bookutil.h localcodebook.h
14latticepare_SOURCES = latticepare.c vqgen.c bookutil.c vqsplit.c\
15	vqgen.h vqsplit.h bookutil.h localcodebook.h
16latticehint_SOURCES = latticehint.c bookutil.c\
17	vqsplit.h bookutil.h localcodebook.h
18latticetune_SOURCES = latticetune.c vqgen.c bookutil.c\
19	vqgen.h bookutil.h localcodebook.h
20huffbuild_SOURCES = huffbuild.c vqgen.c bookutil.c\
21	vqgen.h bookutil.h localcodebook.h
22distribution_SOURCES = distribution.c bookutil.c\
23	bookutil.h localcodebook.h
24
25vqs_files = 16.vqs 16u.vqs 44c-1.vqs 44c0.vqs 44c1.vqs 44c2.vqs \
26	44c3.vqs 44c4.vqs 44c5.vqs 44c6.vqs 44c7.vqs 44c8.vqs 44c9.vqs \
27	44u0.vqs 44u1.vqs 44u2.vqs 44u3.vqs 44u4.vqs 44u5.vqs 44u6.vqs \
28	44u7.vqs 44u8.vqs 44u9.vqs 8.vqs 8u.vqs floor_11.vqs floor_22.vqs \
29	floor_44.vqs
30
31EXTRA_DIST = $(vqs_files) build.c cascade.c genericdata.c lspdata.c \
32	make_floor_books.pl make_residue_books.pl metrics.c residue_entropy \
33	residuedata.c residuesplit.c run.c train.c vqext.h auxpartition.pl
34
35debugvq:
36	$(MAKE) vq CFLAGS="@DEBUG@"
37
38profilevq:
39	$(MAKE) vq CFLAGS="@PROFILE@"
40
41vq: 
42	$(MAKE) $(EXTRA_PROGRAMS) 
43