1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-.
6 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 \
7 a6.X a7.I a7.X a8.I a8.X a9.I a9.X b0.I b0.X b1.I b1.X c0.I c0.X c1.I c1.X \
9 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 \
10 a6.E a7.O a7.E a8.O a8.E a9.O a9.E b0.O b0.E b1.O b1.E c0.O c0.E c1.O c1.E \
14 EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
15 noinst_SCRIPTS = $x-tests
18 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
22 mk_script = $(srcdir)/../mk-script
23 $(srcdir)/$x-tests: $(mk_script) Test.pm
24 $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
28 MAINTAINERCLEANFILES = $x-tests $(maint_gen)
29 CLEANFILES = $(run_gen)
33 Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
35 sed -n '1,/^##test-files-begin/p' $< > $@t
36 tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
37 echo "x = $$tool" >> $@t
38 $(PERL) -I. -w -- $(mk_script) --list >> $@t
39 sed -n '/^##test-files-end/,$$p' $< >> $@t