-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
153 lines (134 loc) · 4.82 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# -----------------------------------------------------------
#
# ___
# |_| | |_/ SPEECH
# | | | | \ RECOGNITION
# ========= SOFTWARE
#
#
# -----------------------------------------------------------
# Copyright: Cambridge University
# 1995-2006 Engineering Department
# http://htk.eng.cam.ac.uk
# http://mi.eng.cam.ac.uk
#
# Use of this software is governed by a License Agreement
# ** See the file License for the Conditions of Use **
# ** This banner notice must not be removed **
#
# -----------------------------------------------------------
# File: Makefile. Generated from Makefile.in by configure.
# -----------------------------------------------------------
SHELL = /bin/sh
srcdir = .
top_srcdir = .
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/share/info
mandir = ${prefix}/share/man
includedir = ${prefix}/include
oldincludedir = /usr/include
CC = gcc
CPPFLAGS =
CFLAGS = $(CPPFLAGS) -ansi -g -O2 -DNO_AUDIO -D'ARCH="darwin"' -I/usr/include/malloc -Wall -Wno-switch -g -O2
LDFLAGS = -L/usr/X11R6/lib
LIBS = -lm
INSTALL = /usr/bin/install -c
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL}
transform = s,x,x,
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
HTKLIB = HTKLib
HLMLIB = HLMLib
HTKTOOLS = HTKTools
HLMTOOLS = HLMTools
LVREC = HTKLVRec
HTKBOOK = HTKBook
SUBDIRS = $(HTKLIB) $(HLMLIB) $(HTKTOOLS) $(HLMTOOLS) $(LVREC) $(BOOK)
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
DIST_COMMON = README ChangeLog Makefile.am \
Makefile.in aclocal.m4 configure configure.ac install-sh missing \
mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
GZIP_ENV = --best
.SUFFIXES:
# build rules
all: htktools hlmtools hdecode
$(HTKLIB)/HTKLib.a:
(cd $(HTKLIB) && $(MAKE) HTKLib.a) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
htklib: $(HTKLIB)/HTKLib.a
$(HTKLIB)/HTKLiblv.a:
(cd $(HTKLIB) && $(MAKE) HTKLiblv.a) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
htkliblv: $(HTKLIB)/HTKLiblv.a
$(HLMLIB)/HLMLib.a:
(cd $(HLMLIB) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
hlmlib: $(HLMLIB)/HLMLib.a
htktools: $(HTKLIB)/HTKLib.a
(cd $(HTKTOOLS) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
hlmtools: $(HLMLIB)/HLMLib.a
(cd $(HLMTOOLS) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
hdecode: $(HTKLIB)/HTKLiblv.a
(cd $(LVREC) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
book:
(cd $(HTKBOOK) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
# installation
install-htktools: htktools
(cd $(HTKTOOLS) && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
install-hlmtools: hlmtools
(cd $(HLMTOOLS) && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
install-hdecode:
(cd $(LVREC) && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
install-book: book
(cd $(HTKBOOK) && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
clean:
/bin/rm -f *~
@for dir in $(SUBDIRS); do \
(cd $$dir && $(MAKE) clean) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
distclean: clean
/bin/rm -f Makefile config.h config.status config.cache config.log
@for dir in $(SUBDIRS); do \
(cd $$dir && $(MAKE) distclean) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
install: install-htktools install-hlmtools install-hdecode
docs: book
.PHONY: all doc install clean distclean htklib-decode \
htktools hlmtools hdecode docs book \
install-htktools install-hlmtools install-hdecode install-book