summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_sco5.0.0-nothread.GNU
blob: c9ae4d2da9fdc824218d64c9c59f40a82f0ba90f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# SCO v5.0.2; gcc version 2.7-95q4(Skunkware96 distribution from media images)

CC              = gcc
CXX		= g++
CFLAGS		+= -b elf -w -O2
CCFLAGS		+= -b elf -w -O2 -Xpg4plus -fno-implicit-templates \
		   -I/usr/progressive/lib/g++-include
DLD             = $(CXX)
LD		= $(CXX)
LIBS            += -lsocket -lnsl -ldl
PIC             = -fpic 
AR              = ar
ARFLAGS         = ruv
RANLIB          = /bin/true

SOFLAGS = $(CPPFLAGS) -b elf -fpic -G
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=$$?; exit $$status)