summaryrefslogtreecommitdiff
path: root/TAO/docs/tutorials/Quoter/Makefile
blob: 425a5bbfe7d0e0980f2cf97a3c69871e5bd76749 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#----------------------------------------------------------------------------
#
#       $Id$
#
#       Makefile for the Quoter tutorials
#
#----------------------------------------------------------------------------

#----------------------------------------------------------------------------
#       Local macros
#----------------------------------------------------------------------------

ifndef TAO_ROOT
  TAO_ROOT = $(ACE_ROOT)/TAO
endif

#----------------------------------------------------------------------------
#       Include macros and targets
#----------------------------------------------------------------------------

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

ifeq ($(exceptions),1)

DIRS = \
  idl \
  Simple  \
  Naming_Service

  # The AMI and On_Demand_Activation tutorials both require AMI support.
  ifeq ($(ami),1)
    DIRS += \
      AMI
  endif  # ami

  # Event_Service, RT_Event_Service directories require the
  # PortableServer::POA::ImplicitActivationPolicy, which is not in
  # available in the minimum CORBA configuration.
  #
  # On_Demand_Activation requires ServantLocators and AMI, neither of
  # which is available in the minimum CORBA configuration.
  ifeq ($(corba_messaging),1)
    DIRS += On_Demand_Activation
  endif # corba_messaging

  ifeq ($(minimum_corba),0)
    DIRS += \
      Event_Service \
      RT_Event_Service
  endif  # minimum_corba

include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU

else

$(TARGETS_LOCAL):
	@echo "The Quoter tutorial can only be compiled on platforms with"
	@echo "native C++ exception support.  Please read ../../../TAO-INSTALL.html"
	@echo "You may need to recompile ACE+TAO with \"exceptions=1\""

include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU

endif # exceptions

include $(ACE_ROOT)/include/makeinclude/rules.common.GNU