/[bison]/bison/tests/Makefile.am
ViewVC logotype

Diff of /bison/tests/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by akim, Sat Dec 29 14:26:49 2001 UTC revision 1.15 by akim, Sun Jan 6 20:49:40 2002 UTC
# Line 1  Line 1 
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
# Line 20  Line 20 
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 \
# Line 33  TESTSUITE_AT = \ Line 53  TESTSUITE_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    

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26