summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU
blob: da2331d139a9e5c51fdfc2e9bc60c0a176930b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $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 = 1
optimize = 1

CC              = gcc
# for no threads
LDLIBS		+= -lm -L $(ACE_ROOT)/ace 
CXX		= g++
CFLAGS		+= -melf -w 
CCFLAGS		+= -melf -fno-implicit-templates 
# -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
LIBS            = -lnsl -lsocket
OCCFLAGS        += $(OCFLAGS)
PIC             = -fPIC
AR              = ar
ARFLAGS         = ruv
RANLIB          = /bin/true

SOFLAGS = $(CPPFLAGS) -melf -fPIC -G
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
PRELIB  = @true