summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-16 17:49:46 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-16 17:49:46 +0000
commitcf170f0e6770f37aa703cfb280e2af2fb2b423be (patch)
tree97553b128bf37cf2ee4d66ac49797e6eef3d0768 /include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU
parent75a7b5c96c3b562e05be6eb8db3ea239f171e017 (diff)
downloadATCD-cf170f0e6770f37aa703cfb280e2af2fb2b423be.tar.gz
*** empty log message ***
Diffstat (limited to 'include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU')
-rw-r--r--include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU26
1 files changed, 18 insertions, 8 deletions
diff --git a/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU b/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU
index da2331d139a..4eba0aa5e00 100644
--- a/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU
+++ b/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU
@@ -10,27 +10,37 @@
# to produce libACE.so correctly changed the specs file for gcc 2.7.2
# for not link -lc and -lgcc and other not shared libraries
-debug = 1
+debug = 0
optimize = 1
CC = gcc
# for no threads
LDLIBS += -lm -L $(ACE_ROOT)/ace
CXX = g++
-CFLAGS += -melf -w
-CCFLAGS += -melf -fno-implicit-templates
+CFLAGS += -melf -m386 -w
+CCFLAGS += -melf -m386
+ifneq ($(FSU_PTHREADS_DIR),"")
+CCFLAGS += -I$(FSU_PTHREADS_DIR)/include
+endif
# -g option not supported for C++ on systems using the DWARF debugging format
-#DCFLAGS += -g
+DCFLAGS += -g
DCCFLAGS += $(DCFLAGS)
DLD = $(CXX)
LD = $(CXX) /usr/lib/libc.so.1
-LIBS = -lnsl -lsocket
+ifneq ($(FSU_PTHREADS_DIR),"")
+LIBS += -L$(FSU_PTHREADS_DIR)/lib
+endif
+LIBS += -lgthreads
+LIBS += -lnsl -lsocket
+LIBS += -lgthreads
+OCFLAGS += -O2
OCCFLAGS += $(OCFLAGS)
-PIC = -fPIC
+PIC = -fpic
AR = ar
ARFLAGS = ruv
RANLIB = /bin/true
-SOFLAGS = $(CPPFLAGS) -melf -fPIC -G
-SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
+SOFLAGS =
+SOLINK = gcc $(PIC) -melf -shared
+SOBUILD = $(SOLINK) -o $(VSHDIR)$*.so $<
PRELIB = @true