summaryrefslogtreecommitdiff
path: root/TAO/docs/tutorials/Quoter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/docs/tutorials/Quoter/Makefile')
-rw-r--r--TAO/docs/tutorials/Quoter/Makefile34
1 files changed, 25 insertions, 9 deletions
diff --git a/TAO/docs/tutorials/Quoter/Makefile b/TAO/docs/tutorials/Quoter/Makefile
index 65d588a4456..ebad8067f5f 100644
--- a/TAO/docs/tutorials/Quoter/Makefile
+++ b/TAO/docs/tutorials/Quoter/Makefile
@@ -24,13 +24,29 @@ include $(ACE_ROOT)/include/makeinclude/macros.GNU
ifeq ($(exceptions),1)
-DIRS = idl \
- Simple \
- AMI \
- Naming_Service \
- On_Demand_Activation \
- Event_Service \
- RT_Event_Service
+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 ($(minimum_corba),0)
+ DIRS += \
+ On_Demand_Activation \
+ Event_Service \
+ RT_Event_Service
+ endif # minimum_corba
include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
@@ -39,8 +55,8 @@ 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"
+ @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