. "\tdone\n");
push (@tag_deps, 'tags-recursive');
&depend ('.PHONY', 'tags-recursive');
- &depend ('.MAKE', 'tags-recursive');
$output_rules .= ("ctags-recursive:\n"
. "\tlist=\'\$(SUBDIRS)\'; for subdir in \$\$list; do \\\n"
. "\tdone\n");
push (@ctag_deps, 'ctags-recursive');
&depend ('.PHONY', 'ctags-recursive');
- &depend ('.MAKE', 'ctags-recursive');
$output_rules .= ("cscopelist-recursive:\n"
. "\tlist=\'\$(SUBDIRS)\'; for subdir in \$\$list; do \\\n"
. "\tdone\n");
push (@cscope_deps, 'cscopelist-recursive');
&depend ('.PHONY', 'cscopelist-recursive');
- &depend ('.MAKE', 'cscopelist-recursive');
}
if (&saw_sources_p (1)
. "\n\t\$(MAKE) "
. (var ('SUBDIRS') ? 'all-recursive' : 'all-am')
. "\n\n");
- depend ('.MAKE', 'all');
}
else
{
{
pretty_print_rule ("\t\$(MAKE)", "\t ",
@check);
- depend ('.MAKE', 'check-am');
}
}
if (@check_tests)
{
pretty_print_rule ("\t\$(MAKE)", "\t ",
@check_tests);
- depend ('.MAKE', 'check-am');
}
depend '.PHONY', 'check', 'check-am';
: '')
. (var ('SUBDIRS') ? 'check-recursive' : 'check-am')
. "\n");
- depend ('.MAKE', 'check')
- if var ('BUILT_SOURCES');
}
# handle_clean ($MAKEFILE)
{
if (user_phony_rule "$_-hook")
{
- depend ('.MAKE', "$_-am");
register_action("$_-am",
("\t\@\$(NORMAL_INSTALL)\n"
. "\t\$(MAKE) $_-hook"));
# to append dependencies. This would not work if Automake
# refrained from defining its own .PHONY target as it does
# with other overridden targets.
- # Likewise for `.MAKE'.
my @undefined_conds = (TRUE,);
- if ($_ ne '.PHONY' && $_ ne '.MAKE')
+ if ($_ ne '.PHONY')
{
@undefined_conds =
Automake::Rule::define ($_, 'internal',
exit $$rv
.PHONY: check-html recheck-html
-.MAKE: check-html recheck-html
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-## 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-## Foundation, Inc.
+## Copyright (C) 1994-2012 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.
maintainer-clean-multi:
$(MULTICLEAN) DO=maintainer-clean multi-clean # $(MAKE)
-.MAKE .PHONY: all-multi clean-multi distclean-multi install-am \
- install-multi maintainer-clean-multi mostlyclean-multi
+.PHONY: all-multi clean-multi distclean-multi install-am \
+ install-multi maintainer-clean-multi mostlyclean-multi
install-exec-local: install-multi
uninstall: uninstall-am
endif !%?SUBDIRS%
-if %?maybe_BUILT_SOURCES%
-.MAKE: install
-endif %?maybe_BUILT_SOURCES%
-
-.MAKE .PHONY: install-am
+.PHONY: install-am
install-am: all-am
@$(MAKE) install-exec-am install-data-am
## If you ever modify this, keep in mind that INSTALL_PROGRAM is used
## in subdirectories, so never set it to a value relative to the top
## directory.
-.MAKE .PHONY: install-strip
+.PHONY: install-strip
install-strip:
## Beware that there are two variables used to install programs:
## INSTALL_PROGRAM is used for ordinary *_PROGRAMS
$(RECURSIVE_CLEAN_TARGETS:-recursive=)
.PHONY: $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS)
-.MAKE: $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS)
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
sc_tests_no_gmake_requirement \
sc_tests_no_gmake_checking \
sc_tests_make_can_chain_suffix_rules \
+sc_no_dotmake_target \
sc_no_am_makeflags \
sc_tests_no_make_e \
sc_docs_no_make_e \
"; \
$(sc_grep_for_bad_make_include)
+## The '.MAKE' special target is NetBSD-make specific, and not supported
+## by GNU make. No point in using it.
+sc_no_dotmake_target:
+ @files="\
+ `find $(srcdir) -name '*.am'` \
+ $(srcdir)/automake.in \
+ $(srcdir)/doc/*.texi \
+ "; \
+ if grep '\.MAKE' $$files; then \
+ echo "Special target '.MAKE' not supported by GNU make." 1>&2; \
+ echo "Use the '+' recipe modifier instead, or put the" \
+ "'\$$(MAKE)' string somewhere in the recipe text." 1>&2; \
+ exit 1; \
+ fi
+
## $(AM_MAKEFLAGS) is obsolete now that we assume GNU make, since it
## is smart enough to correctly pass the values of macros redefined on
## the command line to sub-make invocations.