/[autoconf]/autoconf/tests/Makefile.in
ViewVC logotype

Diff of /autoconf/tests/Makefile.in

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

revision 1.112 by akim, Fri Mar 8 12:44:47 2002 UTC revision 1.113 by akim, Wed Apr 10 15:58:21 2002 UTC
# Line 83  lispdir = @lispdir@ Line 83  lispdir = @lispdir@
83  # We don't actually distribute the testsuite, since one only  # We don't actually distribute the testsuite, since one only
84  # needs m4 to build it, m4 being required anyway to install Autoconf.  # needs m4 to build it, m4 being required anyway to install Autoconf.
85  EXTRA_DIST = $(TESTSUITE_AT) atspecific.m4 mktests.sh \  EXTRA_DIST = $(TESTSUITE_AT) atspecific.m4 mktests.sh \
86               atlocal.in package.m4               atlocal.in package.m4 wrapsh.as
87    
88    
89  # Running the uninstalled scripts.  # Running the uninstalled scripts.
90  check_SCRIPTS = autoconf autoheader autoreconf autom4te autoscan autoupdate ifnames  check_SCRIPTS = autoconf autoheader autoreconf autom4te autoscan autoupdate ifnames
91    
 # FIXME: Why doesn't Automake clean these?  
92  DISTCLEANFILES = atconfig atlocal $(TESTSUITE) $(check_SCRIPTS)  DISTCLEANFILES = atconfig atlocal $(TESTSUITE) $(check_SCRIPTS)
93    
94    SUFFIXES = .m4 .m4f
95    
96    # Do not use AUTOM4TE here, since Makefile.maint (my-distcheck)
97    # checks if we are independant of Autoconf by defining AUTOM4TE (and
98    # others) to `false'.  But we _ship_ tests/autom4te, so it doesn't
99    # apply to us.
100    MY_AUTOM4TE = $(top_builddir)/tests/autom4te
101    
102    AUTOM4TE_CFG = $(top_builddir)/lib/autom4te.cfg
103    
104    # Factor the dependencies between all the frozen files.
105    # Some day we should explain to Automake how to use autom4te to compute
106    # the dependencies...
107    src_libdir = $(top_srcdir)/lib
108    build_libdir = $(top_builddir)/lib
109    
110    m4f_dependencies = $(MY_AUTOM4TE) $(AUTOM4TE_CFG)
111    
112    m4sugar_m4f_dependencies = \
113            $(m4f_dependencies)                     \
114            $(src_libdir)/m4sugar/m4sugar.m4        \
115            $(build_libdir)/m4sugar/version.m4
116    
117    
118    m4sh_m4f_dependencies = \
119            $(m4sugar_m4f_dependencies)             \
120            $(src_libdir)/m4sugar/m4sh.m4
121    
122    
123    autotest_m4f_dependencies = \
124            $(m4sh_m4f_dependencies)                \
125            $(src_libdir)/autotest/autotest.m4      \
126            $(src_libdir)/autotest/general.m4
127    
128    
129    autoconf_m4f_dependencies = \
130            $(m4sh_m4f_dependencies)                \
131            $(src_libdir)/autoconf/general.m4       \
132            $(src_libdir)/autoconf/autoheader.m4    \
133            $(src_libdir)/autoconf/autoupdate.m4    \
134            $(src_libdir)/autoconf/autotest.m4      \
135            $(src_libdir)/autoconf/status.m4        \
136            $(src_libdir)/autoconf/oldnames.m4      \
137            $(src_libdir)/autoconf/specific.m4      \
138            $(src_libdir)/autoconf/lang.m4          \
139            $(src_libdir)/autoconf/c.m4             \
140            $(src_libdir)/autoconf/fortran.m4       \
141            $(src_libdir)/autoconf/functions.m4     \
142            $(src_libdir)/autoconf/headers.m4       \
143            $(src_libdir)/autoconf/types.m4         \
144            $(src_libdir)/autoconf/libs.m4          \
145            $(src_libdir)/autoconf/programs.m4      \
146            $(src_libdir)/autoconf/autoconf.m4
147    
148    
149  TESTSUITE_GENERATED_AT = \  TESTSUITE_GENERATED_AT = \
150          aclang.at acc.at acfortran.at \          aclang.at acc.at acfortran.at \
151          acgeneral.at acstatus.at \          acgeneral.at acstatus.at \
# Line 149  DIST_COMMON = Makefile.am Makefile.in at Line 203  DIST_COMMON = Makefile.am Makefile.in at
203  all: all-am  all: all-am
204    
205  .SUFFIXES:  .SUFFIXES:
206  $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)  .SUFFIXES: .m4 .m4f
207    $(srcdir)/Makefile.in:  Makefile.am $(srcdir)/../lib/freeze.mk $(top_srcdir)/configure.ac $(ACLOCAL_M4)
208          cd $(top_srcdir) && \          cd $(top_srcdir) && \
209            $(AUTOMAKE) --gnu  tests/Makefile            $(AUTOMAKE) --gnu  tests/Makefile
210  Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status  Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
# Line 278  uninstall-am: uninstall-info-am Line 333  uninstall-am: uninstall-info-am
333          maintainer-clean-generic mostlyclean mostlyclean-generic \          maintainer-clean-generic mostlyclean mostlyclean-generic \
334          uninstall uninstall-am uninstall-info-am          uninstall uninstall-am uninstall-info-am
335    
336    $(MY_AUTOM4TE):
337            cd $(top_builddir)/tests && $(MAKE) $(AM_MAKEFLAGS) autom4te
338    $(AUTOM4TE_CFG):
339            cd $(top_builddir)/lib && $(MAKE) $(AM_MAKEFLAGS) autom4te.cfg
340    
341    # When processing the file with diversion disabled, there must be no
342    # output but comments and empty lines.
343    # If freezing produces output, something went wrong: a bad `divert',
344    # or an improper paren etc.
345    # It may happen that the output does not end with a end of line, hence
346    # force an end of line when reporting errors.
347    .m4.m4f:
348            $(MY_AUTOM4TE)                          \
349                    --language=$*                   \
350                    --freeze                        \
351                    --include=$(srcdir)/..          \
352                    --include=..                    \
353                    --output=$@
354    
355    # For parallel builds.
356    $(build_libdir)/m4sugar/version.m4:
357            cd $(build_libdir)/m4sugar && $(MAKE) $(AM_MAKEFLAGS) version.m4
358    
359    # Import the dependencies on Autotest and M4sh.
360    
361  $(srcdir)/package.m4: $(top_srcdir)/configure.ac  $(srcdir)/package.m4: $(top_srcdir)/configure.ac
362          {                                       \          {                                       \
# Line 288  $(srcdir)/package.m4: $(top_srcdir)/conf Line 367  $(srcdir)/package.m4: $(top_srcdir)/conf
367            echo 'm4_define([AT_PACKAGE_STRING],    [@PACKAGE_STRING@])'; \            echo 'm4_define([AT_PACKAGE_STRING],    [@PACKAGE_STRING@])'; \
368            echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \            echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
369          } >$(srcdir)/package.m4          } >$(srcdir)/package.m4
370  $(TESTSUITE): $(top_srcdir)/lib/m4sugar/m4sugar.m4 \  
371             $(top_srcdir)/lib/m4sugar/m4sh.m4 \  $(srcdir)/wrapsh.in: $(srcdir)/wrapsh.as
372             $(top_srcdir)/lib/autotest/autotest.m4 \          ./autom4te --language=M4sh $(srcdir)/wrapsh.as -o $@
373             $(top_srcdir)/lib/autotest/general.m4 \  $(TESTSUITE): $(srcdir)/package.m4 \
374             $(srcdir)/package.m4 \                atspecific.m4 \
375             atspecific.m4 \                $(TESTSUITE_AT) \
376             $(TESTSUITE_AT)                $(autotest_m4f_dependencies)
377          $(AUTOTEST) -I $(srcdir) suite.at -o $@.tmp          $(AUTOTEST) -I $(srcdir) suite.at -o $@.tmp
378          mv $@.tmp $@          mv $@.tmp $@
379    

Legend:
Removed from v.1.112  
changed lines
  Added in v.1.113

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