summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-19 13:44:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-19 13:44:03 +0000
commitecb2755e06e5ac69f79b05b63e42c5c827032e16 (patch)
tree4c63c66ae77b457533eb40742e6cd64b24d80627
parentPatch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to reorganize (diff)
downloadrtems-ecb2755e06e5ac69f79b05b63e42c5c827032e16.tar.bz2
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to address this:
> * RTEMS's 'make depend' isn't a standard automake make target and is not > supported in automake supported subdirectories.
Diffstat (limited to '')
-rw-r--r--automake/local.am25
-rw-r--r--automake/subdirs.am29
2 files changed, 30 insertions, 24 deletions
diff --git a/automake/local.am b/automake/local.am
index 80a7453cd7..c7c5f26b95 100644
--- a/automake/local.am
+++ b/automake/local.am
@@ -1,35 +1,34 @@
## $Id$
## NOTE: This is a temporary work-around to keep
-## "make debug" and "make debug_install" working.
+## RTEMS's non automake standard make targets working.
## Once automake is fully integrated these make targets
## and this file will probably be removed
debug-am:
-
debug: debug-am
+.PHONY: debug debug-am
debug_install-am:
-
debug_install: debug_install-am
-
-.PHONY: debug debug_install debug-am
-
+.PHONY: debug_install debug_install-am
profile-am:
-
profile: profile-am
+.PHONY: profile profile-am
profile_install-am:
-
profile_install: profile_install-am
-
-.PHONY: profile profile_install profile-am
-
+.PHONY: profile_install profile_install-am
preinstall-am:
-
preinstall: preinstall-am
-
.PHONY: preinstall preinstall-am
+clobber-am:
+clobber: clobber-am
+.PHONY: clobber clobber-am
+
+depend-am:
+depend: depend-am
+.PHONY: depend depend-am
diff --git a/automake/subdirs.am b/automake/subdirs.am
index 267fa24025..a60f1f37ba 100644
--- a/automake/subdirs.am
+++ b/automake/subdirs.am
@@ -1,16 +1,19 @@
## $Id$
-## Borrowed from automake-1.4, adapted to support RTEMS's
-## "make debug", "make debug_install", "make profile", "make profile_install"
+## Borrowed from automake-1.4 and adapted to RTEMS
## NOTE: This is a temporary work-around to keep
-## "make debug" and "make debug_install" working.
+## RTEMS's non automake standard make targets working.
## Once automake is fully integrated these make targets
## and this file will probably be removed
+depend-recursive \
+clobber-recursive \
preinstall-recursive \
-debug-recursive debug_install-recursive \
-profile-recursive profile_install-recursive:
+debug-recursive \
+debug_install-recursive \
+profile-recursive \
+profile_install-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
@@ -32,18 +35,22 @@ profile-recursive profile_install-recursive:
fi; test -z "$$fail"
debug: debug-recursive
+.PHONY: debug-recursive
debug_install: debug_install-recursive
+.PHONY: debug_install-recursive
profile: profile-recursive
+.PHONY: profile-recursive
profile_install: profile_install-recursive
+.PHONY: profile-recursive
preinstall: preinstall-recursive
+.PHONY: preinstall-recursive
-.PHONY: \
-debug debug-recursive \
-debug_install \
-profile profile-recursive \
-profile_install \
-preinstall preinstall-recursive
+clobber: clobber-recursive
+.PHONY: clobber-recursive
+
+depend: depend-recursive
+.PHONY: depend-recursive