1# Makefile.in generated by automake 1.16.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2018 Free Software Foundation, Inc.
5
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@
16VPATH = @srcdir@
17am__is_gnu_make = { \
18  if test -z '$(MAKELEVEL)'; then \
19    false; \
20  elif test -n '$(MAKE_HOST)'; then \
21    true; \
22  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23    true; \
24  else \
25    false; \
26  fi; \
27}
28am__make_running_with_option = \
29  case $${target_option-} in \
30      ?) ;; \
31      *) echo "am__make_running_with_option: internal error: invalid" \
32              "target option '$${target_option-}' specified" >&2; \
33         exit 1;; \
34  esac; \
35  has_opt=no; \
36  sane_makeflags=$$MAKEFLAGS; \
37  if $(am__is_gnu_make); then \
38    sane_makeflags=$$MFLAGS; \
39  else \
40    case $$MAKEFLAGS in \
41      *\\[\ \	]*) \
42        bs=\\; \
43        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
45    esac; \
46  fi; \
47  skip_next=no; \
48  strip_trailopt () \
49  { \
50    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51  }; \
52  for flg in $$sane_makeflags; do \
53    test $$skip_next = yes && { skip_next=no; continue; }; \
54    case $$flg in \
55      *=*|--*) continue;; \
56        -*I) strip_trailopt 'I'; skip_next=yes;; \
57      -*I?*) strip_trailopt 'I';; \
58        -*O) strip_trailopt 'O'; skip_next=yes;; \
59      -*O?*) strip_trailopt 'O';; \
60        -*l) strip_trailopt 'l'; skip_next=yes;; \
61      -*l?*) strip_trailopt 'l';; \
62      -[dEDm]) skip_next=yes;; \
63      -[JT]) skip_next=yes;; \
64    esac; \
65    case $$flg in \
66      *$$target_option*) has_opt=yes; break;; \
67    esac; \
68  done; \
69  test $$has_opt = yes
70am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72pkgdatadir = $(datadir)/@PACKAGE@
73pkgincludedir = $(includedir)/@PACKAGE@
74pkglibdir = $(libdir)/@PACKAGE@
75pkglibexecdir = $(libexecdir)/@PACKAGE@
76am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77install_sh_DATA = $(install_sh) -c -m 644
78install_sh_PROGRAM = $(install_sh) -c
79install_sh_SCRIPT = $(install_sh) -c
80INSTALL_HEADER = $(INSTALL_DATA)
81transform = $(program_transform_name)
82NORMAL_INSTALL = :
83PRE_INSTALL = :
84POST_INSTALL = :
85NORMAL_UNINSTALL = :
86PRE_UNINSTALL = :
87POST_UNINSTALL = :
88build_triplet = @build@
89host_triplet = @host@
90subdir = tests/XSLTMark
91ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92am__aclocal_m4_deps = $(top_srcdir)/configure.ac
93am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
94	$(ACLOCAL_M4)
95DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
96mkinstalldirs = $(install_sh) -d
97CONFIG_HEADER = $(top_builddir)/config.h
98CONFIG_CLEAN_FILES =
99CONFIG_CLEAN_VPATH_FILES =
100AM_V_P = $(am__v_P_@AM_V@)
101am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
102am__v_P_0 = false
103am__v_P_1 = :
104AM_V_GEN = $(am__v_GEN_@AM_V@)
105am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
106am__v_GEN_0 = @echo "  GEN     " $@;
107am__v_GEN_1 =
108AM_V_at = $(am__v_at_@AM_V@)
109am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
110am__v_at_0 = @
111am__v_at_1 =
112SOURCES =
113DIST_SOURCES =
114am__can_run_installinfo = \
115  case $$AM_UPDATE_INFO_DIR in \
116    n|no|NO) false;; \
117    *) (install-info --version) >/dev/null 2>&1;; \
118  esac
119am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
120am__DIST_COMMON = $(srcdir)/Makefile.in
121DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
122ACLOCAL = @ACLOCAL@
123AMTAR = @AMTAR@
124AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
125AR = @AR@
126AS = @AS@
127AUTOCONF = @AUTOCONF@
128AUTOHEADER = @AUTOHEADER@
129AUTOMAKE = @AUTOMAKE@
130AWK = @AWK@
131CC = @CC@
132CCDEPMODE = @CCDEPMODE@
133CFLAGS = @CFLAGS@
134CPP = @CPP@
135CPPFLAGS = @CPPFLAGS@
136CRYPTO_TESTDIR = @CRYPTO_TESTDIR@
137CYGPATH_W = @CYGPATH_W@
138DEFS = @DEFS@
139DEPDIR = @DEPDIR@
140DLLTOOL = @DLLTOOL@
141DSYMUTIL = @DSYMUTIL@
142DUMPBIN = @DUMPBIN@
143ECHO_C = @ECHO_C@
144ECHO_N = @ECHO_N@
145ECHO_T = @ECHO_T@
146EGREP = @EGREP@
147EXEEXT = @EXEEXT@
148EXSLT_INCLUDEDIR = @EXSLT_INCLUDEDIR@
149EXSLT_LIBDIR = @EXSLT_LIBDIR@
150EXSLT_LIBS = @EXSLT_LIBS@
151EXSLT_PRIVATE_LIBS = @EXSLT_PRIVATE_LIBS@
152EXTRA_LIBS = @EXTRA_LIBS@
153FGREP = @FGREP@
154GREP = @GREP@
155HTML_DIR = @HTML_DIR@
156INSTALL = @INSTALL@
157INSTALL_DATA = @INSTALL_DATA@
158INSTALL_PROGRAM = @INSTALL_PROGRAM@
159INSTALL_SCRIPT = @INSTALL_SCRIPT@
160INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
161LD = @LD@
162LDFLAGS = @LDFLAGS@
163LIBEXSLT_MAJOR_VERSION = @LIBEXSLT_MAJOR_VERSION@
164LIBEXSLT_MICRO_VERSION = @LIBEXSLT_MICRO_VERSION@
165LIBEXSLT_MINOR_VERSION = @LIBEXSLT_MINOR_VERSION@
166LIBEXSLT_VERSION = @LIBEXSLT_VERSION@
167LIBEXSLT_VERSION_EXTRA = @LIBEXSLT_VERSION_EXTRA@
168LIBEXSLT_VERSION_INFO = @LIBEXSLT_VERSION_INFO@
169LIBEXSLT_VERSION_NUMBER = @LIBEXSLT_VERSION_NUMBER@
170LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@
171LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@
172LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@
173LIBOBJS = @LIBOBJS@
174LIBS = @LIBS@
175LIBTOOL = @LIBTOOL@
176LIBXML_CFLAGS = @LIBXML_CFLAGS@
177LIBXML_LIBS = @LIBXML_LIBS@
178LIBXML_REQUIRED_VERSION = @LIBXML_REQUIRED_VERSION@
179LIBXML_SRC = @LIBXML_SRC@
180LIBXSLT_DEFAULT_PLUGINS_PATH = @LIBXSLT_DEFAULT_PLUGINS_PATH@
181LIBXSLT_MAJOR_MINOR_VERSION = @LIBXSLT_MAJOR_MINOR_VERSION@
182LIBXSLT_MAJOR_VERSION = @LIBXSLT_MAJOR_VERSION@
183LIBXSLT_MICRO_VERSION = @LIBXSLT_MICRO_VERSION@
184LIBXSLT_MINOR_VERSION = @LIBXSLT_MINOR_VERSION@
185LIBXSLT_VERSION = @LIBXSLT_VERSION@
186LIBXSLT_VERSION_EXTRA = @LIBXSLT_VERSION_EXTRA@
187LIBXSLT_VERSION_INFO = @LIBXSLT_VERSION_INFO@
188LIBXSLT_VERSION_NUMBER = @LIBXSLT_VERSION_NUMBER@
189LIPO = @LIPO@
190LN_S = @LN_S@
191LTLIBOBJS = @LTLIBOBJS@
192LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
193MAKEINFO = @MAKEINFO@
194MANIFEST_TOOL = @MANIFEST_TOOL@
195MKDIR_P = @MKDIR_P@
196M_LIBS = @M_LIBS@
197NM = @NM@
198NMEDIT = @NMEDIT@
199OBJDUMP = @OBJDUMP@
200OBJEXT = @OBJEXT@
201OTOOL = @OTOOL@
202OTOOL64 = @OTOOL64@
203PACKAGE = @PACKAGE@
204PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
205PACKAGE_NAME = @PACKAGE_NAME@
206PACKAGE_STRING = @PACKAGE_STRING@
207PACKAGE_TARNAME = @PACKAGE_TARNAME@
208PACKAGE_URL = @PACKAGE_URL@
209PACKAGE_VERSION = @PACKAGE_VERSION@
210PATH_SEPARATOR = @PATH_SEPARATOR@
211PERL = @PERL@
212PKG_CONFIG = @PKG_CONFIG@
213PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
214PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
215PYTHON = @PYTHON@
216PYTHONSODV = @PYTHONSODV@
217PYTHON_INCLUDES = @PYTHON_INCLUDES@
218PYTHON_LIBS = @PYTHON_LIBS@
219PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@
220PYTHON_SUBDIR = @PYTHON_SUBDIR@
221PYTHON_VERSION = @PYTHON_VERSION@
222RANLIB = @RANLIB@
223RELDATE = @RELDATE@
224SED = @SED@
225SET_MAKE = @SET_MAKE@
226SHELL = @SHELL@
227STRIP = @STRIP@
228THREAD_LIBS = @THREAD_LIBS@
229VERSION = @VERSION@
230VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@
231WITH_CRYPTO = @WITH_CRYPTO@
232WITH_DEBUGGER = @WITH_DEBUGGER@
233WITH_MEM_DEBUG = @WITH_MEM_DEBUG@
234WITH_MODULES = @WITH_MODULES@
235WITH_PROFILER = @WITH_PROFILER@
236WITH_TRIO = @WITH_TRIO@
237WITH_XSLT_DEBUG = @WITH_XSLT_DEBUG@
238XMLLINT = @XMLLINT@
239XML_CONFIG = @XML_CONFIG@
240XSLTPROC = @XSLTPROC@
241XSLTPROCDV = @XSLTPROCDV@
242XSLT_INCLUDEDIR = @XSLT_INCLUDEDIR@
243XSLT_LIBDIR = @XSLT_LIBDIR@
244XSLT_LIBS = @XSLT_LIBS@
245XSLT_PRIVATE_LIBS = @XSLT_PRIVATE_LIBS@
246abs_builddir = @abs_builddir@
247abs_srcdir = @abs_srcdir@
248abs_top_builddir = @abs_top_builddir@
249abs_top_srcdir = @abs_top_srcdir@
250ac_ct_AR = @ac_ct_AR@
251ac_ct_CC = @ac_ct_CC@
252ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
253am__include = @am__include@
254am__leading_dot = @am__leading_dot@
255am__quote = @am__quote@
256am__tar = @am__tar@
257am__untar = @am__untar@
258bindir = @bindir@
259build = @build@
260build_alias = @build_alias@
261build_cpu = @build_cpu@
262build_os = @build_os@
263build_vendor = @build_vendor@
264builddir = @builddir@
265datadir = @datadir@
266datarootdir = @datarootdir@
267docdir = @docdir@
268dvidir = @dvidir@
269exec_prefix = @exec_prefix@
270host = @host@
271host_alias = @host_alias@
272host_cpu = @host_cpu@
273host_os = @host_os@
274host_vendor = @host_vendor@
275htmldir = @htmldir@
276includedir = @includedir@
277infodir = @infodir@
278install_sh = @install_sh@
279libdir = @libdir@
280libexecdir = @libexecdir@
281localedir = @localedir@
282localstatedir = @localstatedir@
283mandir = @mandir@
284mkdir_p = @mkdir_p@
285oldincludedir = @oldincludedir@
286pdfdir = @pdfdir@
287prefix = @prefix@
288program_transform_name = @program_transform_name@
289psdir = @psdir@
290pythondir = @pythondir@
291sbindir = @sbindir@
292sharedstatedir = @sharedstatedir@
293srcdir = @srcdir@
294sysconfdir = @sysconfdir@
295target_alias = @target_alias@
296top_build_prefix = @top_build_prefix@
297top_builddir = @top_builddir@
298top_srcdir = @top_srcdir@
299EXTRA_DIST = \
300  dbgen.pl \
301  alphabetize.out alphabetize.ref alphabetize.xsl \
302  attsets.out attsets.ref attsets.xsl \
303  avts.out avts.ref avts.xsl \
304  axis.out axis.ref axis.xml axis.xsl \
305  backwards.out backwards.ref backwards.xsl \
306  bottles.out bottles.ref bottles.xml bottles.xsl \
307  breadth.out breadth.ref breadth.xml \
308  brutal.out brutal.ref brutal.xml brutal.xsl \
309  chart.out chart.ref chart.xml chart.xsl \
310  creation.out creation.ref creation.xsl \
311  current.out current.ref current.xml current.xsl \
312  dbonerow.out dbonerow.ref dbonerow.xsl \
313  dbtail.out dbtail.ref dbtail.xsl \
314  decoy.out decoy.xsl \
315  depth.out depth.ref depth.xml \
316  encrypt.out encrypt.ref encrypt.xsl \
317  find.xsl \
318  functions.out functions.ref functions.xsl \
319  game.out game.ref game.xml game.xsl \
320  gettysburg.xml \
321  html.out html.ref html.xml html.xsl \
322  identity.out identity.ref identity.xml identity.xsl \
323  inventory.out inventory.ref inventory.xml inventory.xsl \
324  metric.out metric.ref metric.xml metric.xsl \
325  number.out number.xml number.xsl \
326  oddtemplate.out oddtemplate.ref oddtemplate.xml oddtemplate.xsl \
327  patterns.out patterns.ref patterns.xsl \
328  prettyprint.out prettyprint.ref prettyprint.xsl \
329  priority.out priority.ref priority.xml priority.xsl \
330  products.out products.ref products.xml products.xsl \
331  queens.out queens.ref queens.xml queens.xsl \
332  reverser.out reverser.ref reverser.xsl \
333  stringsort.out stringsort.ref stringsort.xsl \
334  summarize.out summarize.ref summarize.xsl \
335  total.out total.ref total.xsl \
336  tower.out tower.ref tower.xml tower.xsl tower2.xsl \
337  trend.out trend.ref trend.xml trend.xsl \
338  union.out union.ref union.xml union.xsl \
339  xpath.out xpath.ref xpath.xml xpath.xsl \
340  xslbench1.out xslbench1.xml xslbench1.xsl \
341  xslbench2.out xslbench2.xsl \
342  xslbench3.out xslbench3.xsl \
343  xslbenchdream.xml
344
345ALL_TESTS = alphabetize attsets avts axis backwards bottles breadth brutal chart \
346  creation current dbonerow dbtail decoy depth encrypt functions game \
347  html identity inventory metric number oddtemplate patterns prettyprint \
348  priority products queens reverser stringsort summarize total tower trend \
349  union xpath xslbench1 xslbench2 xslbench3
350
351xsltproc = $(top_builddir)/xsltproc/xsltproc
352CLEANFILES = *.tmp *~ .memdump core db100.xml db1000.xml db10000.xml
353all: all-am
354
355.SUFFIXES:
356$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
357	@for dep in $?; do \
358	  case '$(am__configure_deps)' in \
359	    *$$dep*) \
360	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
361	        && { if test -f $@; then exit 0; else break; fi; }; \
362	      exit 1;; \
363	  esac; \
364	done; \
365	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/XSLTMark/Makefile'; \
366	$(am__cd) $(top_srcdir) && \
367	  $(AUTOMAKE) --foreign tests/XSLTMark/Makefile
368Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
369	@case '$?' in \
370	  *config.status*) \
371	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
372	  *) \
373	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
374	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
375	esac;
376
377$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
378	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
379
380$(top_srcdir)/configure:  $(am__configure_deps)
381	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
382$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
383	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
384$(am__aclocal_m4_deps):
385
386mostlyclean-libtool:
387	-rm -f *.lo
388
389clean-libtool:
390	-rm -rf .libs _libs
391tags TAGS:
392
393ctags CTAGS:
394
395cscope cscopelist:
396
397
398distdir: $(BUILT_SOURCES)
399	$(MAKE) $(AM_MAKEFLAGS) distdir-am
400
401distdir-am: $(DISTFILES)
402	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
403	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
404	list='$(DISTFILES)'; \
405	  dist_files=`for file in $$list; do echo $$file; done | \
406	  sed -e "s|^$$srcdirstrip/||;t" \
407	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
408	case $$dist_files in \
409	  */*) $(MKDIR_P) `echo "$$dist_files" | \
410			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
411			   sort -u` ;; \
412	esac; \
413	for file in $$dist_files; do \
414	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
415	  if test -d $$d/$$file; then \
416	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
417	    if test -d "$(distdir)/$$file"; then \
418	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
419	    fi; \
420	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
421	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
422	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
423	    fi; \
424	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
425	  else \
426	    test -f "$(distdir)/$$file" \
427	    || cp -p $$d/$$file "$(distdir)/$$file" \
428	    || exit 1; \
429	  fi; \
430	done
431check-am: all-am
432check: check-am
433all-am: Makefile
434installdirs:
435install: install-am
436install-exec: install-exec-am
437install-data: install-data-am
438uninstall: uninstall-am
439
440install-am: all-am
441	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
442
443installcheck: installcheck-am
444install-strip:
445	if test -z '$(STRIP)'; then \
446	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
447	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
448	      install; \
449	else \
450	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
451	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
452	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
453	fi
454mostlyclean-generic:
455
456clean-generic:
457	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
458
459distclean-generic:
460	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
461	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
462
463maintainer-clean-generic:
464	@echo "This command is intended for maintainers to use"
465	@echo "it deletes files that may require special tools to rebuild."
466clean: clean-am
467
468clean-am: clean-generic clean-libtool mostlyclean-am
469
470distclean: distclean-am
471	-rm -f Makefile
472distclean-am: clean-am distclean-generic
473
474dvi: dvi-am
475
476dvi-am:
477
478html-am:
479
480info: info-am
481
482info-am:
483
484install-data-am:
485
486install-dvi: install-dvi-am
487
488install-dvi-am:
489
490install-exec-am:
491
492install-html: install-html-am
493
494install-html-am:
495
496install-info: install-info-am
497
498install-info-am:
499
500install-man:
501
502install-pdf: install-pdf-am
503
504install-pdf-am:
505
506install-ps: install-ps-am
507
508install-ps-am:
509
510installcheck-am:
511
512maintainer-clean: maintainer-clean-am
513	-rm -f Makefile
514maintainer-clean-am: distclean-am maintainer-clean-generic
515
516mostlyclean: mostlyclean-am
517
518mostlyclean-am: mostlyclean-generic mostlyclean-libtool
519
520pdf: pdf-am
521
522pdf-am:
523
524ps: ps-am
525
526ps-am:
527
528uninstall-am:
529
530.MAKE: install-am install-strip
531
532.PHONY: all all-am check check-am clean clean-generic clean-libtool \
533	cscopelist-am ctags-am distclean distclean-generic \
534	distclean-libtool distdir dvi dvi-am html html-am info info-am \
535	install install-am install-data install-data-am install-dvi \
536	install-dvi-am install-exec install-exec-am install-html \
537	install-html-am install-info install-info-am install-man \
538	install-pdf install-pdf-am install-ps install-ps-am \
539	install-strip installcheck installcheck-am installdirs \
540	maintainer-clean maintainer-clean-generic mostlyclean \
541	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
542	tags-am uninstall uninstall-am
543
544.PRECIOUS: Makefile
545
546
547dummy $(ALL_TESTS:=.out):
548	$(MAKE) $(@:.out=)
549
550$(xsltproc):
551	cd ../../xsltproc && $(MAKE) xsltproc
552
553test tests:
554	@echo '## Running XSLTMark tests'
555	@$(MAKE) $(ALL_TESTS)
556
557valgrind:
558	@echo '## Running the regression tests under Valgrind'
559	$(MAKE) CHECKER='libtool --mode=execute valgrind -q --leak-check=full' tests
560
561@WITH_PERL_TRUE@db100.xml: $(srcdir)/dbgen.pl
562@WITH_PERL_TRUE@	$(PERL) $(srcdir)/dbgen.pl 100 > db100.xml
563
564@WITH_PERL_TRUE@db1000.xml: $(srcdir)/dbgen.pl
565@WITH_PERL_TRUE@	$(PERL) $(srcdir)/dbgen.pl 1000 > db1000.xml
566
567@WITH_PERL_TRUE@db10000.xml: $(srcdir)/dbgen.pl
568@WITH_PERL_TRUE@	$(PERL) $(srcdir)/dbgen.pl 10000 > db10000.xml
569
570@WITH_PERL_TRUE@alphabetize:	db100.xml $(xsltproc)
571@WITH_PERL_TRUE@	@(echo > .memdump)
572@WITH_PERL_TRUE@	@log=`$(CHECKER) $(xsltproc) \
573@WITH_PERL_TRUE@		$(srcdir)/$@.xsl $< > $@.tmp; \
574@WITH_PERL_TRUE@	  if [ ! -f $(srcdir)/$@.out ] ; then \
575@WITH_PERL_TRUE@		cp $@.tmp $(srcdir)/$@.out ; \
576@WITH_PERL_TRUE@	  else \
577@WITH_PERL_TRUE@		diff $(srcdir)/$@.out $@.tmp ; \
578@WITH_PERL_TRUE@	  fi ; \
579@WITH_PERL_TRUE@	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
580@WITH_PERL_TRUE@	@if [ -n "$$log" ] ; then \
581@WITH_PERL_TRUE@	  	echo $@ result ; \
582@WITH_PERL_TRUE@		echo "$$log" ; \
583@WITH_PERL_TRUE@	fi
584@WITH_PERL_TRUE@	@rm -f $@.tmp
585
586@WITH_PERL_TRUE@avts:			db100.xml $(xsltproc)
587@WITH_PERL_TRUE@	@(echo > .memdump)
588@WITH_PERL_TRUE@	@log=`$(CHECKER) $(xsltproc) \
589@WITH_PERL_TRUE@		$(srcdir)/$@.xsl $< > $@.tmp; \
590@WITH_PERL_TRUE@	  if [ ! -f $(srcdir)/$@.out ] ; then \
591@WITH_PERL_TRUE@		cp $@.tmp $(srcdir)/$@.out ; \
592@WITH_PERL_TRUE@	  else \
593@WITH_PERL_TRUE@		diff $(srcdir)/$@.out $@.tmp ; \
594@WITH_PERL_TRUE@	  fi ; \
595@WITH_PERL_TRUE@	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
596@WITH_PERL_TRUE@	@if [ -n "$$log" ] ; then \
597@WITH_PERL_TRUE@	  	echo $@ result ; \
598@WITH_PERL_TRUE@		echo "$$log" ; \
599@WITH_PERL_TRUE@	fi
600@WITH_PERL_TRUE@	@rm -f $@.tmp
601
602@WITH_PERL_TRUE@creation:		db100.xml $(xsltproc)
603@WITH_PERL_TRUE@	@(echo > .memdump)
604@WITH_PERL_TRUE@	@log=`$(CHECKER) $(xsltproc) \
605@WITH_PERL_TRUE@		$(srcdir)/$@.xsl $< > $@.tmp; \
606@WITH_PERL_TRUE@	  if [ ! -f $(srcdir)/$@.out ] ; then \
607@WITH_PERL_TRUE@		cp $@.tmp $(srcdir)/$@.out ; \
608@WITH_PERL_TRUE@	  else \
609@WITH_PERL_TRUE@		diff $(srcdir)/$@.out $@.tmp ; \
610@WITH_PERL_TRUE@	  fi ; \
611@WITH_PERL_TRUE@	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
612@WITH_PERL_TRUE@	@if [ -n "$$log" ] ; then \
613@WITH_PERL_TRUE@	  	echo $@ result ; \
614@WITH_PERL_TRUE@		echo "$$log" ; \
615@WITH_PERL_TRUE@	fi
616@WITH_PERL_TRUE@	@rm -f $@.tmp
617
618@WITH_PERL_TRUE@dbonerow:		db10000.xml $(xsltproc)
619@WITH_PERL_TRUE@	@(echo > .memdump)
620@WITH_PERL_TRUE@	@log=`$(CHECKER) $(xsltproc) \
621@WITH_PERL_TRUE@		$(srcdir)/$@.xsl $< > $@.tmp; \
622@WITH_PERL_TRUE@	  if [ ! -f $(srcdir)/$@.out ] ; then \
623@WITH_PERL_TRUE@		cp $@.tmp $(srcdir)/$@.out ; \
624@WITH_PERL_TRUE@	  else \
625@WITH_PERL_TRUE@		diff $(srcdir)/$@.out $@.tmp ; \
626@WITH_PERL_TRUE@	  fi ; \
627@WITH_PERL_TRUE@	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
628@WITH_PERL_TRUE@	@if [ -n "$$log" ] ; then \
629@WITH_PERL_TRUE@	  	echo $@ result ; \
630@WITH_PERL_TRUE@		echo "$$log" ; \
631@WITH_PERL_TRUE@	fi
632@WITH_PERL_TRUE@	@rm -f $@.tmp
633
634@WITH_PERL_TRUE@dbtail:		db100.xml $(xsltproc)
635@WITH_PERL_TRUE@	@(echo > .memdump)
636@WITH_PERL_TRUE@	@log=`$(CHECKER) $(xsltproc) \
637@WITH_PERL_TRUE@		$(srcdir)/$@.xsl $< > $@.tmp; \
638@WITH_PERL_TRUE@	  if [ ! -f $(srcdir)/$@.out ] ; then \
639@WITH_PERL_TRUE@		cp $@.tmp $(srcdir)/$@.out ; \
640@WITH_PERL_TRUE@	  else \
641@WITH_PERL_TRUE@		diff $(srcdir)/$@.out $@.tmp ; \
642@WITH_PERL_TRUE@	  fi ; \
643@WITH_PERL_TRUE@	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
644@WITH_PERL_TRUE@	@if [ -n "$$log" ] ; then \
645@WITH_PERL_TRUE@	  	echo $@ result ; \
646@WITH_PERL_TRUE@		echo "$$log" ; \
647@WITH_PERL_TRUE@	fi
648@WITH_PERL_TRUE@	@rm -f $@.tmp
649
650@WITH_PERL_TRUE@decoy:		db100.xml $(xsltproc)
651@WITH_PERL_TRUE@	@(echo > .memdump)
652@WITH_PERL_TRUE@	@log=`$(CHECKER) $(xsltproc) \
653@WITH_PERL_TRUE@		$(srcdir)/$@.xsl $< > $@.tmp; \
654@WITH_PERL_TRUE@	  if [ ! -f $(srcdir)/$@.out ] ; then \
655@WITH_PERL_TRUE@		cp $@.tmp $(srcdir)/$@.out ; \
656@WITH_PERL_TRUE@	  else \
657@WITH_PERL_TRUE@		diff $(srcdir)/$@.out $@.tmp ; \
658@WITH_PERL_TRUE@	  fi ; \
659@WITH_PERL_TRUE@	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
660@WITH_PERL_TRUE@	@if [ -n "$$log" ] ; then \
661@WITH_PERL_TRUE@	  	echo $@ result ; \
662@WITH_PERL_TRUE@		echo "$$log" ; \
663@WITH_PERL_TRUE@	fi
664@WITH_PERL_TRUE@	@rm -f $@.tmp
665
666@WITH_PERL_TRUE@encrypt:		db100.xml $(xsltproc)
667@WITH_PERL_TRUE@	@(echo > .memdump)
668@WITH_PERL_TRUE@	@log=`$(CHECKER) $(xsltproc) \
669@WITH_PERL_TRUE@		$(srcdir)/$@.xsl $< > $@.tmp; \
670@WITH_PERL_TRUE@	  if [ ! -f $(srcdir)/$@.out ] ; then \
671@WITH_PERL_TRUE@		cp $@.tmp $(srcdir)/$@.out ; \
672@WITH_PERL_TRUE@	  else \
673@WITH_PERL_TRUE@		diff $(srcdir)/$@.out $@.tmp ; \
674@WITH_PERL_TRUE@	  fi ; \
675@WITH_PERL_TRUE@	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
676@WITH_PERL_TRUE@	@if [ -n "$$log" ] ; then \
677@WITH_PERL_TRUE@	  	echo $@ result ; \
678@WITH_PERL_TRUE@		echo "$$log" ; \
679@WITH_PERL_TRUE@	fi
680@WITH_PERL_TRUE@	@rm -f $@.tmp
681
682@WITH_PERL_TRUE@functions:		db100.xml $(xsltproc)
683@WITH_PERL_TRUE@	@(echo > .memdump)
684@WITH_PERL_TRUE@	@log=`$(CHECKER) $(xsltproc) \
685@WITH_PERL_TRUE@		$(srcdir)/$@.xsl $< > $@.tmp; \
686@WITH_PERL_TRUE@	  if [ ! -f $(srcdir)/$@.out ] ; then \
687@WITH_PERL_TRUE@		cp $@.tmp $(srcdir)/$@.out ; \
688@WITH_PERL_TRUE@	  else \
689@WITH_PERL_TRUE@		diff $(srcdir)/$@.out $@.tmp ; \
690@WITH_PERL_TRUE@	  fi ; \
691@WITH_PERL_TRUE@	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
692@WITH_PERL_TRUE@	@if [ -n "$$log" ] ; then \
693@WITH_PERL_TRUE@	  	echo $@ result ; \
694@WITH_PERL_TRUE@		echo "$$log" ; \
695@WITH_PERL_TRUE@	fi
696@WITH_PERL_TRUE@	@rm -f $@.tmp
697
698@WITH_PERL_TRUE@identity:		db1000.xml $(xsltproc)
699@WITH_PERL_TRUE@	@(echo > .memdump)
700@WITH_PERL_TRUE@	@log=`$(CHECKER) $(xsltproc) \
701@WITH_PERL_TRUE@		$(srcdir)/$@.xsl $< > $@.tmp; \
702@WITH_PERL_TRUE@	  if [ ! -f $(srcdir)/$@.out ] ; then \
703@WITH_PERL_TRUE@		cp $@.tmp $(srcdir)/$@.out ; \
704@WITH_PERL_TRUE@	  else \
705@WITH_PERL_TRUE@		diff $(srcdir)/$@.out $@.tmp ; \
706@WITH_PERL_TRUE@	  fi ; \
707@WITH_PERL_TRUE@	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
708@WITH_PERL_TRUE@	@if [ -n "$$log" ] ; then \
709@WITH_PERL_TRUE@	  	echo $@ result ; \
710@WITH_PERL_TRUE@		echo "$$log" ; \
711@WITH_PERL_TRUE@	fi
712@WITH_PERL_TRUE@	@rm -f $@.tmp
713
714@WITH_PERL_TRUE@patterns:		db100.xml $(xsltproc)
715@WITH_PERL_TRUE@	@(echo > .memdump)
716@WITH_PERL_TRUE@	@log=`$(CHECKER) $(xsltproc) \
717@WITH_PERL_TRUE@		$(srcdir)/$@.xsl $< > $@.tmp; \
718@WITH_PERL_TRUE@	  if [ ! -f $(srcdir)/$@.out ] ; then \
719@WITH_PERL_TRUE@		cp $@.tmp $(srcdir)/$@.out ; \
720@WITH_PERL_TRUE@	  else \
721@WITH_PERL_TRUE@		diff $(srcdir)/$@.out $@.tmp ; \
722@WITH_PERL_TRUE@	  fi ; \
723@WITH_PERL_TRUE@	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
724@WITH_PERL_TRUE@	@if [ -n "$$log" ] ; then \
725@WITH_PERL_TRUE@	  	echo $@ result ; \
726@WITH_PERL_TRUE@		echo "$$log" ; \
727@WITH_PERL_TRUE@	fi
728@WITH_PERL_TRUE@	@rm -f $@.tmp
729
730@WITH_PERL_TRUE@prettyprint:	db100.xml $(xsltproc)
731@WITH_PERL_TRUE@	@(echo > .memdump)
732@WITH_PERL_TRUE@	@log=`$(CHECKER) $(xsltproc) \
733@WITH_PERL_TRUE@		$(srcdir)/$@.xsl $< > $@.tmp; \
734@WITH_PERL_TRUE@	  if [ ! -f $(srcdir)/$@.out ] ; then \
735@WITH_PERL_TRUE@		cp $@.tmp $(srcdir)/$@.out ; \
736@WITH_PERL_TRUE@	  else \
737@WITH_PERL_TRUE@		diff $(srcdir)/$@.out $@.tmp ; \
738@WITH_PERL_TRUE@	  fi ; \
739@WITH_PERL_TRUE@	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
740@WITH_PERL_TRUE@	@if [ -n "$$log" ] ; then \
741@WITH_PERL_TRUE@	  	echo $@ result ; \
742@WITH_PERL_TRUE@		echo "$$log" ; \
743@WITH_PERL_TRUE@	fi
744@WITH_PERL_TRUE@	@rm -f $@.tmp
745
746@WITH_PERL_TRUE@stringsort:		db1000.xml $(xsltproc)
747@WITH_PERL_TRUE@	@(echo > .memdump)
748@WITH_PERL_TRUE@	@log=`$(CHECKER) $(xsltproc) \
749@WITH_PERL_TRUE@		$(srcdir)/$@.xsl $< > $@.tmp; \
750@WITH_PERL_TRUE@	  if [ ! -f $(srcdir)/$@.out ] ; then \
751@WITH_PERL_TRUE@		cp $@.tmp $(srcdir)/$@.out ; \
752@WITH_PERL_TRUE@	  else \
753@WITH_PERL_TRUE@		diff $(srcdir)/$@.out $@.tmp ; \
754@WITH_PERL_TRUE@	  fi ; \
755@WITH_PERL_TRUE@	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
756@WITH_PERL_TRUE@	@if [ -n "$$log" ] ; then \
757@WITH_PERL_TRUE@	  	echo $@ result ; \
758@WITH_PERL_TRUE@		echo "$$log" ; \
759@WITH_PERL_TRUE@	fi
760@WITH_PERL_TRUE@	@rm -f $@.tmp
761
762@WITH_PERL_FALSE@alphabetize:
763@WITH_PERL_FALSE@avts:
764@WITH_PERL_FALSE@creation:
765@WITH_PERL_FALSE@dbonerow:
766@WITH_PERL_FALSE@dbtail:
767@WITH_PERL_FALSE@decoy:
768@WITH_PERL_FALSE@encrypt:
769@WITH_PERL_FALSE@functions:
770@WITH_PERL_FALSE@identity:
771@WITH_PERL_FALSE@patterns:
772@WITH_PERL_FALSE@prettyprint:
773@WITH_PERL_FALSE@stringsort:
774
775attsets:		chart.xml $(xsltproc)
776	@(echo > .memdump)
777	@log=`$(CHECKER) $(xsltproc) \
778		$(srcdir)/$@.xsl $< > $@.tmp; \
779	  if [ ! -f $(srcdir)/$@.out ] ; then \
780		cp $@.tmp $(srcdir)/$@.out ; \
781	  else \
782		diff $(srcdir)/$@.out $@.tmp ; \
783	  fi ; \
784	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
785	@if [ -n "$$log" ] ; then \
786	  	echo $@ result ; \
787		echo "$$log" ; \
788	fi
789	@rm -f $@.tmp
790
791axis:			axis.xml $(xsltproc)
792	@(echo > .memdump)
793	@log=`$(CHECKER) $(xsltproc) \
794		$(srcdir)/$@.xsl $< > $@.tmp; \
795	  if [ ! -f $(srcdir)/$@.out ] ; then \
796		cp $@.tmp $(srcdir)/$@.out ; \
797	  else \
798		diff $(srcdir)/$@.out $@.tmp ; \
799	  fi ; \
800	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
801	@if [ -n "$$log" ] ; then \
802	  	echo $@ result ; \
803		echo "$$log" ; \
804	fi
805	@rm -f $@.tmp
806
807backwards:		game.xml $(xsltproc)
808	@(echo > .memdump)
809	@log=`$(CHECKER) $(xsltproc) \
810		$(srcdir)/$@.xsl $< > $@.tmp; \
811	  if [ ! -f $(srcdir)/$@.out ] ; then \
812		cp $@.tmp $(srcdir)/$@.out ; \
813	  else \
814		diff $(srcdir)/$@.out $@.tmp ; \
815	  fi ; \
816	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
817	@if [ -n "$$log" ] ; then \
818	  	echo $@ result ; \
819		echo "$$log" ; \
820	fi
821	@rm -f $@.tmp
822
823bottles:		bottles.xml $(xsltproc)
824	@(echo > .memdump)
825	@log=`$(CHECKER) $(xsltproc) \
826		$(srcdir)/$@.xsl $< > $@.tmp; \
827	  if [ ! -f $(srcdir)/$@.out ] ; then \
828		cp $@.tmp $(srcdir)/$@.out ; \
829	  else \
830		diff $(srcdir)/$@.out $@.tmp ; \
831	  fi ; \
832	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
833	@if [ -n "$$log" ] ; then \
834	  	echo $@ result ; \
835		echo "$$log" ; \
836	fi
837	@rm -f $@.tmp
838
839brutal:		brutal.xml $(xsltproc)
840	@(echo > .memdump)
841	@log=`$(CHECKER) $(xsltproc) \
842		$(srcdir)/$@.xsl $< > $@.tmp; \
843	  if [ ! -f $(srcdir)/$@.out ] ; then \
844		cp $@.tmp $(srcdir)/$@.out ; \
845	  else \
846		diff $(srcdir)/$@.out $@.tmp ; \
847	  fi ; \
848	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
849	@if [ -n "$$log" ] ; then \
850	  	echo $@ result ; \
851		echo "$$log" ; \
852	fi
853	@rm -f $@.tmp
854
855chart:		chart.xml $(xsltproc)
856	@(echo > .memdump)
857	@log=`$(CHECKER) $(xsltproc) \
858		$(srcdir)/$@.xsl $< > $@.tmp; \
859	  if [ ! -f $(srcdir)/$@.out ] ; then \
860		cp $@.tmp $(srcdir)/$@.out ; \
861	  else \
862		diff $(srcdir)/$@.out $@.tmp ; \
863	  fi ; \
864	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
865	@if [ -n "$$log" ] ; then \
866	  	echo $@ result ; \
867		echo "$$log" ; \
868	fi
869	@rm -f $@.tmp
870
871current:		current.xml $(xsltproc)
872	@(echo > .memdump)
873	@log=`$(CHECKER) $(xsltproc) \
874		$(srcdir)/$@.xsl $< > $@.tmp; \
875	  if [ ! -f $(srcdir)/$@.out ] ; then \
876		cp $@.tmp $(srcdir)/$@.out ; \
877	  else \
878		diff $(srcdir)/$@.out $@.tmp ; \
879	  fi ; \
880	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
881	@if [ -n "$$log" ] ; then \
882	  	echo $@ result ; \
883		echo "$$log" ; \
884	fi
885	@rm -f $@.tmp
886
887game:			game.xml $(xsltproc)
888	@(echo > .memdump)
889	@log=`$(CHECKER) $(xsltproc) \
890		$(srcdir)/$@.xsl $< > $@.tmp; \
891	  if [ ! -f $(srcdir)/$@.out ] ; then \
892		cp $@.tmp $(srcdir)/$@.out ; \
893	  else \
894		diff $(srcdir)/$@.out $@.tmp ; \
895	  fi ; \
896	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
897	@if [ -n "$$log" ] ; then \
898	  	echo $@ result ; \
899		echo "$$log" ; \
900	fi
901	@rm -f $@.tmp
902
903html:			html.xml $(xsltproc)
904	@(echo > .memdump)
905	@log=`$(CHECKER) $(xsltproc) \
906		$(srcdir)/$@.xsl $< > $@.tmp; \
907	  if [ ! -f $(srcdir)/$@.out ] ; then \
908		cp $@.tmp $(srcdir)/$@.out ; \
909	  else \
910		diff $(srcdir)/$@.out $@.tmp ; \
911	  fi ; \
912	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
913	@if [ -n "$$log" ] ; then \
914	  	echo $@ result ; \
915		echo "$$log" ; \
916	fi
917	@rm -f $@.tmp
918
919inventory:		inventory.xml $(xsltproc)
920	@(echo > .memdump)
921	@log=`$(CHECKER) $(xsltproc) \
922		$(srcdir)/$@.xsl $< > $@.tmp; \
923	  if [ ! -f $(srcdir)/$@.out ] ; then \
924		cp $@.tmp $(srcdir)/$@.out ; \
925	  else \
926		diff $(srcdir)/$@.out $@.tmp ; \
927	  fi ; \
928	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
929	@if [ -n "$$log" ] ; then \
930	  	echo $@ result ; \
931		echo "$$log" ; \
932	fi
933	@rm -f $@.tmp
934
935metric:		metric.xml $(xsltproc)
936	@(echo > .memdump)
937	@log=`$(CHECKER) $(xsltproc) \
938		$(srcdir)/$@.xsl $< > $@.tmp; \
939	  if [ ! -f $(srcdir)/$@.out ] ; then \
940		cp $@.tmp $(srcdir)/$@.out ; \
941	  else \
942		diff $(srcdir)/$@.out $@.tmp ; \
943	  fi ; \
944	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
945	@if [ -n "$$log" ] ; then \
946	  	echo $@ result ; \
947		echo "$$log" ; \
948	fi
949	@rm -f $@.tmp
950
951number:		number.xml $(xsltproc)
952	@(echo > .memdump)
953	@log=`$(CHECKER) $(xsltproc) \
954		$(srcdir)/$@.xsl $< > $@.tmp; \
955	  if [ ! -f $(srcdir)/$@.out ] ; then \
956		cp $@.tmp $(srcdir)/$@.out ; \
957	  else \
958		diff $(srcdir)/$@.out $@.tmp ; \
959	  fi ; \
960	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
961	@if [ -n "$$log" ] ; then \
962	  	echo $@ result ; \
963		echo "$$log" ; \
964	fi
965	@rm -f $@.tmp
966
967oddtemplate:	oddtemplate.xml $(xsltproc)
968	@(echo > .memdump)
969	@log=`$(CHECKER) $(xsltproc) \
970		$(srcdir)/$@.xsl $< > $@.tmp; \
971	  if [ ! -f $(srcdir)/$@.out ] ; then \
972		cp $@.tmp $(srcdir)/$@.out ; \
973	  else \
974		diff $(srcdir)/$@.out $@.tmp ; \
975	  fi ; \
976	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
977	@if [ -n "$$log" ] ; then \
978	  	echo $@ result ; \
979		echo "$$log" ; \
980	fi
981	@rm -f $@.tmp
982
983priority:		priority.xml $(xsltproc)
984	@(echo > .memdump)
985	@log=`$(CHECKER) $(xsltproc) \
986		$(srcdir)/$@.xsl $< > $@.tmp; \
987	  if [ ! -f $(srcdir)/$@.out ] ; then \
988		cp $@.tmp $(srcdir)/$@.out ; \
989	  else \
990		diff $(srcdir)/$@.out $@.tmp ; \
991	  fi ; \
992	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
993	@if [ -n "$$log" ] ; then \
994	  	echo $@ result ; \
995		echo "$$log" ; \
996	fi
997	@rm -f $@.tmp
998
999products:		products.xml $(xsltproc)
1000	@(echo > .memdump)
1001	@log=`$(CHECKER) $(xsltproc) \
1002		$(srcdir)/$@.xsl $< > $@.tmp; \
1003	  if [ ! -f $(srcdir)/$@.out ] ; then \
1004		cp $@.tmp $(srcdir)/$@.out ; \
1005	  else \
1006		diff $(srcdir)/$@.out $@.tmp ; \
1007	  fi ; \
1008	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1009	@if [ -n "$$log" ] ; then \
1010	  	echo $@ result ; \
1011		echo "$$log" ; \
1012	fi
1013	@rm -f $@.tmp
1014
1015queens:		queens.xml $(xsltproc)
1016	@(echo > .memdump)
1017	@log=`$(CHECKER) $(xsltproc) \
1018		$(srcdir)/$@.xsl $< > $@.tmp; \
1019	  if [ ! -f $(srcdir)/$@.out ] ; then \
1020		cp $@.tmp $(srcdir)/$@.out ; \
1021	  else \
1022		diff $(srcdir)/$@.out $@.tmp ; \
1023	  fi ; \
1024	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1025	@if [ -n "$$log" ] ; then \
1026	  	echo $@ result ; \
1027		echo "$$log" ; \
1028	fi
1029	@rm -f $@.tmp
1030
1031reverser:		gettysburg.xml $(xsltproc)
1032	@(echo > .memdump)
1033	@log=`$(CHECKER) $(xsltproc) \
1034		$(srcdir)/$@.xsl $< > $@.tmp; \
1035	  if [ ! -f $(srcdir)/$@.out ] ; then \
1036		cp $@.tmp $(srcdir)/$@.out ; \
1037	  else \
1038		diff $(srcdir)/$@.out $@.tmp ; \
1039	  fi ; \
1040	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1041	@if [ -n "$$log" ] ; then \
1042	  	echo $@ result ; \
1043		echo "$$log" ; \
1044	fi
1045	@rm -f $@.tmp
1046
1047summarize:		queens.xsl $(xsltproc)
1048	@(echo > .memdump)
1049	@log=`$(CHECKER) $(xsltproc) \
1050		$(srcdir)/$@.xsl $< > $@.tmp; \
1051	  if [ ! -f $(srcdir)/$@.out ] ; then \
1052		cp $@.tmp $(srcdir)/$@.out ; \
1053	  else \
1054		diff $(srcdir)/$@.out $@.tmp ; \
1055	  fi ; \
1056	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1057	@if [ -n "$$log" ] ; then \
1058	  	echo $@ result ; \
1059		echo "$$log" ; \
1060	fi
1061	@rm -f $@.tmp
1062
1063total:		chart.xml $(xsltproc)
1064	@(echo > .memdump)
1065	@log=`$(CHECKER) $(xsltproc) \
1066		$(srcdir)/$@.xsl $< > $@.tmp; \
1067	  if [ ! -f $(srcdir)/$@.out ] ; then \
1068		cp $@.tmp $(srcdir)/$@.out ; \
1069	  else \
1070		diff $(srcdir)/$@.out $@.tmp ; \
1071	  fi ; \
1072	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1073	@if [ -n "$$log" ] ; then \
1074	  	echo $@ result ; \
1075		echo "$$log" ; \
1076	fi
1077	@rm -f $@.tmp
1078
1079tower:		tower.xml $(xsltproc)
1080	@(echo > .memdump)
1081	@log=`$(CHECKER) $(xsltproc) \
1082		$(srcdir)/$@.xsl $< > $@.tmp; \
1083	  if [ ! -f $(srcdir)/$@.out ] ; then \
1084		cp $@.tmp $(srcdir)/$@.out ; \
1085	  else \
1086		diff $(srcdir)/$@.out $@.tmp ; \
1087	  fi ; \
1088	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1089	@if [ -n "$$log" ] ; then \
1090	  	echo $@ result ; \
1091		echo "$$log" ; \
1092	fi
1093	@rm -f $@.tmp
1094
1095trend:		trend.xml $(xsltproc)
1096	@(echo > .memdump)
1097	@log=`$(CHECKER) $(xsltproc) \
1098		$(srcdir)/$@.xsl $< > $@.tmp; \
1099	  if [ ! -f $(srcdir)/$@.out ] ; then \
1100		cp $@.tmp $(srcdir)/$@.out ; \
1101	  else \
1102		diff $(srcdir)/$@.out $@.tmp ; \
1103	  fi ; \
1104	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1105	@if [ -n "$$log" ] ; then \
1106	  	echo $@ result ; \
1107		echo "$$log" ; \
1108	fi
1109	@rm -f $@.tmp
1110
1111union:		union.xml $(xsltproc)
1112	@(echo > .memdump)
1113	@log=`$(CHECKER) $(xsltproc) \
1114		$(srcdir)/$@.xsl $< > $@.tmp; \
1115	  if [ ! -f $(srcdir)/$@.out ] ; then \
1116		cp $@.tmp $(srcdir)/$@.out ; \
1117	  else \
1118		diff $(srcdir)/$@.out $@.tmp ; \
1119	  fi ; \
1120	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1121	@if [ -n "$$log" ] ; then \
1122	  	echo $@ result ; \
1123		echo "$$log" ; \
1124	fi
1125	@rm -f $@.tmp
1126
1127xpath:		xpath.xml $(xsltproc)
1128	@(echo > .memdump)
1129	@log=`$(CHECKER) $(xsltproc) \
1130		$(srcdir)/$@.xsl $< > $@.tmp; \
1131	  if [ ! -f $(srcdir)/$@.out ] ; then \
1132		cp $@.tmp $(srcdir)/$@.out ; \
1133	  else \
1134		diff $(srcdir)/$@.out $@.tmp ; \
1135	  fi ; \
1136	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1137	@if [ -n "$$log" ] ; then \
1138	  	echo $@ result ; \
1139		echo "$$log" ; \
1140	fi
1141	@rm -f $@.tmp
1142
1143xslbench1:		xslbench1.xml $(xsltproc)
1144	@(echo > .memdump)
1145	@log=`$(CHECKER) $(xsltproc) \
1146		$(srcdir)/$@.xsl $< > $@.tmp; \
1147	  if [ ! -f $(srcdir)/$@.out ] ; then \
1148		cp $@.tmp $(srcdir)/$@.out ; \
1149	  else \
1150		diff $(srcdir)/$@.out $@.tmp ; \
1151	  fi ; \
1152	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1153	@if [ -n "$$log" ] ; then \
1154	  	echo $@ result ; \
1155		echo "$$log" ; \
1156	fi
1157	@rm -f $@.tmp
1158
1159xslbench2:		xslbenchdream.xml $(xsltproc)
1160	@(echo > .memdump)
1161	@log=`$(CHECKER) $(xsltproc) \
1162		$(srcdir)/$@.xsl $< > $@.tmp; \
1163	  if [ ! -f $(srcdir)/$@.out ] ; then \
1164		cp $@.tmp $(srcdir)/$@.out ; \
1165	  else \
1166		diff $(srcdir)/$@.out $@.tmp ; \
1167	  fi ; \
1168	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1169	@if [ -n "$$log" ] ; then \
1170	  	echo $@ result ; \
1171		echo "$$log" ; \
1172	fi
1173	@rm -f $@.tmp
1174
1175xslbench3:		xslbenchdream.xml $(xsltproc)
1176	@(echo > .memdump)
1177	@log=`$(CHECKER) $(xsltproc) \
1178		$(srcdir)/$@.xsl $< > $@.tmp; \
1179	  if [ ! -f $(srcdir)/$@.out ] ; then \
1180		cp $@.tmp $(srcdir)/$@.out ; \
1181	  else \
1182		diff $(srcdir)/$@.out $@.tmp ; \
1183	  fi ; \
1184	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1185	@if [ -n "$$log" ] ; then \
1186	  	echo $@ result ; \
1187		echo "$$log" ; \
1188	fi
1189	@rm -f $@.tmp
1190
1191breadth: $(xsltproc)
1192	@test -f breadth.xml || $(LN_S) $(srcdir)/breadth.xml .
1193	@(echo > .memdump)
1194	@log=`$(CHECKER) $(xsltproc) \
1195		$(srcdir)/find.xsl $@.xml > $@.tmp; \
1196	  if [ ! -f $(srcdir)/$@.out ] ; then \
1197		cp $@.tmp $(srcdir)/$@.out ; \
1198	  else \
1199		diff $(srcdir)/$@.out $@.tmp ; \
1200	  fi ; \
1201	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1202	@if [ -n "$$log" ] ; then \
1203	  	echo $@ result ; \
1204		echo "$$log" ; \
1205	fi
1206	@rm -f $@.tmp
1207
1208depth: $(xsltproc)
1209	@test -f depth.xml || $(LN_S) $(srcdir)/depth.xml .
1210	@(echo > .memdump)
1211	@log=`$(CHECKER) $(xsltproc) \
1212		$(srcdir)/find.xsl $@.xml > $@.tmp; \
1213	  if [ ! -f $(srcdir)/$@.out ] ; then \
1214		cp $@.tmp $(srcdir)/$@.out ; \
1215	  else \
1216		diff $(srcdir)/$@.out $@.tmp ; \
1217	  fi ; \
1218	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true`
1219	@if [ -n "$$log" ] ; then \
1220	  	echo $@ result ; \
1221		echo "$$log" ; \
1222	fi
1223	@rm -f $@.tmp
1224
1225.PHONY: test tests valgrind $(ALL_TESTS)
1226
1227# Tell versions [3.59,3.63) of GNU make to not export all variables.
1228# Otherwise a system limit (for SysV at least) may be exceeded.
1229.NOEXPORT:
1230