summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/lib/Makefile.TAO_NotifyTests
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/lib/Makefile.TAO_NotifyTests')
-rw-r--r--TAO/orbsvcs/tests/Notify/lib/Makefile.TAO_NotifyTests108
1 files changed, 108 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Notify/lib/Makefile.TAO_NotifyTests b/TAO/orbsvcs/tests/Notify/lib/Makefile.TAO_NotifyTests
new file mode 100644
index 00000000000..9f9fbc4be52
--- /dev/null
+++ b/TAO/orbsvcs/tests/Notify/lib/Makefile.TAO_NotifyTests
@@ -0,0 +1,108 @@
+#----------------------------------------------------------------------------
+# GNU Makefile
+#----------------------------------------------------------------------------
+MAKEFILE = Makefile.TAO_NotifyTests
+DEPENDENCY_FILE = .depend.Makefile.TAO_NotifyTests
+LIB_UNCHECKED = libTAO_NotifyTests.a
+SHLIB_UNCHECKED = libTAO_NotifyTests.$(SOEXT)
+
+ifndef TAO_ROOT
+ TAO_ROOT = $(ACE_ROOT)/TAO
+endif
+
+IDL_FILES = Activation_Manager
+IDL_SRC = $(foreach ext, C.cpp S.cpp, $(foreach file, $(IDL_FILES), $(file)$(ext)))
+
+
+
+FILES = \
+ Activation_Manager \
+ Activation_ManagerC \
+ Activation_ManagerS \
+ Application_Command \
+ Command \
+ Command_Builder \
+ Command_Factory \
+ Command_Factory_T \
+ ConsumerAdmin_Command \
+ Driver \
+ EventChannel_Command \
+ Factories_Define \
+ Filter_Command \
+ LookupManager \
+ Name \
+ Notify_PushConsumer \
+ Notify_PushSupplier \
+ Notify_SequencePushConsumer \
+ Notify_SequencePushSupplier \
+ Notify_StructuredPushConsumer \
+ Notify_StructuredPushSupplier \
+ Notify_Test_Client \
+ Options_Parser \
+ Periodic_Consumer_Command \
+ Periodic_Supplier_Command \
+ Periodic_Consumer \
+ Periodic_Supplier \
+ Priority_Mapping \
+ StructuredEvent \
+ SupplierAdmin_Command \
+ Task_Stats
+
+CURRENT_COMPONENTS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs)
+ifeq (Notify, $(findstring Notify, $(CURRENT_COMPONENTS)))
+ifeq (Naming, $(findstring Naming, $(CURRENT_COMPONENTS)))
+LIB = $(LIB_UNCHECKED)
+SHLIB = $(SHLIB_UNCHECKED)
+endif
+endif
+
+#----------------------------------------------------------------------------
+# Include macros and targets
+#----------------------------------------------------------------------------
+include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
+include $(TAO_ROOT)/rules.tao.GNU
+LSRC = $(addsuffix .cpp, $(FILES))
+ACELIB = -lACE
+
+include $(ACE_ROOT)/include/makeinclude/macros.GNU
+include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
+include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
+include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
+include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
+include $(TAO_ROOT)/taoconfig.mk
+
+CPPFLAGS += -I../../../../orbsvcs -I../../../.. -I../../../../tao -I../../../../..
+ifeq ($(shared_libs),1)
+ifneq ($(SHLIB),)
+CPPFLAGS += -DTAO_NOTIFY_TEST_BUILD_DLL
+endif
+endif
+ifeq ($(static_libs),1)
+ifneq ($(LIB),)
+CPPFLAGS += -DTAO_AS_STATIC_LIBS -DACE_AS_STATIC_LIBS
+endif
+endif
+
+
+LDFLAGS += -L../../../../tao/PortableServer -L../../../../tao/DynamicAny -L../../../../tao/IORTable -L../../../../orbsvcs/orbsvcs/ETCL -L../../../../orbsvcs/orbsvcs -L../../../../tao -L../../../../../ace
+TAO_IDLFLAGS += -I../../../.. -I$(TAO_ROOT)/orbsvcs -Ge 1 -Sc
+
+ACE_SHLIBS = -lTAO_CosNotification -lTAO_ETCL -lTAO_CosNaming -lTAO_Svc_Utils -lTAO_IORTable -lTAO_DynamicAny -lTAO_PortableServer -lTAO $(ACELIB)
+
+#----------------------------------------------------------------------------
+# Local targets
+#----------------------------------------------------------------------------
+
+ADDITIONAL_IDL_TARGETS =
+
+# IDL File Directory: .
+
+idl_stubs: $(ADDITIONAL_IDL_TARGETS)
+
+all: idl_stubs
+
+.PRECIOUS: $(foreach ext, $(IDL_EXT), $(foreach file, $(IDL_FILES), $(file)$(ext)))
+
+realclean: clean
+ -$(RM) $(foreach ext, $(IDL_EXT), $(foreach file, $(IDL_FILES), $(file)$(ext)))
+