summaryrefslogtreecommitdiff
path: root/include/makeinclude/recurse.bor
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/recurse.bor')
-rw-r--r--include/makeinclude/recurse.bor104
1 files changed, 0 insertions, 104 deletions
diff --git a/include/makeinclude/recurse.bor b/include/makeinclude/recurse.bor
deleted file mode 100644
index 969403d7dd4..00000000000
--- a/include/makeinclude/recurse.bor
+++ /dev/null
@@ -1,104 +0,0 @@
-#
-# Macros for recursive invocations of make
-#
-# Inputs:
-# ~~~~~~~
-# DIRS - list of sub-directories to invoke make in
-# MAKEFILES - list of makefiles to be run
-#
-
-!include <$(ACE_ROOT)\include\makeinclude\make_flags.bor>
-
-!ifdef DIRS
-
-all: $(DIRS)
-
-# We use an extra level of make recursion to ensure the current directory is
-# automatically restored when the sub-directory is finished.
-$(DIRS):
- @echo Entering directory $<
- @$(MAKE) -$(MAKEFLAGS) $(MAKE_FLAGS) -f&&!
-all:
- @cd $<
- $(MAKE) -$(MAKEFLAGS) $(MAKE_FLAGS) -fMakefile.bor
-!
-
-# This ugliness is to remove extra spaces from between the items in the list.
-DIRS_CLEAN_1 = $(DIRS) $(BLANK_SPACE)
-DIRS_CLEAN_2 = $(DIRS_CLEAN_1: =%)
-DIRS_CLEAN_3 = $(DIRS_CLEAN_2:%%=%)
-DIRS_CLEAN_4 = $(DIRS_CLEAN_3:%%=%)
-DIRS_CLEAN = $(DIRS_CLEAN_4:%=.Clean )
-
-clean: $(DIRS_CLEAN)
-
-# We use an extra level of make recursion to ensure the current directory is
-# automatically restored when the sub-directory is finished.
-$(DIRS_CLEAN):
- @echo Cleaning directory $(<:.Clean=)
- @$(MAKE) -$(MAKEFLAGS) $(MAKE_FLAGS) -f&&!
-all:
- @cd $(<:.Clean=)
- $(MAKE) -$(MAKEFLAGS) $(MAKE_FLAGS) -fMakefile.bor clean
-!
-
-# This ugliness is to remove extra spaces from between the items in the list.
-DIRS_INSTALL_1 = $(DIRS) $(BLANK_SPACE)
-DIRS_INSTALL_2 = $(DIRS_INSTALL_1: =%)
-DIRS_INSTALL_3 = $(DIRS_INSTALL_2:%%=%)
-DIRS_INSTALL_4 = $(DIRS_INSTALL_3:%%=%)
-DIRS_INSTALL = $(DIRS_INSTALL_4:%=.Install )
-
-install: $(DIRS_INSTALL)
-
-# We use an extra level of make recursion to ensure the current directory is
-# automatically restored when the sub-directory is finished.
-$(DIRS_INSTALL):
- @echo Installing directory $(<:.Install=)
- @$(MAKE) -$(MAKEFLAGS) $(MAKE_FLAGS) -f&&!
-all:
- @cd $(<:.Install=)
- $(MAKE) -$(MAKEFLAGS) $(MAKE_FLAGS) -fMakefile.bor install
-!
-
-!endif
-
-!ifdef MAKEFILES
-
-# This ugliness is to remove extra spaces from between the items in the list.
-MAKEFILES_ALL_1 = $(MAKEFILES) $(BLANK_SPACE)
-MAKEFILES_ALL_2 = $(MAKEFILES_ALL_1: =%)
-MAKEFILES_ALL_3 = $(MAKEFILES_ALL_2:%%=%)
-MAKEFILES_ALL_4 = $(MAKEFILES_ALL_3:%%=%)
-MAKEFILES_ALL = $(MAKEFILES_ALL_4:%=.All )
-
-all: $(MAKEFILES_ALL)
-
-$(MAKEFILES_ALL):
- $(MAKE) -$(MAKEFLAGS) $(MAKE_FLAGS) -f$(<:.All=)
-
-# This ugliness is to remove extra spaces from between the items in the list.
-MAKEFILES_CLEAN_1 = $(MAKEFILES) $(BLANK_SPACE)
-MAKEFILES_CLEAN_2 = $(MAKEFILES_CLEAN_1: =%)
-MAKEFILES_CLEAN_3 = $(MAKEFILES_CLEAN_2:%%=%)
-MAKEFILES_CLEAN_4 = $(MAKEFILES_CLEAN_3:%%=%)
-MAKEFILES_CLEAN = $(MAKEFILES_CLEAN_4:%=.Clean )
-
-clean: $(MAKEFILES_CLEAN)
-
-$(MAKEFILES_CLEAN):
- $(MAKE) -$(MAKEFLAGS) $(MAKE_FLAGS) -f$(<:.Clean=) clean
-
-# This ugliness is to remove extra spaces from between the items in the list.
-MAKEFILES_INSTALL_1 = $(MAKEFILES) $(BLANK_SPACE)
-MAKEFILES_INSTALL_2 = $(MAKEFILES_INSTALL_1: =%)
-MAKEFILES_INSTALL_3 = $(MAKEFILES_INSTALL_2:%%=%)
-MAKEFILES_INSTALL_4 = $(MAKEFILES_INSTALL_3:%%=%)
-MAKEFILES_INSTALL = $(MAKEFILES_INSTALL_4:%=.Install )
-
-install: $(MAKEFILES_INSTALL)
-
-$(MAKEFILES_INSTALL):
- $(MAKE) -$(MAKEFLAGS) $(MAKE_FLAGS) -f$(<:.Install=) install
-
-!endif