summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-01-17 01:25:34 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-01-17 01:25:34 +0000
commitbaca197757a235b754166a25f3682db2fdff681a (patch)
treebc8e03c5c983f3dc39bdf7bbcf10cd03a5539164 /include
parent548a2f88bdb9d8a6d8019d9f8dd02670f62be9f7 (diff)
downloadATCD-baca197757a235b754166a25f3682db2fdff681a.tar.gz
*** empty log message ***
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_irix6.x_kcc.GNU24
-rw-r--r--include/makeinclude/platform_osf1_4.0_kcc.GNU37
2 files changed, 61 insertions, 0 deletions
diff --git a/include/makeinclude/platform_irix6.x_kcc.GNU b/include/makeinclude/platform_irix6.x_kcc.GNU
new file mode 100644
index 00000000000..c37e92048fb
--- /dev/null
+++ b/include/makeinclude/platform_irix6.x_kcc.GNU
@@ -0,0 +1,24 @@
+# $Id$
+
+# Irix 6.x with KCC 3.3f
+
+debug = 1
+optimize = 1
+
+CC = gcc
+CXX = g++
+CFLAGS += $(DCFLAGS)
+CCFLAGS += $(CFLAGS) -fno-implicit-templates
+DCFLAGS += -g
+DLD = $(CXX)
+LD = $(CXX)
+LDFLAGS += -L$(ACE_ROOT)/ace -Wl,-dont_warn_unused
+LIBS += -lpthread
+OCFLAGS += -O2
+PIC = -fpic
+# AR = ar
+ARFLAGS = rv
+RANLIB = @true
+SOFLAGS = -shared $(CPPFLAGS)
+SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
+ $(SOLINK.cc) $(LDFLAGS) -o $@ $(VSHDIR)$*.o
diff --git a/include/makeinclude/platform_osf1_4.0_kcc.GNU b/include/makeinclude/platform_osf1_4.0_kcc.GNU
new file mode 100644
index 00000000000..0b921097354
--- /dev/null
+++ b/include/makeinclude/platform_osf1_4.0_kcc.GNU
@@ -0,0 +1,37 @@
+# $Id$
+
+# This platform macros file is intended to work with Digital UNIX 4.0
+# (OSF/1 4.0) and KAI C++ 3.3f.
+
+debug = 1
+optimize = 1
+
+# WARNING_FLAGS +=
+# 9: nested comment not allowed. But there's one in /usr/include/pdsc.h!
+# and /usr/include/net/if_types.h
+# 111: statement is unreachable. There's a whole bunch of these
+# in the ace code.
+WARNING_FLAGS += --diag_suppress 9,111
+
+CC = KCC
+CXX = $(CC)
+CFLAGS += -D_REENTRANT
+CCFLAGS += $(CFLAGS) -DNULL=0 $(WARNING_FLAGS)
+ifeq ($(optimize),1)
+DCFLAGS += -g3
+else
+DCFLAGS += +K0 -g
+endif
+LD = $(CC)
+DLD = $(CC)
+LIBS += -lpthread -lmach -lexc -ltli -lrt -lm
+OCFLAGS += +K3 -O
+PIC =
+AR = $(CC)
+ARFLAGS = -o
+# When libraries are archived, a hash index is automatically created so there
+# is no need for ranlib
+RANLIB = /usr/bin/true
+SOFLAGS = $(CPPFLAGS) -L$(ACE_ROOT)/ace $(ACELIB) -lc
+SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
+PRELIB = @true