summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_aix_vacpp.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_aix_vacpp.GNU')
-rw-r--r--include/makeinclude/platform_aix_vacpp.GNU35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/makeinclude/platform_aix_vacpp.GNU b/include/makeinclude/platform_aix_vacpp.GNU
new file mode 100644
index 00000000000..ddab223ab96
--- /dev/null
+++ b/include/makeinclude/platform_aix_vacpp.GNU
@@ -0,0 +1,35 @@
+# $Id$
+
+# AIX 4.2.x and higher using the Visual Age C++ environment.
+# *not* using Orbix
+#
+# On 4.2, the AIX fileset bos.rte.bind_cmds must be at version 4.2.0.2 or
+# higher in order to build libACEshr.a, and at 4.2.0.4 or higher for dl*()
+# routines to work properly. Best to apply the update available at:
+# ftp://service.boulder.ibm.com/aix/fixes/v4/os/bos.rte.bind_cmds.4.2.0.4.bff
+# or a successor.
+
+ifeq (,$(debug))
+ debug = 1
+endif
+ifeq (,$(distrib))
+ distrib = 0
+endif
+ifeq (,$(optimize))
+ optimize = 0
+endif
+
+# In case anything here or in the config depends on OS version number,
+# grab it here and pass it all to the compiler as well.
+AIX_MAJOR_VERS := $(shell uname -v)
+AIX_MINOR_VERS := $(shell uname -r)
+
+# Visual Age C++ does everything - maintain dependency information, build
+# commands, and results. The Makefile scheme here is primarily for cases
+# where multiple targets are to be built (such as in the 'tests' directory)
+# and multiple configurations are used for it. Set a variable to say that
+# VACPP is in charge, and the build scheme then runs vacbld rather than
+# go through the whole dependency check.
+
+using_aix_vacpp = 1
+