summaryrefslogtreecommitdiff
path: root/ACEXML/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ACEXML/Makefile')
-rw-r--r--ACEXML/Makefile47
1 files changed, 30 insertions, 17 deletions
diff --git a/ACEXML/Makefile b/ACEXML/Makefile
index ccba2b77d1c..18e8c1ead27 100644
--- a/ACEXML/Makefile
+++ b/ACEXML/Makefile
@@ -1,21 +1,34 @@
+# $Id$
#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for the client programs that test the ACE network services
+# GNU Workspace
#----------------------------------------------------------------------------
-DIRS = common \
- parser \
- apps \
- tests \
- examples
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
+TARGETS_NESTED := $(TARGETS_NESTED:.nested=)
+MFILES = \
+ common/Makefile.XML_Common \
+ parser/parser/Makefile.Parser \
+ parser/debug_validator/Makefile.Validator \
+ apps/svcconf/Makefile.XML_Svc_Conf_Parser \
+ examples/svcconf/Makefile.Svcconf \
+ examples/SAXPrint/Makefile.SAXPrint \
+ tests/Makefile.HttpCharStream_Test \
+ tests/Makefile.Transcoder_Test \
+ tests/Makefile.NamespaceSupport_Test
+
+$(TARGETS_NESTED):
+ifneq (Windows,$(findstring Windows,$(OS)))
+ @for file in $(MFILES); do \
+ $(MAKE) -f `basename $$file` -C `dirname $$file` $(@); \
+ done
+else
+ -@cmd /c "$(MAKE) -f Makefile.XML_Common -C common $(@)"
+ -@cmd /c "$(MAKE) -f Makefile.Parser -C parser/parser $(@)"
+ -@cmd /c "$(MAKE) -f Makefile.Validator -C parser/debug_validator $(@)"
+ -@cmd /c "$(MAKE) -f Makefile.XML_Svc_Conf_Parser -C apps/svcconf $(@)"
+ -@cmd /c "$(MAKE) -f Makefile.Svcconf -C examples/svcconf $(@)"
+ -@cmd /c "$(MAKE) -f Makefile.SAXPrint -C examples/SAXPrint $(@)"
+ -@cmd /c "$(MAKE) -f Makefile.HttpCharStream_Test -C tests $(@)"
+ -@cmd /c "$(MAKE) -f Makefile.Transcoder_Test -C tests $(@)"
+ -@cmd /c "$(MAKE) -f Makefile.NamespaceSupport_Test -C tests $(@)"
+endif