# Copyright 2010-2021,2023 Thomas E. Dickey # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ datadir = @datadir@ DESTDIR = top_builddir = .. transform = @program_transform_name@ EXPR = @EXPR@ M4 = @M4@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SUITE = suite.at \ m4sugar.at \ m4sh.at \ base.at \ tools.at \ torture.at \ compile.at \ semantics.at \ acgeneral.at \ acspecific.at \ acfunctions.at \ aclang.at \ acheaders.at \ actypes.at EGREP = @EGREP@ FGREP = @FGREP@ # We don't actually distribute the testsuite, since one only # needs m4 to build it, m4 being required anyway to install Autoconf. EXTRA_DIST = README atgeneral.m4 atspecific.m4 aclocal.m4 $(SUITE) mktests.sh # The files which contains macro we check for syntax. Don't use $(top_srcdir) # here since below we explicitly `cd' to $srcdir. As for the dependencies, # thanks God for VPATH. Hm... MACRO_FILES = \ ../acgeneral.m4 \ ../acspecific.m4 \ ../acfunctions.m4 \ ../aclang.m4 \ ../acheaders.m4 \ ../actypes.m4 CLEANFILES = \ debug-*.sh \ macro \ configure \ configure.in \ configure.ac \ config.status \ config.cache \ config.log \ config.h.in \ config.h \ config.hin \ state-* \ at-* \ stderr \ stdout \ empty \ config.guess \ config.sub \ expr \ libtool \ ltconfig \ ltmain.sh \ install-sh DISTCLEANFILES = atconfig testsuite CONFIG_CLEAN_FILES = \ atconfig \ mktests.sh \ acgeneral.at \ acspecific.at \ acfunctions.at \ aclang.at \ acheaders.at \ actypes.at DIST_COMMON = README Makefile.am Makefile.in atconfig.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status atconfig: $(top_builddir)/config.status atconfig.in cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status tags: TAGS TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = tests distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am $(MAKE) $(AM_MAKEFLAGS) check-local check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall: uninstall-am all-am: Makefile all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: tags distdir info-am info dvi-am dvi check-local check check-am \ installcheck-am installcheck install-exec-am install-exec \ install-data-am install-data install-am install uninstall-am uninstall \ all-redirect all-am all installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean check-local: atconfig testsuite @echo "making $@" @FGREP="$(FGREP)" EGREP="$(EGREP)" $(SHELL) testsuite testsuite: $(top_srcdir)/m4sugar.m4 $(top_srcdir)/m4sh.m4 \ atgeneral.m4 atspecific.m4 \ $(SUITE) $(M4) -I $(srcdir) -I $(top_srcdir) atspecific.m4 suite.at | \ sed -e 's/[ ]*$$//' | \ sed -e '/^$$/N;/\n$$/D' >$@.tmp chmod +x $@.tmp mv $@.tmp $@ acgeneral.at: mktests.sh $(MACRO_FILES) cd $(srcdir) && $(SHELL) ./mktests.sh $(MACRO_FILES) acspecific.at: mktests.sh $(MACRO_FILES) cd $(srcdir) && $(SHELL) ./mktests.sh $(MACRO_FILES) acfunctions.at: mktests.sh $(MACRO_FILES) cd $(srcdir) && $(SHELL) ./mktests.sh $(MACRO_FILES) aclang.at: mktests.sh $(MACRO_FILES) cd $(srcdir) && $(SHELL) ./mktests.sh $(MACRO_FILES) acheaders.at: mktests.sh $(MACRO_FILES) cd $(srcdir) && $(SHELL) ./mktests.sh $(MACRO_FILES) actypes.at: mktests.sh $(MACRO_FILES) cd $(srcdir) && $(SHELL) ./mktests.sh $(MACRO_FILES) maintainer-check: maintainer-check-posix maintainer-check-c++ # The hairy heredoc is more robust than using echo. expr: echo '#! $(SHELL)' >expr echo 'result=`@EXPR@ "$$@"`' >>expr echo 'estatus=$$?' >>expr echo 'cat <>expr echo '$${result:-0}' >>expr echo 'EOF' >>expr echo 'exit $$estatus' >>expr chmod +x expr # Try the test suite with more severe environments. maintainer-check-posix: expr POSIXLY_CORRECTLY=yes make check rm expr # Try using G++ as a C compiler. maintainer-check-c++: CC=g++ make check # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: