summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/IFR_Service/Makefile
blob: 3760875b0f49119aa8a2e599fa5c72fb693f9610 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#----------------------------------------------------------------------------
#       $Id$
#
#       Top-level Makefile for the Interface Repository
#----------------------------------------------------------------------------

ifndef TAO_ROOT
  TAO_ROOT = $(ACE_ROOT)/TAO
endif # ! TAO_ROOT

MAKEFILE = Makefile

#----------------------------------------------------------------------------
#       Include macros
#----------------------------------------------------------------------------

include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(TAO_ROOT)/rules.tao.GNU

#----------------------------------------------------------------------------
#       Define local rules and targets
#---------------------------------------------------------------------------
ifneq ($(CROSS-COMPILE),)
  all debug profile optimize install deinstall:  
	@echo The IFR Service requires a TAO_IDL library which isn\'t be built for CROSS-COMPILE platforms.

  clean realclean:
	@echo Nothing to clean in IFR_Service on CROSS-COMPILE platforms.
else  # ! CROSS-COMPILE

MKLIST = Makefile.IFR_Service Makefile.tao_ifr

all debug profile optimize install deinstall clean realclean clobber depend idl_stubs:
ifeq (Windows,$(findstring Windows,$(OS)))
	@cmd /c "FOR /D %m IN ($(MKLIST)) DO $(MAKE) -f %m MAKEFILE=$$m $(@:.nested=)"
else  # ! Windows
	@for m in $(MKLIST); do \
	echo $$m; \
        $(MAKE) -f $$m MAKEFILE=$$m $(@:.nested=); \
        done
endif # ! Windows

endif # ! CROSS-COMPILE

#----------------------------------------------------------------------------
#       Dependencies
#----------------------------------------------------------------------------
# DO NOT DELETE THIS LINE -- g++dep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.

# IF YOU PUT ANYTHING HERE IT WILL GO AWAY