# the filesystem. It is not created by default; recipes needing it
# should add an order-only dependency on it, as in:
#
-# am-rule: am-prereqs | $(am__dir)
-# [recipe creating/using files in $(am__dir)]
+# am-rule: am-prereqs | $(am.dir)
+# [recipe creating/using files in $(am.dir)]
#
-am__dir = .am
+am.dir = .am
# Its counterpart with an absolute path, for recipes that can chdir around.
-am__abs_dir = $(abs_builddir)/$(am__dir)
+am.abs-dir = $(abs_builddir)/$(am.dir)
# Its counterpart for use in subdir makefiles, in case they need to refer
-# to the top-level $(am__dir) directory.
-am__top_dir = $(top_builddir)/$(am__dir)
+# to the top-level $(am.dir) directory.
+am.top-dir = $(top_builddir)/$(am.dir)
# Its counterpart with an absolute path and for use in subdir makefiles.
-am__abs_top_dir = $(abs_top_builddir)/$(am__dir)
+am.abs-top-dir = $(abs_top_builddir)/$(am.dir)
.PHONY: am--distclean-amdir
am--distclean-amdir:
- rm -rf $(am__dir)
+ rm -rf $(am.dir)
distclean-am: am--distclean-amdir
-$(am__dir):
+$(am.dir):
@mkdir $@
# Makefile: .am/check-typos-stamp.mk: No such file or directory
# Although such a warning would *not* be an error in our setup, it still
# is ugly and annoying enough to justify ...
--include $(am__dir)/check-typos-stamp.mk
+-include $(am.dir)/check-typos-stamp.mk
# ... this workaround; which is required by the fact that, if a recipe
# meant to rebuild a file included with "-include" file fails, the make
# run itself is not considered failed (this is quite consistent with
# the "-include" semantics).
ifdef .am/sanity-checks-failed
-$(shell rm -f $(am__dir)/check-typos-stamp.mk)
+$(shell rm -f $(am.dir)/check-typos-stamp.mk)
$(error Some Automake-NG sanity checks failed)
else
-$(am__dir)/check-typos-stamp.mk: %MAKEFILE% | $(am__dir)
+$(am.dir)/check-typos-stamp.mk: %MAKEFILE% | $(am.dir)
@if \
$(MAKE) --no-print-directory AM_FORCE_SANITY_CHECKS=yes .am/nil; \
then \
@$(MKDIR_P) $(patsubst %,"$(distdir)"/%,$1)$(am.chars.newline)
am.write-list-of-distfiles = \
@lst='$1'; for x in $$lst; do echo $$x; done \
- >> $(am__dir)/$@-list$(am.chars.newline)
+ >> $(am.dir)/$@-list$(am.chars.newline)
if %?TOPDIR_P%
distdir = $(PACKAGE)-$(VERSION)
AM_RECURSIVE_TARGETS += distdir
endif %?SUBDIRS%
-distdir: $(am.dist.all-files) | $(am__dir)
+distdir: $(am.dist.all-files) | $(am.dir)
##
## For Gnits users, this is pretty handy. Look at 15 lines
## in case some explanatory text is desirable.
## There are situations in which 'ln' can fail. For instance a file to
## distribute could actually be a cross-filesystem symlink -- this can
## easily happen if "gettextize" was run on the distribution.
- @rm -f $(am__dir)/$@-list
+ @rm -f $(am.dir)/$@-list
$(call am.xargs-map,am.write-list-of-distfiles, \
$(am.dist.files-cooked))
@while read file; do \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
- done < $(am__dir)/$@-list
+ done < $(am.dir)/$@-list
##
## Test for directory existence here because previous automake
## invocation might have created some directories. Note that we
# $(TEST_LOGS) is a published interface.
TEST_LOGS = $(am.test-suite.test-logs)
-am.test-suite.workdir = $(am__dir)/test-harness
+am.test-suite.workdir = $(am.dir)/test-harness
am.test-suite.append-to-list-of-bases = \
@lst='$1'; for x in $$lst; do echo $$x; done \
# Check support for private automake working directory in builddir:
#
# * internal variables:
-# $(am__dir)
-# $(am__abs_dir)
-# $(am__top_dir)
-# $(am__abs_top_dir)
+# $(am.dir)
+# $(am.abs-dir)
+# $(am.top-dir)
+# $(am.abs-top-dir)
#
# * cleaning rules and "make distcheck" interaction.
#
cat > Makefile.am <<'END'
SUBDIRS = . xsrc
-all-local: | $(am__dir)
+all-local: | $(am.dir)
END
mkdir xsrc
cat >> xsrc/Makefile.am <<'END'
subdir:
mkdir $@
-all-local: | $(am__dir) subdir
- : > $(am__dir)/sub
- : > $(am__top_dir)/top
- (cd ./subdir && : > $(am__abs_dir)/abs-sub)
+all-local: | $(am.dir) subdir
+ : > $(am.dir)/sub
+ : > $(am.top-dir)/top
+ (cd ./subdir && : > $(am.abs-dir)/abs-sub)
rmdir subdir
- (cd /tmp && : > $(am__abs_top_dir)/abs-top)
+ (cd /tmp && : > $(am.abs-top-dir)/abs-top)
END
sort > exp <<END