summaryrefslogtreecommitdiff
path: root/include
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
commit861c5d48956d9d1cf7b4281c1bcf1c61a4d0e69e (patch)
tree97553b128bf37cf2ee4d66ac49797e6eef3d0768 /include
parent757905a372d01015e93eb1f9d8354da57a938c1d (diff)
downloadATCD-861c5d48956d9d1cf7b4281c1bcf1c61a4d0e69e.tar.gz
*** empty log message ***
Diffstat (limited to 'include')
-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