summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/Security
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-16 22:51:03 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-16 22:51:03 +0000
commit2c5233fd39e8e524326243ae86c7e997d324fe7f (patch)
tree81a8de663bcb2f95db3a5fad2acfc06b97903536 /TAO/orbsvcs/examples/Security
parent7c83c259f261120e2837d449f7950e6cf5d6bd7f (diff)
downloadATCD-2c5233fd39e8e524326243ae86c7e997d324fe7f.tar.gz
ChangeLogTag:Thu Nov 16 13:19:02 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/orbsvcs/examples/Security')
-rw-r--r--TAO/orbsvcs/examples/Security/Send_File/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/TAO/orbsvcs/examples/Security/Send_File/Makefile b/TAO/orbsvcs/examples/Security/Send_File/Makefile
index 8cede8e2c17..a91b7c3fb30 100644
--- a/TAO/orbsvcs/examples/Security/Send_File/Makefile
+++ b/TAO/orbsvcs/examples/Security/Send_File/Makefile
@@ -19,7 +19,7 @@ IDL_SRC = \
$(addsuffix S.cpp, $(IDL_FILES)) \
$(addsuffix C.cpp, $(IDL_FILES))
-BIN = client server
+BIN_UNCHECKED = client server
SRC = $(addsuffix .cpp, $(BIN) $(IDLFILES) test_i) $(IDL_SRC)
@@ -35,6 +35,14 @@ TAO_IDLFLAGS += -Ge 1
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(TAO_ROOT)/rules.tao.GNU
+
+#### If the TAO orbsvcs library wasn't built with sufficient components,
+#### don't try to build here.
+TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs)
+ifeq (Security, $(findstring Security, $(TAO_ORBSVCS)))
+ BIN = $(BIN_UNCHECKED)
+endif # Security
+
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU