summaryrefslogtreecommitdiff
path: root/ACEXML/Makefile
blob: 18e8c1ead27781a67a093c9b33aa366a4ae7c000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id$
#----------------------------------------------------------------------------
#       GNU Workspace
#----------------------------------------------------------------------------

include $(ACE_ROOT)/include/makeinclude/macros.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