1# Makefile.in generated by automake 1.9.6 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005  Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# ====================================================================
18# Copyright (c) 2004 Carnegie Mellon University.  All rights reserved.
19#
20# Redistribution and use in source and binary forms, with or without
21# modification, are permitted provided that the following conditions
22# are met:
23#
24# 1. Redistributions of source code must retain the above copyright
25#    notice, this list of conditions and the following disclaimer.
26#
27# 2. Redistributions in binary form must reproduce the above copyright
28#    notice, this list of conditions and the following disclaimer in
29#    the documentation and/or other materials provided with the
30#    distribution.
31#
32# This work was supported in part by funding from the Defense Advanced
33# Research Projects Agency and the National Science Foundation of the
34# United States of America, and the CMU Sphinx Speech Consortium.
35#
36# THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND
37# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
38# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
39# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY
40# NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
41# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
42# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
43# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
44# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
45# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
46# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
47#
48# ====================================================================
49#
50#  Sphinx III
51#
52# ====================================================================
53srcdir = @srcdir@
54top_srcdir = @top_srcdir@
55VPATH = @srcdir@
56pkgdatadir = $(datadir)/@PACKAGE@
57pkglibdir = $(libdir)/@PACKAGE@
58pkgincludedir = $(includedir)/@PACKAGE@
59top_builddir = ../../../..
60am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
61INSTALL = @INSTALL@
62install_sh_DATA = $(install_sh) -c -m 644
63install_sh_PROGRAM = $(install_sh) -c
64install_sh_SCRIPT = $(install_sh) -c
65INSTALL_HEADER = $(INSTALL_DATA)
66transform = $(program_transform_name)
67NORMAL_INSTALL = :
68PRE_INSTALL = :
69POST_INSTALL = :
70NORMAL_UNINSTALL = :
71PRE_UNINSTALL = :
72POST_UNINSTALL = :
73build_triplet = @build@
74host_triplet = @host@
75subdir = src/tests/performance/ti46
76DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
77ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
78am__aclocal_m4_deps = $(top_srcdir)/configure.in
79am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
80	$(ACLOCAL_M4)
81mkinstalldirs = $(install_sh) -d
82CONFIG_CLEAN_FILES =
83SOURCES =
84DIST_SOURCES =
85DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
86ACLOCAL = @ACLOCAL@
87AMDEP_FALSE = @AMDEP_FALSE@
88AMDEP_TRUE = @AMDEP_TRUE@
89AMTAR = @AMTAR@
90AR = @AR@
91AUTOCONF = @AUTOCONF@
92AUTOHEADER = @AUTOHEADER@
93AUTOMAKE = @AUTOMAKE@
94AWK = @AWK@
95CC = @CC@
96CCDEPMODE = @CCDEPMODE@
97CFLAGS = @CFLAGS@
98CPP = @CPP@
99CPPFLAGS = @CPPFLAGS@
100CSH = @CSH@
101CXX = @CXX@
102CXXCPP = @CXXCPP@
103CXXDEPMODE = @CXXDEPMODE@
104CXXFLAGS = @CXXFLAGS@
105CYGPATH_W = @CYGPATH_W@
106DEFS = @DEFS@
107DEPDIR = @DEPDIR@
108DSYMUTIL = @DSYMUTIL@
109ECHO = @ECHO@
110ECHO_C = @ECHO_C@
111ECHO_N = @ECHO_N@
112ECHO_T = @ECHO_T@
113EGREP = @EGREP@
114EXEEXT = @EXEEXT@
115F77 = @F77@
116FFLAGS = @FFLAGS@
117GREP = @GREP@
118INSTALL_DATA = @INSTALL_DATA@
119INSTALL_PROGRAM = @INSTALL_PROGRAM@
120INSTALL_SCRIPT = @INSTALL_SCRIPT@
121INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
122LDFLAGS = @LDFLAGS@
123LIBOBJS = @LIBOBJS@
124LIBS = @LIBS@
125LIBTOOL = @LIBTOOL@
126LN_S = @LN_S@
127LTLIBOBJS = @LTLIBOBJS@
128MAKEINFO = @MAKEINFO@
129NMEDIT = @NMEDIT@
130OBJEXT = @OBJEXT@
131PACKAGE = @PACKAGE@
132PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
133PACKAGE_NAME = @PACKAGE_NAME@
134PACKAGE_STRING = @PACKAGE_STRING@
135PACKAGE_TARNAME = @PACKAGE_TARNAME@
136PACKAGE_VERSION = @PACKAGE_VERSION@
137PATH_SEPARATOR = @PATH_SEPARATOR@
138PERL = @PERL@
139RANLIB = @RANLIB@
140SED = @SED@
141SET_MAKE = @SET_MAKE@
142SHELL = @SHELL@
143STRIP = @STRIP@
144VERSION = @VERSION@
145ac_ct_CC = @ac_ct_CC@
146ac_ct_CXX = @ac_ct_CXX@
147ac_ct_F77 = @ac_ct_F77@
148ad_backend = @ad_backend@
149ad_files = @ad_files@
150ad_libs = @ad_libs@
151am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
152am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
153am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
154am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
155am__include = @am__include@
156am__leading_dot = @am__leading_dot@
157am__quote = @am__quote@
158am__tar = @am__tar@
159am__untar = @am__untar@
160bindir = @bindir@
161build = @build@
162build_alias = @build_alias@
163build_cpu = @build_cpu@
164build_os = @build_os@
165build_vendor = @build_vendor@
166datadir = @datadir@
167datarootdir = @datarootdir@
168docdata = @docdata@
169docdir = @docdir@
170dvidir = @dvidir@
171epdata = @epdata@
172exec_prefix = @exec_prefix@
173hmmdata = @hmmdata@
174host = @host@
175host_alias = @host_alias@
176host_cpu = @host_cpu@
177host_os = @host_os@
178host_vendor = @host_vendor@
179htmldir = @htmldir@
180includedir = @includedir@
181infodir = @infodir@
182install_sh = @install_sh@
183libdir = @libdir@
184libexecdir = @libexecdir@
185lmdata = @lmdata@
186localedir = @localedir@
187localstatedir = @localstatedir@
188mandir = @mandir@
189mkdir_p = @mkdir_p@
190oldincludedir = @oldincludedir@
191pdfdir = @pdfdir@
192prefix = @prefix@
193program_transform_name = @program_transform_name@
194psdir = @psdir@
195sbindir = @sbindir@
196sharedstatedir = @sharedstatedir@
197sphinxbase = @sphinxbase@
198sysconfdir = @sysconfdir@
199target_alias = @target_alias@
200tidigitsdata = @tidigitsdata@
201INCLUDES = -I$(top_srcdir) \
202       -I$(top_builddir)/include
203
204LDADD = $(top_builddir)/src/libs3decoder/libs3decoder.la \
205	$(top_builddir)/src/libs3audio/libs3audio.la \
206	$(top_builddir)/src/libutil/libs3util.la \
207	-lm @ad_libs@
208
209DATAPATH = /lab/speech/sphinx4/data/ti46/ti20/test/test/
210TI46RAWPATH = $(DATAPATH)/raw16k
211TI46CEPPATH = $(DATAPATH)/cepstra
212TI46RESULTPATH = ${top_builddir}/src/tests/performance/ti46/
213PROGRAMDIR = ${top_builddir}/src/programs
214BMBIN = ${top_builddir}/src/test/programs/batchmetrics
215LPBIN = $(PROGRAMDIR)/sphinx3_livepretend
216DECODEBIN = $(PROGRAMDIR)/sphinx3_decode
217DECANYBIN = $(PROGRAMDIR)/sphinx3_decode_anytopo
218# Add
219# "/afs/cs.cmu.edu/user/robust/archive/third_party_packages/NIST_scoring_tools/sctk-1.2c/linux/bin"
220# to your path if you have alinux machine
221ALIGNBIN = sclite -i wsj -o sum rsum -f 0
222ALLTARGET = ti46-lp ti46-quick-lp ti46-decode ti46-quick-decode
223CLEANFILES = *.ctl *.sent  *.lex *.results *.match *.match.* ARGS.ti46-*
224all: all-am
225
226.SUFFIXES:
227$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
228	@for dep in $?; do \
229	  case '$(am__configure_deps)' in \
230	    *$$dep*) \
231	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
232		&& exit 0; \
233	      exit 1;; \
234	  esac; \
235	done; \
236	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/tests/performance/ti46/Makefile'; \
237	cd $(top_srcdir) && \
238	  $(AUTOMAKE) --gnu  src/tests/performance/ti46/Makefile
239.PRECIOUS: Makefile
240Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
241	@case '$?' in \
242	  *config.status*) \
243	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
244	  *) \
245	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
246	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
247	esac;
248
249$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
250	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
251
252$(top_srcdir)/configure:  $(am__configure_deps)
253	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
254$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
255	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
256
257mostlyclean-libtool:
258	-rm -f *.lo
259
260clean-libtool:
261	-rm -rf .libs _libs
262
263distclean-libtool:
264	-rm -f libtool
265uninstall-info-am:
266tags: TAGS
267TAGS:
268
269ctags: CTAGS
270CTAGS:
271
272
273distdir: $(DISTFILES)
274	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
275	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
276	list='$(DISTFILES)'; for file in $$list; do \
277	  case $$file in \
278	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
279	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
280	  esac; \
281	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
282	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
283	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
284	    dir="/$$dir"; \
285	    $(mkdir_p) "$(distdir)$$dir"; \
286	  else \
287	    dir=''; \
288	  fi; \
289	  if test -d $$d/$$file; then \
290	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
291	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
292	    fi; \
293	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
294	  else \
295	    test -f $(distdir)/$$file \
296	    || cp -p $$d/$$file $(distdir)/$$file \
297	    || exit 1; \
298	  fi; \
299	done
300check-am: all-am
301check: check-am
302all-am: Makefile
303installdirs:
304install: install-am
305install-exec: install-exec-am
306install-data: install-data-am
307uninstall: uninstall-am
308
309install-am: all-am
310	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
311
312installcheck: installcheck-am
313install-strip:
314	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
315	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
316	  `test -z '$(STRIP)' || \
317	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
318mostlyclean-generic:
319
320clean-generic:
321	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
322
323distclean-generic:
324	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
325
326maintainer-clean-generic:
327	@echo "This command is intended for maintainers to use"
328	@echo "it deletes files that may require special tools to rebuild."
329clean: clean-am
330
331clean-am: clean-generic clean-libtool mostlyclean-am
332
333distclean: distclean-am
334	-rm -f Makefile
335distclean-am: clean-am distclean-generic distclean-libtool
336
337dvi: dvi-am
338
339dvi-am:
340
341html: html-am
342
343info: info-am
344
345info-am:
346
347install-data-am:
348
349install-exec-am:
350
351install-info: install-info-am
352
353install-man:
354
355installcheck-am:
356
357maintainer-clean: maintainer-clean-am
358	-rm -f Makefile
359maintainer-clean-am: distclean-am maintainer-clean-generic
360
361mostlyclean: mostlyclean-am
362
363mostlyclean-am: mostlyclean-generic mostlyclean-libtool
364
365pdf: pdf-am
366
367pdf-am:
368
369ps: ps-am
370
371ps-am:
372
373uninstall-am: uninstall-info-am
374
375.PHONY: all all-am check check-am clean clean-generic clean-libtool \
376	distclean distclean-generic distclean-libtool distdir dvi \
377	dvi-am html html-am info info-am install install-am \
378	install-data install-data-am install-exec install-exec-am \
379	install-info install-info-am install-man install-strip \
380	installcheck installcheck-am installdirs maintainer-clean \
381	maintainer-clean-generic mostlyclean mostlyclean-generic \
382	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
383	uninstall-info-am
384
385
386#legacy targets, For ti46, batchmetric doesn't work at all.
387#ti46-bm ti46-quick-bm:
388#	rm -f $@.results $@.ctl
389#	cat ARGS ARGS.live > ARGS.$@
390#	$(BMBIN) $(subst -bm,,$@).batch $(TI46RAWPATH) ARGS.$@ > $@.results 2>&1
391
392#all : $(ALLTARGET)
393quick : ti46-quick-lp ti46-quick-decode ti46-quick-decany
394slow : ti46-lp ti46-decode ti46-decany
395
396#Targets which we are actively using.
397ti46-lp ti46-quick-lp :
398	-rm -f $@.results $@.match $@.match.*
399	awk '{print $$1}' $(subst -lp,,$@).batch | sed "s/\.wav\.raw//" > ./$@.ctl
400	cat ARGS ARGS.live > ARGS.$@
401	echo "-hyp $@.match" >> ARGS.$@
402	echo "-rawext .wav.raw" >> ARGS.$@
403	$(LPBIN) ./$@.ctl $(TI46RAWPATH) ARGS.$@ > $@.results  2>&1
404	awk '{for(i=2;i<=NF;i++){printf("%s ",$$i)}; printf("(%s)\n",$$1)}' $(subst -lp,,$@).batch | sed "s/\.wav\.raw//" > $@.sent
405	$(ALIGNBIN) -r $@.sent -h $@.match
406
407ti46-decode ti46-quick-decode:
408	-rm -f $@.results $@.match $@.match.*
409	awk '{print $$1}'  $(subst -decode,,$@).batch | sed "s/\.wav\.raw//" > ./$@.ctl
410	/bin/cp ARGS ARGS.$@
411	echo "-ctl $@.ctl" >> ARGS.$@
412	echo "-cepdir $(TI46CEPPATH)" >> ARGS.$@
413	echo "-hyp $@.match" >> ARGS.$@
414	$(DECODEBIN) ARGS.$@ > $@.results 2>&1
415	awk '{for(i=2;i<=NF;i++){printf("%s ",$$i)}; printf("(%s)\n",$$1)}' $(subst -decode,,$@).batch | sed "s/\.wav\.raw//" > $@.sent
416	$(ALIGNBIN) -r $@.sent -h $@.match
417
418ti46-decany ti46-quick-decany:
419	-rm -f $@.results $@.match $@.match.*
420	awk '{print $$1}'  $(subst -decany,,$@).batch | sed "s/\.wav\.raw//" > ./$@.ctl
421	/bin/cp ARGS.decany ARGS.$@
422	echo "-ctl $@.ctl" >> ARGS.$@
423	echo "-cepdir $(TI46CEPPATH)" >> ARGS.$@
424	echo "-hyp $@.match" >> ARGS.$@
425	$(DECANYBIN) ARGS.$@ > $@.results 2>&1
426	awk '{for(i=2;i<=NF;i++){printf("%s ",$$i)}; printf("(%s)\n",$$1)}' $(subst -decany,,$@).batch | sed "s/\.wav\.raw//" > $@.sent
427	$(ALIGNBIN) -r $@.sent -h $@.match
428# Tell versions [3.59,3.63) of GNU make to not export all variables.
429# Otherwise a system limit (for SysV at least) may be exceeded.
430.NOEXPORT:
431