summaryrefslogtreecommitdiff
path: root/TAO/tao/Domain/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Domain/Makefile')
-rw-r--r--TAO/tao/Domain/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/TAO/tao/Domain/Makefile b/TAO/tao/Domain/Makefile
index 6b5816860e0..7daee1a0515 100644
--- a/TAO/tao/Domain/Makefile
+++ b/TAO/tao/Domain/Makefile
@@ -41,6 +41,18 @@ include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
LDFLAGS += -L$(TAO_ROOT)/tao
CPPFLAGS += -I$(TAO_ROOT)
+ifeq ($(shared_libs),1)
+ifneq ($(SHLIB),)
+CPPFLAGS += -DTAO_DOMAIN_BUILD_DLL
+endif
+endif
+
+ifeq ($(static_libs),1)
+ifneq ($(LIB),)
+CPPFLAGS += -DTAO_AS_STATIC_LIBS
+endif
+endif
+
#----------------------------------------------------------------------------
# Dependencies
#----------------------------------------------------------------------------