diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-03-20 04:53:36 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-03-20 04:53:36 +0000 |
commit | 22add69031ca4aa76fac589ce563558a16811a40 (patch) | |
tree | c682c75a4b1e647ef4495b8d2ff2765ff43e7142 /include/makeinclude/platform_chorus.GNU | |
parent | f6a70176055c8a79b5d97cc33ff0a26ae157798b (diff) | |
download | ATCD-22add69031ca4aa76fac589ce563558a16811a40.tar.gz |
ot
Diffstat (limited to 'include/makeinclude/platform_chorus.GNU')
-rw-r--r-- | include/makeinclude/platform_chorus.GNU | 42 |
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) |