summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_tru64_cxx.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-07 19:49:29 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-07 19:49:29 +0000
commit966c9c26668b9545e35ce7eabea012b2a3f7021a (patch)
tree1e2ed19087c5947de829905426ec8b02e950eb17 /include/makeinclude/platform_tru64_cxx.GNU
parent28d595bde75e23ce04ee62261a22f6cfe991b417 (diff)
downloadATCD-966c9c26668b9545e35ce7eabea012b2a3f7021a.tar.gz
added, to support uniform use of cxx across different OS versions
Diffstat (limited to 'include/makeinclude/platform_tru64_cxx.GNU')
-rw-r--r--include/makeinclude/platform_tru64_cxx.GNU31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/makeinclude/platform_tru64_cxx.GNU b/include/makeinclude/platform_tru64_cxx.GNU
new file mode 100644
index 00000000000..c61d8261073
--- /dev/null
+++ b/include/makeinclude/platform_tru64_cxx.GNU
@@ -0,0 +1,31 @@
+# $Id$
+
+# This platform macros file is intended to work with
+# Digital UNIX using the cxx compiler.
+
+ifndef ACE_DU_VERSION
+ ACE_DU_VERSION := $(shell uname -r)
+endif # ACE_DU_VERSION
+
+ifeq (3.,$(findstring 3.,$(ACE_DU_VERSION)))
+ include $(ACE_ROOT)/include/makeinclude/platform_osf1_3.2.GNU
+else # ! 3.x
+ifeq (4.,$(findstring 4.,$(ACE_DU_VERSION)))
+ include $(ACE_ROOT)/include/makeinclude/platform_osf1_4.0.GNU
+
+ CFLAGS += -DDIGITAL_UNIX=4
+else # ! 4.x
+ifeq (5.,$(findstring 5.,$(ACE_DU_VERSION)))
+ include $(ACE_ROOT)/include/makeinclude/platform_osf1_4.0.GNU
+
+ CFLAGS += -DDIGITAL_UNIX=5
+
+ ifeq (6.,$(findstring 6.,$(CXX_VERSION)))
+ #### variable "PTHREAD_THIS_CATCH_NP" was declared but never referenced
+ WARNING_FLAGS += -msg_disable 177
+ endif # 6.0 or later
+
+ SOFLAGS = -shared -use_ld_input
+endif # 5.x
+endif # ! 4.x
+endif # ! 3.x