summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-18 03:55:12 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-18 03:55:12 +0000
commite1b089abb1df9b1c7a5f6eabf1100b6c21ec1fe8 (patch)
tree48ad48dd7efef5ce326c5e6e7556f4b0806e6d0e /include
parentf1681c8976998b26b19bdf6cb4db18194aeea3e7 (diff)
downloadATCD-e1b089abb1df9b1c7a5f6eabf1100b6c21ec1fe8.tar.gz
ywhoopie!!
whoopie, more new stuff, more things will break!! I have no idea about this file. Heck, I am not even Doug!
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_osf1_4.0.GNU6
-rw-r--r--include/makeinclude/platform_osf1_4.0_g++.GNU18
2 files changed, 20 insertions, 4 deletions
diff --git a/include/makeinclude/platform_osf1_4.0.GNU b/include/makeinclude/platform_osf1_4.0.GNU
index 044d260fb72..07925978975 100644
--- a/include/makeinclude/platform_osf1_4.0.GNU
+++ b/include/makeinclude/platform_osf1_4.0.GNU
@@ -4,8 +4,7 @@ CC = cxx -g -pthread -ptr $(WRAPPER_ROOT)/ace/cxx_repository
CXX = cxx -w0 -g -pthread -ptr $(WRAPPER_ROOT)/ace/cxx_repository
DLD = $(CXX)
LD = $(CXX)
-#LIBS += -lpthreads -lmach -lsys5 -lxti -ltli -lcxx -lexc -lc
-LIBS += -ltli -lc_r
+LIBS += -pthread -ltli
PIC =
ARFLAGS = ruvZ
# When libraries are archived, a hash index is automatically created so there
@@ -13,5 +12,4 @@ ARFLAGS = ruvZ
RANLIB = /usr/bin/true
SOFLAGS = -shared
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
- $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -lACE -ltli -lc_r
-# $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -lcxx -ltask -lexc -lc
+ $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -lACE -pthread -ltli
diff --git a/include/makeinclude/platform_osf1_4.0_g++.GNU b/include/makeinclude/platform_osf1_4.0_g++.GNU
new file mode 100644
index 00000000000..5b95b222ba0
--- /dev/null
+++ b/include/makeinclude/platform_osf1_4.0_g++.GNU
@@ -0,0 +1,18 @@
+# This platform macros file is intended to work with Digital UNIX 4.0 (OSF/1 4.0).
+
+CC = gcc -g -D_REENTRANT
+CXX = gcc -g -D_REENTRANT -fno-strict-prototypes -D__ACE_INLINE__
+DLD = $(CXX)
+LIBS += -lpthread -lmach -lexc -ltli -lstdc++
+PIC = -fpic
+ARFLAGS = ruvZ
+# When libraries are archived, a hash index is automatically created so there
+# is no need for ranlib
+RANLIB = /usr/bin/true
+SOFLAGS = -G $(CPPFLAGS)
+SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
+PRELIB = (echo "main() { }" > gcctemp.c && \
+ $(COMPILE.cc) -o gcctemp.o gcctemp.c && \
+ $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \
+ status=$$?; rm -f gcctemp*; exit $$status)
+