summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Makefile.RTSchedEvent
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Makefile.RTSchedEvent')
-rw-r--r--TAO/orbsvcs/orbsvcs/Makefile.RTSchedEvent11
1 files changed, 11 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Makefile.RTSchedEvent b/TAO/orbsvcs/orbsvcs/Makefile.RTSchedEvent
index 5b3b0d79ccf..d05b49f9592 100644
--- a/TAO/orbsvcs/orbsvcs/Makefile.RTSchedEvent
+++ b/TAO/orbsvcs/orbsvcs/Makefile.RTSchedEvent
@@ -61,6 +61,17 @@ LDFLAGS += -L$(TAO_ROOT)/tao -L$(TAO_ROOT)/orbsvcs/orbsvcs
CPPFLAGS += -I$(TAO_ROOT) -I$(TAO_ROOT)/orbsvcs \
-I$(TAO_ROOT)/orbsvcs/orbsvcs/ESF
+ifeq ($(shared_libs),1)
+ifneq ($(SHLIB),)
+CPPFLAGS += -DTAO_RTSCHEDEVENT_BUILD_DLL
+endif
+endif
+ifeq ($(static_libs),1)
+ifneq ($(LIB),)
+CPPFLAGS += -DTAO_AS_STATIC_LIBS -DACE_AS_STATIC_LIBS
+endif
+endif
+
#
# Extra dependencies not caught by make depend.
#