Makefile.in 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643
  1. # Makefile.in generated by automake 1.11.1 from Makefile.am.
  2. # @configure_input@
  3. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  4. # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  5. # Inc.
  6. # This Makefile.in is free software; the Free Software Foundation
  7. # gives unlimited permission to copy and/or distribute it,
  8. # with or without modifications, as long as this notice is preserved.
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  11. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  12. # PARTICULAR PURPOSE.
  13. @SET_MAKE@
  14. # Copyright (C) 2000-2012 Free Software Foundation, Inc.
  15. # This program is free software: you can redistribute it and/or modify
  16. # it under the terms of the GNU General Public License as published by
  17. # the Free Software Foundation, either version 3 of the License, or
  18. # (at your option) any later version.
  19. # This program is distributed in the hope that it will be useful,
  20. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  21. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  22. # GNU General Public License for more details.
  23. # You should have received a copy of the GNU General Public License
  24. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  25. # Freeze M4 files.
  26. # Copyright (C) 2002, 2004, 2006-2012 Free Software Foundation, Inc.
  27. # This program is free software: you can redistribute it and/or modify
  28. # it under the terms of the GNU General Public License as published by
  29. # the Free Software Foundation, either version 3 of the License, or
  30. # (at your option) any later version.
  31. # This program is distributed in the hope that it will be useful,
  32. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  33. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  34. # GNU General Public License for more details.
  35. # You should have received a copy of the GNU General Public License
  36. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  37. VPATH = @srcdir@
  38. pkgdatadir = $(datadir)/@PACKAGE@
  39. pkgincludedir = $(includedir)/@PACKAGE@
  40. pkglibdir = $(libdir)/@PACKAGE@
  41. pkglibexecdir = $(libexecdir)/@PACKAGE@
  42. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  43. install_sh_DATA = $(install_sh) -c -m 644
  44. install_sh_PROGRAM = $(install_sh) -c
  45. install_sh_SCRIPT = $(install_sh) -c
  46. INSTALL_HEADER = $(INSTALL_DATA)
  47. transform = $(program_transform_name)
  48. NORMAL_INSTALL = :
  49. PRE_INSTALL = :
  50. POST_INSTALL = :
  51. NORMAL_UNINSTALL = :
  52. PRE_UNINSTALL = :
  53. POST_UNINSTALL = :
  54. build_triplet = @build@
  55. host_triplet = @host@
  56. DIST_COMMON = $(srcdir)/../lib/freeze.mk $(srcdir)/Makefile.am \
  57. $(srcdir)/Makefile.in $(srcdir)/atlocal.in
  58. subdir = tests
  59. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  60. am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
  61. $(top_srcdir)/m4/m4.m4 $(top_srcdir)/m4/make-case.m4 \
  62. $(top_srcdir)/configure.ac
  63. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  64. $(ACLOCAL_M4)
  65. mkinstalldirs = $(install_sh) -d
  66. CONFIG_CLEAN_FILES = atlocal
  67. CONFIG_CLEAN_VPATH_FILES =
  68. SCRIPTS = $(noinst_SCRIPTS)
  69. SOURCES =
  70. DIST_SOURCES =
  71. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  72. ACLOCAL = @ACLOCAL@
  73. AMTAR = @AMTAR@
  74. AUTOCONF = @AUTOCONF@
  75. AUTOHEADER = @AUTOHEADER@
  76. AUTOMAKE = @AUTOMAKE@
  77. AWK = @AWK@
  78. CYGPATH_W = @CYGPATH_W@
  79. DEFS = @DEFS@
  80. ECHO_C = @ECHO_C@
  81. ECHO_N = @ECHO_N@
  82. ECHO_T = @ECHO_T@
  83. EGREP = @EGREP@
  84. EMACS = @EMACS@
  85. EMACSLOADPATH = @EMACSLOADPATH@
  86. EXPR = @EXPR@
  87. GREP = @GREP@
  88. HELP2MAN = @HELP2MAN@
  89. INSTALL = @INSTALL@
  90. INSTALL_DATA = @INSTALL_DATA@
  91. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  92. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  93. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  94. LIBOBJS = @LIBOBJS@
  95. LIBS = @LIBS@
  96. LTLIBOBJS = @LTLIBOBJS@
  97. M4 = @M4@
  98. M4_DEBUGFILE = @M4_DEBUGFILE@
  99. M4_GNU = @M4_GNU@
  100. MAKEINFO = @MAKEINFO@
  101. MKDIR_P = @MKDIR_P@
  102. PACKAGE = @PACKAGE@
  103. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  104. PACKAGE_NAME = @PACKAGE_NAME@
  105. PACKAGE_STRING = @PACKAGE_STRING@
  106. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  107. PACKAGE_URL = @PACKAGE_URL@
  108. PACKAGE_VERSION = @PACKAGE_VERSION@
  109. PATH_SEPARATOR = @PATH_SEPARATOR@
  110. PERL = @PERL@
  111. PERL_FLOCK = @PERL_FLOCK@
  112. SED = @SED@
  113. SET_MAKE = @SET_MAKE@
  114. SHELL = @SHELL@
  115. STRIP = @STRIP@
  116. TEST_EMACS = @TEST_EMACS@
  117. VERSION = @VERSION@
  118. abs_builddir = @abs_builddir@
  119. abs_srcdir = @abs_srcdir@
  120. abs_top_builddir = @abs_top_builddir@
  121. abs_top_srcdir = @abs_top_srcdir@
  122. ac_cv_dir_trailing_space = @ac_cv_dir_trailing_space@
  123. ac_cv_sh_n_works = @ac_cv_sh_n_works@
  124. ac_cv_unsupported_fs_chars = @ac_cv_unsupported_fs_chars@
  125. am__leading_dot = @am__leading_dot@
  126. am__tar = @am__tar@
  127. am__untar = @am__untar@
  128. bindir = @bindir@
  129. build = @build@
  130. build_alias = @build_alias@
  131. build_cpu = @build_cpu@
  132. build_os = @build_os@
  133. build_vendor = @build_vendor@
  134. builddir = @builddir@
  135. datadir = @datadir@
  136. datarootdir = @datarootdir@
  137. docdir = @docdir@
  138. dvidir = @dvidir@
  139. exec_prefix = @exec_prefix@
  140. host = @host@
  141. host_alias = @host_alias@
  142. host_cpu = @host_cpu@
  143. host_os = @host_os@
  144. host_vendor = @host_vendor@
  145. htmldir = @htmldir@
  146. includedir = @includedir@
  147. infodir = @infodir@
  148. install_sh = @install_sh@
  149. libdir = @libdir@
  150. libexecdir = @libexecdir@
  151. lispdir = @lispdir@
  152. localedir = @localedir@
  153. localstatedir = @localstatedir@
  154. mandir = @mandir@
  155. mkdir_p = @mkdir_p@
  156. oldincludedir = @oldincludedir@
  157. pdfdir = @pdfdir@
  158. prefix = @prefix@
  159. program_transform_name = @program_transform_name@
  160. psdir = @psdir@
  161. sbindir = @sbindir@
  162. sharedstatedir = @sharedstatedir@
  163. srcdir = @srcdir@
  164. sysconfdir = @sysconfdir@
  165. target_alias = @target_alias@
  166. top_build_prefix = @top_build_prefix@
  167. top_builddir = @top_builddir@
  168. top_srcdir = @top_srcdir@
  169. # We don't actually distribute the built testsuite or package.m4, since one
  170. # only needs m4 to build them, and m4 is required to install Autoconf.
  171. # But if you are borrowing from this file for setting up autotest in your
  172. # project, remember to distribute both testsuite and package.m4.
  173. EXTRA_DIST = $(TESTSUITE_AT) local.at mktests.sh atlocal.in wrapper.as \
  174. statesave.m4 mktests.stamp
  175. # Running the uninstalled scripts. Build them upon `all', for the manpages.
  176. noinst_SCRIPTS = $(wrappers)
  177. DISTCLEANFILES = atconfig atlocal $(TESTSUITE)
  178. MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE_GENERATED_AT) \
  179. mktests.stamp
  180. SUFFIXES = .m4 .m4f
  181. AUTOM4TE_CFG = $(top_builddir)/lib/autom4te.cfg
  182. # Do not use AUTOM4TE here, since maint.mk (my-distcheck)
  183. # checks if we are independent of Autoconf by defining AUTOM4TE (and
  184. # others) to `false'. Autoconf provides autom4te, so that doesn't
  185. # apply to us.
  186. MY_AUTOM4TE = \
  187. autom4te_perllibdir='$(top_srcdir)'/lib \
  188. AUTOM4TE_CFG='$(AUTOM4TE_CFG)' $(top_builddir)/bin/autom4te \
  189. -B '$(top_builddir)'/lib -B '$(top_srcdir)'/lib # keep ` '
  190. # Factor the dependencies between all the frozen files.
  191. # Some day we should explain to Automake how to use autom4te to compute
  192. # the dependencies...
  193. src_libdir = $(top_srcdir)/lib
  194. build_libdir = $(top_builddir)/lib
  195. m4f_dependencies = $(top_builddir)/bin/autom4te $(AUTOM4TE_CFG)
  196. m4sugar_m4f_dependencies = \
  197. $(m4f_dependencies) \
  198. $(src_libdir)/m4sugar/m4sugar.m4 \
  199. $(build_libdir)/m4sugar/version.m4
  200. m4sh_m4f_dependencies = \
  201. $(m4sugar_m4f_dependencies) \
  202. $(src_libdir)/m4sugar/m4sh.m4
  203. autotest_m4f_dependencies = \
  204. $(m4sh_m4f_dependencies) \
  205. $(src_libdir)/autotest/autotest.m4 \
  206. $(src_libdir)/autotest/general.m4 \
  207. $(src_libdir)/autotest/specific.m4
  208. autoconf_m4f_dependencies = \
  209. $(m4sh_m4f_dependencies) \
  210. $(src_libdir)/autoconf/autoscan.m4 \
  211. $(src_libdir)/autoconf/general.m4 \
  212. $(src_libdir)/autoconf/autoheader.m4 \
  213. $(src_libdir)/autoconf/autoupdate.m4 \
  214. $(src_libdir)/autoconf/autotest.m4 \
  215. $(src_libdir)/autoconf/status.m4 \
  216. $(src_libdir)/autoconf/oldnames.m4 \
  217. $(src_libdir)/autoconf/specific.m4 \
  218. $(src_libdir)/autoconf/lang.m4 \
  219. $(src_libdir)/autoconf/c.m4 \
  220. $(src_libdir)/autoconf/fortran.m4 \
  221. $(src_libdir)/autoconf/erlang.m4 \
  222. $(src_libdir)/autoconf/go.m4 \
  223. $(src_libdir)/autoconf/functions.m4 \
  224. $(src_libdir)/autoconf/headers.m4 \
  225. $(src_libdir)/autoconf/types.m4 \
  226. $(src_libdir)/autoconf/libs.m4 \
  227. $(src_libdir)/autoconf/programs.m4 \
  228. $(src_libdir)/autoconf/autoconf.m4
  229. ETAGS_FOR_M4 = \
  230. --lang=none \
  231. --regex='/\(m4_define\|define\)(\[\([^]]*\)\]/\2/'
  232. ETAGS_FOR_M4SUGAR = \
  233. $(ETAGS_FOR_M4) \
  234. --regex='/m4_defun(\[\([^]]*\)\]/\1/'
  235. ETAGS_FOR_AUTOCONF = \
  236. $(ETAGS_FOR_M4SUGAR) \
  237. --regex='/\(A[CU]_DEFUN\|AU_ALIAS\)(\[\([^]]*\)\]/\2/' \
  238. --regex='/AN_\(FUNCTION\|HEADER\|IDENTIFIER\|LIBRARY\|MAKEVAR\|PROGRAM\)(\[\([^]]*\)\]/\2/'
  239. wrappers = autoconf autoheader autom4te autoreconf autoscan autoupdate ifnames
  240. # The hairy heredoc is more robust than using echo.
  241. CLEANFILES = wrapper.in $(wrappers) package.m4 mktests.tmp expr
  242. edit = sed \
  243. -e 's|@wrap_program[@]|$@|g' \
  244. -e 's|@abs_top_srcdir[@]|@abs_top_srcdir@|g' \
  245. -e 's|@abs_top_builddir[@]|@abs_top_builddir@|g' \
  246. -e "s|@configure_input[@]|Generated from $$input.|g"
  247. TESTSUITE_GENERATED_AT = \
  248. $(srcdir)/aclang.at \
  249. $(srcdir)/acc.at \
  250. $(srcdir)/acfortran.at \
  251. $(srcdir)/acgo.at \
  252. $(srcdir)/acgeneral.at \
  253. $(srcdir)/acstatus.at \
  254. $(srcdir)/acautoheader.at \
  255. $(srcdir)/acautoupdate.at \
  256. $(srcdir)/acspecific.at \
  257. $(srcdir)/acfunctions.at \
  258. $(srcdir)/acheaders.at \
  259. $(srcdir)/actypes.at \
  260. $(srcdir)/aclibs.at \
  261. $(srcdir)/acprograms.at
  262. TESTSUITE_HAND_AT = \
  263. suite.at \
  264. m4sugar.at m4sh.at autotest.at \
  265. base.at tools.at torture.at \
  266. compile.at c.at erlang.at fortran.at go.at \
  267. semantics.at \
  268. autoscan.at \
  269. foreign.at
  270. TESTSUITE_AT = $(TESTSUITE_GENERATED_AT) $(TESTSUITE_HAND_AT)
  271. TESTSUITE = ./testsuite
  272. # Run the non installed autom4te.
  273. # Don't use AUTOM4TE since `make alpha' makes it unavailable although
  274. # we are allowed to use it (since we ship it).
  275. AUTOTEST = $(MY_AUTOM4TE) --language=autotest
  276. # Avoid a race condition that would make parallel "distclean" fail.
  277. # The rule in clean-local tests for existence of $(TESTSUITE), and
  278. # if found, attempts to run it. But the distclean-generic rule may
  279. # be running in parallel, and it removes $(DISTCLEANFILES) which
  280. # includes $(TESTSUITE). This is the Automake rule, plus our
  281. # dependency, and we silence the warning from 'automake -Wall' by
  282. # hiding the dependency behind a variable.
  283. # TODO - fix this if newer automake accommodates the dependency.
  284. distclean_generic = distclean-generic
  285. # The files which contain macros we check for syntax. Use $(top_srcdir)
  286. # for the benefit of non-GNU make. Fix the names in the rule below
  287. # where we `cd' to $srcdir.
  288. autoconfdir = $(top_srcdir)/lib/autoconf
  289. AUTOCONF_FILES = $(autoconfdir)/general.m4 \
  290. $(autoconfdir)/status.m4 \
  291. $(autoconfdir)/autoheader.m4 \
  292. $(autoconfdir)/autoupdate.m4 \
  293. $(autoconfdir)/specific.m4 \
  294. $(autoconfdir)/functions.m4 \
  295. $(autoconfdir)/lang.m4 \
  296. $(autoconfdir)/c.m4 \
  297. $(autoconfdir)/erlang.m4 \
  298. $(autoconfdir)/fortran.m4 \
  299. $(autoconfdir)/go.m4 \
  300. $(autoconfdir)/headers.m4 \
  301. $(autoconfdir)/libs.m4 \
  302. $(autoconfdir)/types.m4 \
  303. $(autoconfdir)/programs.m4
  304. all: all-am
  305. .SUFFIXES:
  306. .SUFFIXES: .m4 .m4f
  307. $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../lib/freeze.mk $(am__configure_deps)
  308. @for dep in $?; do \
  309. case '$(am__configure_deps)' in \
  310. *$$dep*) \
  311. ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  312. && { if test -f $@; then exit 0; else break; fi; }; \
  313. exit 1;; \
  314. esac; \
  315. done; \
  316. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
  317. $(am__cd) $(top_srcdir) && \
  318. $(AUTOMAKE) --gnu tests/Makefile
  319. .PRECIOUS: Makefile
  320. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  321. @case '$?' in \
  322. *config.status*) \
  323. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  324. *) \
  325. echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  326. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  327. esac;
  328. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  329. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  330. $(top_srcdir)/configure: $(am__configure_deps)
  331. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  332. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  333. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  334. $(am__aclocal_m4_deps):
  335. atlocal: $(top_builddir)/config.status $(srcdir)/atlocal.in
  336. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
  337. tags: TAGS
  338. TAGS:
  339. ctags: CTAGS
  340. CTAGS:
  341. distdir: $(DISTFILES)
  342. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  343. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  344. list='$(DISTFILES)'; \
  345. dist_files=`for file in $$list; do echo $$file; done | \
  346. sed -e "s|^$$srcdirstrip/||;t" \
  347. -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  348. case $$dist_files in \
  349. */*) $(MKDIR_P) `echo "$$dist_files" | \
  350. sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  351. sort -u` ;; \
  352. esac; \
  353. for file in $$dist_files; do \
  354. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  355. if test -d $$d/$$file; then \
  356. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  357. if test -d "$(distdir)/$$file"; then \
  358. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  359. fi; \
  360. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  361. cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  362. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  363. fi; \
  364. cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  365. else \
  366. test -f "$(distdir)/$$file" \
  367. || cp -p $$d/$$file "$(distdir)/$$file" \
  368. || exit 1; \
  369. fi; \
  370. done
  371. check-am: all-am
  372. $(MAKE) $(AM_MAKEFLAGS) check-local
  373. check: check-am
  374. all-am: Makefile $(SCRIPTS)
  375. installdirs:
  376. install: install-am
  377. install-exec: install-exec-am
  378. install-data: install-data-am
  379. uninstall: uninstall-am
  380. install-am: all-am
  381. @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  382. installcheck: installcheck-am
  383. install-strip:
  384. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  385. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  386. `test -z '$(STRIP)' || \
  387. echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  388. mostlyclean-generic:
  389. clean-generic:
  390. -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  391. distclean-generic:
  392. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  393. -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  394. -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
  395. maintainer-clean-generic:
  396. @echo "This command is intended for maintainers to use"
  397. @echo "it deletes files that may require special tools to rebuild."
  398. -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
  399. clean: clean-am
  400. clean-am: clean-generic clean-local mostlyclean-am
  401. distclean: distclean-am
  402. -rm -f Makefile
  403. distclean-am: clean-am distclean-generic
  404. dvi: dvi-am
  405. dvi-am:
  406. html: html-am
  407. html-am:
  408. info: info-am
  409. info-am:
  410. install-data-am:
  411. install-dvi: install-dvi-am
  412. install-dvi-am:
  413. install-exec-am:
  414. install-html: install-html-am
  415. install-html-am:
  416. install-info: install-info-am
  417. install-info-am:
  418. install-man:
  419. install-pdf: install-pdf-am
  420. install-pdf-am:
  421. install-ps: install-ps-am
  422. install-ps-am:
  423. installcheck-am: installcheck-local
  424. maintainer-clean: maintainer-clean-am
  425. -rm -f Makefile
  426. maintainer-clean-am: distclean-am maintainer-clean-generic
  427. mostlyclean: mostlyclean-am
  428. mostlyclean-am: mostlyclean-generic
  429. pdf: pdf-am
  430. pdf-am:
  431. ps: ps-am
  432. ps-am:
  433. uninstall-am:
  434. .MAKE: check-am install-am install-strip
  435. .PHONY: all all-am check check-am check-local clean clean-generic \
  436. clean-local distclean distclean-generic distdir dvi dvi-am \
  437. html html-am info info-am install install-am install-data \
  438. install-data-am install-dvi install-dvi-am install-exec \
  439. install-exec-am install-html install-html-am install-info \
  440. install-info-am install-man install-pdf install-pdf-am \
  441. install-ps install-ps-am install-strip installcheck \
  442. installcheck-am installcheck-local installdirs \
  443. maintainer-clean maintainer-clean-generic mostlyclean \
  444. mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
  445. $(AUTOM4TE_CFG): $(top_srcdir)/lib/autom4te.in
  446. cd $(top_builddir)/lib && $(MAKE) $(AM_MAKEFLAGS) autom4te.cfg
  447. # When processing the file with diversion disabled, there must be no
  448. # output but comments and empty lines.
  449. # If freezing produces output, something went wrong: a bad `divert',
  450. # or an improper paren etc.
  451. # It may happen that the output does not end with an end of line, hence
  452. # force an end of line when reporting errors.
  453. .m4.m4f:
  454. $(MY_AUTOM4TE) \
  455. --language=$* \
  456. --freeze \
  457. --output=$@
  458. # For parallel builds.
  459. $(build_libdir)/m4sugar/version.m4:
  460. cd $(build_libdir)/m4sugar && $(MAKE) $(AM_MAKEFLAGS) version.m4
  461. check-forbidden-patterns:
  462. @if (cd $(srcdir) && \
  463. $(GREP) $(forbidden_patterns) $(forbidden_patterns_files)) \
  464. >forbidden.log; then \
  465. echo "ERROR: forbidden patterns were found:" >&2; \
  466. sed "s|^|$*.m4: |" <forbidden.log >&2; \
  467. echo >&2; \
  468. exit 1; \
  469. else \
  470. rm -f forbidden.log; \
  471. fi
  472. # Import the dependencies on Autotest and M4sh.
  473. # The `:;' works around a redirected compound command bash exit status bug.
  474. package.m4: Makefile
  475. :;{ \
  476. echo '# Signature of the current package.' && \
  477. echo 'm4_define([AT_PACKAGE_NAME], [$(PACKAGE_NAME)])' && \
  478. echo 'm4_define([AT_PACKAGE_TARNAME], [$(PACKAGE_TARNAME)])' && \
  479. echo 'm4_define([AT_PACKAGE_VERSION], [$(PACKAGE_VERSION)])' && \
  480. echo 'm4_define([AT_PACKAGE_STRING], [$(PACKAGE_STRING)])' && \
  481. echo 'm4_define([AT_PACKAGE_BUGREPORT], [$(PACKAGE_BUGREPORT)])' && \
  482. echo 'm4_define([AT_PACKAGE_URL], [$(PACKAGE_URL)])'; \
  483. } > $@-t
  484. mv $@-t $@
  485. wrapper.in: $(srcdir)/wrapper.as $(m4sh_m4f_dependencies)
  486. $(MY_AUTOM4TE) --language=M4sh $(srcdir)/wrapper.as -o $@
  487. $(wrappers): wrapper.in
  488. rm -f $@ $@.tmp
  489. input=wrapper.in; \
  490. $(edit) wrapper.in >$@.tmp
  491. chmod +x $@.tmp
  492. chmod a-w $@.tmp
  493. mv -f $@.tmp $@
  494. $(TESTSUITE): package.m4 \
  495. local.at \
  496. $(TESTSUITE_AT) \
  497. $(autotest_m4f_dependencies)
  498. cd $(top_builddir)/lib/autotest && $(MAKE) $(AM_MAKEFLAGS) autotest.m4f
  499. $(AUTOTEST) -I . -I $(srcdir) suite.at -o $@.tmp
  500. mv $@.tmp $@
  501. atconfig: $(top_builddir)/config.status
  502. cd $(top_builddir) && ./config.status tests/$@
  503. $(distclean_generic): clean-local
  504. clean-local:
  505. test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
  506. rm -f *.tmp
  507. rm -f -r autom4te.cache
  508. check-local: atconfig atlocal $(TESTSUITE)
  509. $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS)
  510. # Run the test suite on the *installed* tree.
  511. installcheck-local: atconfig atlocal $(TESTSUITE)
  512. $(SHELL) $(TESTSUITE) AUTOTEST_PATH="$(bindir)" $(TESTSUITEFLAGS)
  513. $(TESTSUITE_GENERATED_AT): mktests.stamp
  514. @if test -f $@; then :; else \
  515. rm -f mktests.stamp; \
  516. $(MAKE) $(AM_MAKEFLAGS) mktests.stamp; \
  517. fi
  518. mktests.stamp : mktests.sh $(AUTOCONF_FILES)
  519. @rm -f mktests.tmp
  520. @touch mktests.tmp
  521. cd $(srcdir) && ./mktests.sh \
  522. `echo " "$(AUTOCONF_FILES) | sed 's, [^ ]*/, ../lib/autoconf/,g'`
  523. @mv -f mktests.tmp $@
  524. # These cannot be run in parallel.
  525. maintainer-check:
  526. $(MAKE) $(AM_MAKEFLAGS) maintainer-check-posix
  527. $(MAKE) $(AM_MAKEFLAGS) maintainer-check-c++
  528. expr:
  529. :;{ \
  530. echo '#! $(SHELL)'; \
  531. echo 'result=`$(EXPR) "$$@"`'; \
  532. echo 'estatus=$$?'; \
  533. echo 'cat <<EOF'; \
  534. echo '$${result:-0}'; \
  535. echo 'EOF'; \
  536. echo 'exit $$estatus'; \
  537. } > $@-t
  538. chmod +x $@-t
  539. mv $@-t $@
  540. # Try the test suite with more severe environments.
  541. maintainer-check-posix: expr
  542. POSIXLY_CORRECT=yes $(MAKE) $(AM_MAKEFLAGS) check
  543. rm expr
  544. # Try using G++ as a C compiler.
  545. maintainer-check-c++:
  546. CC=g++ $(MAKE) $(AM_MAKEFLAGS) check
  547. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  548. # Otherwise a system limit (for SysV at least) may be exceeded.
  549. .NOEXPORT: