summaryrefslogtreecommitdiff
path: root/examples/C++NPv2/Makefile.TPCLS
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/C++NPv2/Makefile.TPCLS
parent8aeb89543c4a2f38cf79bb37936979550e2267fb (diff)
downloadATCD-872f7264d6128aa87cdcece7175a0223e1bb2e49.tar.gz
ChangeLogTag: Mon Jan 20 18:58:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'examples/C++NPv2/Makefile.TPCLS')
-rw-r--r--examples/C++NPv2/Makefile.TPCLS10
1 files changed, 10 insertions, 0 deletions
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