diff options
Diffstat (limited to 'ACE/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU')
-rw-r--r-- | ACE/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/ACE/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU b/ACE/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU new file mode 100644 index 00000000000..4e3d7e47b4f --- /dev/null +++ b/ACE/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU @@ -0,0 +1,46 @@ +# $Id$ +# +# Note 1: the above file from ACE 4.6 has been modified by Mike P. to get +# rid of thread related stuff until we can obtain fsu-threads library. +# +# Note 2: You must setup FSU_PTHREADS_DIR environment var to your FSU +# pthreads directory. + +# Requires gcc 2.7.2 Skunkware 97 +# 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 = 0 +optimize = 1 + +CC = gcc +# for no threads +LDLIBS += -lm -L $(ACE_ROOT)/lib +CXX = g++ +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 +DCCFLAGS += $(DCFLAGS) +DLD = $(CXX) +LD = $(CXX) /usr/lib/libc.so.1 +ifneq ($(FSU_PTHREADS_DIR),"") +LIBS += -L$(FSU_PTHREADS_DIR)/lib +endif +LIBS += -lgthreads +LIBS += -lnsl -lsocket +LIBS += -lgthreads +OCFLAGS += -O2 +OCCFLAGS += $(OCFLAGS) +PIC = -fpic +AR = ar +ARFLAGS = ruv +RANLIB = /bin/true + +SOFLAGS = +SOLINK = gcc $(PIC) -melf -shared +SOBUILD = $(SOLINK) -o $(VSHDIR)$*.so $< +PRELIB = @true |