1 |
## Process this file with automake to create Makefile.in. |
## Process this file with automake to create Makefile.in. |
2 |
|
|
3 |
## Makefile for Bison testsuite. |
## Makefile for Bison testsuite. |
4 |
## Copyright 2000, 2001 Free Software Foundation, Inc. |
## Copyright 2000, 2001, 2002 Free Software Foundation, Inc. |
5 |
|
|
6 |
## This program is free software; you can redistribute it and/or modify |
## This program is free software; you can redistribute it and/or modify |
7 |
## it under the terms of the GNU General Public License as published by |
## it under the terms of the GNU General Public License as published by |
20 |
|
|
21 |
EXTRA_DIST = $(TESTSUITE_AT) testsuite |
EXTRA_DIST = $(TESTSUITE_AT) testsuite |
22 |
|
|
23 |
DISTCLEANFILES = atconfig bison package.m4 |
DISTCLEANFILES = atconfig bison |
24 |
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE) |
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE) |
25 |
|
|
26 |
|
## ------------ ## |
27 |
|
## package.m4. ## |
28 |
|
## ------------ ## |
29 |
|
|
30 |
|
$(srcdir)/package.m4: $(top_srcdir)/configure.in |
31 |
|
{ \ |
32 |
|
echo '# Signature of the current package.'; \ |
33 |
|
echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])'; \ |
34 |
|
echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])'; \ |
35 |
|
echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])'; \ |
36 |
|
echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])'; \ |
37 |
|
echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \ |
38 |
|
} >$(srcdir)/package.m4 |
39 |
|
|
40 |
|
EXTRA_DIST += package.m4 |
41 |
|
|
42 |
|
## ------------ ## |
43 |
|
## Test suite. ## |
44 |
|
## ------------ ## |
45 |
|
|
46 |
TESTSUITE_AT = \ |
TESTSUITE_AT = \ |
47 |
testsuite.at \ |
testsuite.at \ |
48 |
output.at sets.at reduce.at \ |
output.at sets.at reduce.at \ |
53 |
TESTSUITE = $(srcdir)/testsuite |
TESTSUITE = $(srcdir)/testsuite |
54 |
|
|
55 |
AUTOTEST = $(AUTOM4TE) --language=autotest |
AUTOTEST = $(AUTOM4TE) --language=autotest |
56 |
$(srcdir)/$(TESTSUITE): $(TESTSUITE_AT) |
$(srcdir)/$(TESTSUITE): package.m4 $(TESTSUITE_AT) |
57 |
$(AUTOTEST) -I $(srcdir) testsuite.at -o $@.tmp |
$(AUTOTEST) -I $(srcdir) testsuite.at -o $@.tmp |
58 |
mv $@.tmp $@ |
mv $@.tmp $@ |
59 |
|
|