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