summaryrefslogtreecommitdiffstats
path: root/automake/subdirs.am
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 /automake/subdirs.am
parentb6529a34fd5a3b821bfef0cdecea8106a8487ef0 (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 'automake/subdirs.am')
-rw-r--r--automake/subdirs.am29
1 files changed, 18 insertions, 11 deletions
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