summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/Makefile
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-25 03:50:54 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-25 03:50:54 +0000
commitce9625599d5c5cc997ca116850462ba4ed182b5b (patch)
tree754ff6672203b0b017aac916cf54a7863ce8f1fd /TAO/TAO_IDL/Makefile
parentd854b9ab881916ca92b5f5d8960e23e9e079824f (diff)
downloadATCD-ce9625599d5c5cc997ca116850462ba4ed182b5b.tar.gz
added Cleanup section, which cleans out builds that were created with the nested version of the Makefile
Diffstat (limited to 'TAO/TAO_IDL/Makefile')
-rw-r--r--TAO/TAO_IDL/Makefile23
1 files changed, 21 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/Makefile b/TAO/TAO_IDL/Makefile
index 559e68a08c7..bd8f103c022 100644
--- a/TAO/TAO_IDL/Makefile
+++ b/TAO/TAO_IDL/Makefile
@@ -166,10 +166,10 @@ else # ! CROSS-COMPILE
CPPFLAGS += -Iinclude -Ibe_include -Ife -DCPP_LOCATION=\"$(CXX)\" \
-DIDL_CFE_VERSION=$(IDL_CFE_VERSION)
- clean:
+ clean: realclean.old
rm -f tao_idl
- realclean:
+ realclean: realclean.old
rm -f tao_idl TAGS
endif # ! CROSS-COMPILE
@@ -179,6 +179,25 @@ tags:
etags -a ast/*.cpp util/*.cpp narrow/*.cpp \
driver/*.cpp fe/*.cpp be/*.cpp
+
+#----------------------------------------------------------------------------
+# Cleanup
+#----------------------------------------------------------------------------
+# This section can be removed eventually. It's purpose is to clean out
+# builds that were created with nested version of this TAO_IDL Makefile.
+
+realclean.old:
+ @for dir in driver fe ast util narrow be;\
+ do \
+ (echo " ========> Making $(@:.nested=): `pwd`"; \
+ $(MAKE) -C $$dir realclean; \
+ echo "<======== End $(@:.nested=): `pwd`") ; \
+ done
+
+
+#----------------------------------------------------------------------------
+# Dependencies
+#----------------------------------------------------------------------------
# DO NOT DELETE THIS LINE -- g++dep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.