summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2016-07-07 20:15:29 -0400
committerSteve Huston <shuston@riverace.com>2016-07-07 20:15:29 -0400
commitce6901f995267e3bc2cf5695c1bca42bd07b44b0 (patch)
tree1fc725eb48bdf916994ced99babe42d0f455507b
parent692c56dc8b674317877ca270256777acae1ace67 (diff)
downloadATCD-ce6901f995267e3bc2cf5695c1bca42bd07b44b0.tar.gz
Case 2025, see notes
-rw-r--r--ACE/include/makeinclude/macros.GNU3
-rw-r--r--ACE/include/makeinclude/rules.local.GNU3
-rw-r--r--ACE/include/makeinclude/rules.nested.GNU3
3 files changed, 6 insertions, 3 deletions
diff --git a/ACE/include/makeinclude/macros.GNU b/ACE/include/makeinclude/macros.GNU
index 463d7f6e105..ffc8fa0e557 100644
--- a/ACE/include/makeinclude/macros.GNU
+++ b/ACE/include/makeinclude/macros.GNU
@@ -22,7 +22,8 @@ TARGETS_LOCAL = \
depend.local \
rcs_info.local \
idl_stubs.local \
- svnignore.local
+ svnignore.local \
+ $(PRIVATE_TARGETS_LOCAL)
TARGETS_NESTED = \
$(TARGETS_LOCAL:.local=.nested)
diff --git a/ACE/include/makeinclude/rules.local.GNU b/ACE/include/makeinclude/rules.local.GNU
index 21ba3631a74..c57f9c97f08 100644
--- a/ACE/include/makeinclude/rules.local.GNU
+++ b/ACE/include/makeinclude/rules.local.GNU
@@ -426,7 +426,8 @@ endif # DO_CLEANUP
# Dependency generation target
#----------------------------------------------------------------------------
-MAKEFILE ?= GNUmakefile
+TOP_MAKEFILE := $(word 1,$(MAKEFILE_LIST))
+MAKEFILE ?= $(TOP_MAKEFILE)
DEPENDENCY_FILE ?= $(MAKEFILE)
IDL_DEPENDENCY_FILES ?= $(MAKEFILE)
diff --git a/ACE/include/makeinclude/rules.nested.GNU b/ACE/include/makeinclude/rules.nested.GNU
index d248105628d..408097db591 100644
--- a/ACE/include/makeinclude/rules.nested.GNU
+++ b/ACE/include/makeinclude/rules.nested.GNU
@@ -10,7 +10,8 @@
# variable must be set to its actual name before including this
# file to allow the recursive MAKE to work properly.
-MAKEFILE ?= GNUmakefile
+TOP_MAKEFILE := $(word 1,$(MAKEFILE_LIST))
+MAKEFILE ?= $(TOP_MAKEFILE)
SUBDIR_MAKEFILE ?= $(MAKEFILE)
# Make sure that we build directories with DIRS= in sequence instead of in