## Process this file with automake to produce Makefile.in. ##test-files-begin x = wc explicit = maint_gen = a0.I a0.X a1.I a1.X a2.I a2.X a3.I a3.X a4.I a4.X a5.I a5.X a6.I \ a6.X a7.I a7.X a8.I a8.X a9.I a9.X b0.I b0.X b1.I b1.X run_gen = a0.O a0.E a1.O a1.E a2.O a2.E a3.O a3.E a4.O a4.E a5.O a5.E a6.O \ a6.E a7.O a7.E a8.O a8.E a9.O a9.E b0.O b0.E b1.O b1.E ##test-files-end EXTRA_DIST = mk-script.pl Test.pm $x-tests $(explicit) $(maint_gen) noinst_SCRIPTS = $x-tests PERL = @PERL@ editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g' TESTS = $x-tests $(srcdir)/$x-tests: @MAINT@mk-script Test.pm ./mk-script ../../src/$x > $@.n mv $@.n $@ chmod 755 $@ mk-script: ../../config.status SUFFIXES = .pl .pl: rm -f $@ $@.tmp $(editpl) $< > $@.tmp chmod +x-w $@.tmp mv $@.tmp $@ MAINTAINERCLEANFILES = $x-tests $(maint_gen) CLEANFILES = $(run_gen) @MAINT@Makefile.am: ../Makefile.am.in Test.pm mk-script @MAINT@ rm -f $@ $@t @MAINT@ sed -n '1,/^##test-files-begin/p' $< > $@t @MAINT@ tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \ @MAINT@ echo "x = $$tool" >> $@t @MAINT@ ./mk-script --list >> $@t @MAINT@ sed -n '/^##test-files-end/,$$p' $< >> $@t @MAINT@ mv $@t $@