made vq for new build system
[platform/upstream/libvorbis.git] / vq / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS = foreign
4
5 INCLUDES = -I../lib -I$(top_srcdir)/include @OGG_CFLAGS@
6
7 EXTRA_PROGRAMS = lspvqtrain genericvqtrain residuevqtrain vqbuild\
8         vqcascade vqmetrics latticebuild latticepare latticehint\
9         latticetune huffbuild residuesplit
10 CLEANFILES = $(EXTRA_PROGRAMS)
11
12 LDFLAGS = -static
13 LDADD = ../lib/libvorbis.la
14
15 lspvqtrain_SOURCES = lspdata.c train.c vqgen.c bookutil.c\
16          vqgen.h bookutil.h vqext.h
17 genericvqtrain_SOURCES = genericdata.c train.c vqgen.c bookutil.c\
18         vqgen.h bookutil.h vqext.h
19 residuevqtrain_SOURCES = residuedata.c train.c vqgen.c bookutil.c\
20         vqgen.h bookutil.h vqext.h
21 vqbuild_SOURCES = build.c vqgen.c bookutil.c vqsplit.c\
22         vqgen.h bookutil.h vqext.h
23 vqcascade_SOURCES = run.c cascade.c vqgen.c bookutil.c\
24         vqgen.h bookutil.h
25 vqmetrics_SOURCES = run.c metrics.c vqgen.c bookutil.c\
26         vqgen.h bookutil.h
27 latticebuild_SOURCES = latticebuild.c vqgen.c bookutil.c\
28         vqgen.h bookutil.h
29 latticepare_SOURCES = latticepare.c vqgen.c bookutil.c vqsplit.c\
30         vqgen.h bookutil.h
31 latticehint_SOURCES = latticehint.c bookutil.c\
32         bookutil.h
33 latticetune_SOURCES = latticetune.c vqgen.c bookutil.c\
34         vqgen.h bookutil.h
35 huffbuild_SOURCES = huffbuild.c vqgen.c bookutil.c\
36         vqgen.h bookutil.h
37 residuesplit_SOURCES = residuesplit.c vqgen.c bookutil.c\
38         vqgen.h bookutil.h
39
40 EXTRA_DIST = residue_entropy auxpartition.pl
41
42 debug:
43         $(MAKE) all CFLAGS="@DEBUG@"
44
45 profile:
46         $(MAKE) all CFLAGS="@PROFILE@"