summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_chorus.GNU
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-03-20 04:53:36 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-03-20 04:53:36 +0000
commit22add69031ca4aa76fac589ce563558a16811a40 (patch)
treec682c75a4b1e647ef4495b8d2ff2765ff43e7142 /include/makeinclude/platform_chorus.GNU
parentf6a70176055c8a79b5d97cc33ff0a26ae157798b (diff)
downloadATCD-22add69031ca4aa76fac589ce563558a16811a40.tar.gz
ot
Diffstat (limited to 'include/makeinclude/platform_chorus.GNU')
-rw-r--r--include/makeinclude/platform_chorus.GNU42
1 files changed, 42 insertions, 0 deletions
diff --git a/include/makeinclude/platform_chorus.GNU b/include/makeinclude/platform_chorus.GNU
new file mode 100644
index 00000000000..31a4940a4ed
--- /dev/null
+++ b/include/makeinclude/platform_chorus.GNU
@@ -0,0 +1,42 @@
+# Chorus 3.1b with GNU g++ 2.7.2
+# *not* using Orbix
+#
+# Note: Change CLASSIXDIR to an appropriate directory
+
+CLASSIXDIR = /usr/home/chiang/chorus/merge/extended-i386at
+INC_DIR = $(CLASSIXDIR)/include
+BIN_DIR =
+LIB_DIR = $(CLASSIXDIR)/lib
+
+CC = gcc -w
+CXX = g++
+
+CFLAGS += -w
+CCFLAGS += -w -fno-strict-prototypes \
+ -D_POSIX_THREADS \
+ -D_POSIX_THREAD_SAFE_FUNCTIONS
+
+INCLDIRS += -I$(INC_DIR)/posix \
+ -I$(INC_DIR)/stdc \
+ -I$(INC_DIR)/chorus/ \
+ -I$(INC_DIR)/chorus/iom \
+ -I$(INC_DIR)/CC
+
+DLD =
+LD = $(CXX)
+LDFLAGS += -r -Ur -nostdlib \
+ -L$(LIB_DIR)/CC \
+ -L$(LIB_DIR)/classix
+
+LIBS += -lC -lcx.u
+PIC = -fPIC
+AR = ar
+ARFLAGS = rv
+RANLIB = /bin/true
+PRELIB = (echo "main() { }" > gcctemp.c && \
+ $(COMPILE.cc) -o gcctemp.o gcctemp.c && \
+ $(LD) $^ $(LDFLAGS) $(LIBS); \
+ status=$$?; rm -f gcctemp.* a.out; exit $$status)
+
+#### don't build shared objects:
+BUILD = $(VOBJS) $(VLIB) $(VBIN)