summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2003-01-20 19:02:46 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2003-01-20 19:02:46 +0000
commit872f7264d6128aa87cdcece7175a0223e1bb2e49 (patch)
tree1fb225c926c7f90d0d03aadbd1f2f804fe98b78d /examples
parent8aeb89543c4a2f38cf79bb37936979550e2267fb (diff)
downloadATCD-872f7264d6128aa87cdcece7175a0223e1bb2e49.tar.gz
ChangeLogTag: Mon Jan 20 18:58:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'examples')
-rw-r--r--examples/C++NPv2/Makefile.CLD10
-rw-r--r--examples/C++NPv2/Makefile.SLD10
-rw-r--r--examples/C++NPv2/Makefile.SLDex10
-rw-r--r--examples/C++NPv2/Makefile.TPCLS10
-rw-r--r--examples/C++NPv2/Makefile.TPLS10
5 files changed, 50 insertions, 0 deletions
diff --git a/examples/C++NPv2/Makefile.CLD b/examples/C++NPv2/Makefile.CLD
index 9aae61a8f31..35dfdbf3de5 100644
--- a/examples/C++NPv2/Makefile.CLD
+++ b/examples/C++NPv2/Makefile.CLD
@@ -29,3 +29,13 @@ 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
+
+#----------------------------------------------------------------------------
+# Local targets
+#----------------------------------------------------------------------------
+
+ifeq ($(shared_libs),1)
+ifneq ($(SHLIB),)
+CPPFLAGS += -DCLD_BUILD_DLL
+endif
+endif
diff --git a/examples/C++NPv2/Makefile.SLD b/examples/C++NPv2/Makefile.SLD
index 8b9deed18c1..7f610f1bb55 100644
--- a/examples/C++NPv2/Makefile.SLD
+++ b/examples/C++NPv2/Makefile.SLD
@@ -29,3 +29,13 @@ 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
+
+#----------------------------------------------------------------------------
+# Local targets
+#----------------------------------------------------------------------------
+
+ifeq ($(shared_libs),1)
+ifneq ($(SHLIB),)
+CPPFLAGS += -DSLD_BUILD_DLL
+endif
+endif
diff --git a/examples/C++NPv2/Makefile.SLDex b/examples/C++NPv2/Makefile.SLDex
index 384bffe05d3..d7786849091 100644
--- a/examples/C++NPv2/Makefile.SLDex
+++ b/examples/C++NPv2/Makefile.SLDex
@@ -31,3 +31,13 @@ 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
+
+#----------------------------------------------------------------------------
+# Local targets
+#----------------------------------------------------------------------------
+
+ifeq ($(shared_libs),1)
+ifneq ($(SHLIB),)
+CPPFLAGS += -DSLDEX_BUILD_DLL
+endif
+endif
diff --git a/examples/C++NPv2/Makefile.TPCLS b/examples/C++NPv2/Makefile.TPCLS
index df7878b89fd..08465b55e3e 100644
--- a/examples/C++NPv2/Makefile.TPCLS
+++ b/examples/C++NPv2/Makefile.TPCLS
@@ -34,6 +34,10 @@ include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
+#----------------------------------------------------------------------------
+# Local targets
+#----------------------------------------------------------------------------
+
# To remake the DLL_Test source with xlC on AIX, it works
# best to wipe out any previously-created tempinc directory.
# The compiler/linker isn't too smart about instantiating templates...
@@ -46,3 +50,9 @@ ifneq ($(ssl),)
LIBS += $(PLATFORM_SSL_LIBS)
LDFLAGS += $(PLATFORM_SSL_LDFLAGS)
endif # ssl
+
+ifeq ($(shared_libs),1)
+ifneq ($(SHLIB),)
+CPPFLAGS += -DTPCLS_BUILD_DLL
+endif
+endif
diff --git a/examples/C++NPv2/Makefile.TPLS b/examples/C++NPv2/Makefile.TPLS
index c6014063323..1ddc1779d72 100644
--- a/examples/C++NPv2/Makefile.TPLS
+++ b/examples/C++NPv2/Makefile.TPLS
@@ -29,3 +29,13 @@ 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
+
+#----------------------------------------------------------------------------
+# Local targets
+#----------------------------------------------------------------------------
+
+ifeq ($(shared_libs),1)
+ifneq ($(SHLIB),)
+CPPFLAGS += -DTPLS_BUILD_DLL
+endif
+endif