summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_m88k.GNU
blob: 06ed589e6717b8d78f16485f7f4ead02adcf4403 (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
# SunOS 5.x (Solaris 2.x) with SunC++ 4.x
# *not* using Orbix
CC		= gcc
CXX             = g++
CFLAGS		+= -w -O2
CCFLAGS		+= -w -D__m88k__ -O2 -fno-implicit-templates -fno-strict-prototypes
DLD		= $(CXX) 
LD		= $(CXX) 
INCLDIRS	+= -I$(WRAPPER_ROOT) -I.
INCLDIRS	+= -I/devel/rmm/v1.0/local/src/threads/include
LDFLAGS		+= -L $(WRAPPER_ROOT)/ace -L ./
LDFLAGS		+= -L/devel/rmm/v1.0/local/src/threads/lib
LIBS		+= -lsocket -ldl -lnsl -lgen -lstdc++ -lg++
LIBS		+= -lgthreads -lgmalloc
PIC		= -fpic
AR		= ar 
ARFLAGS		= ruv 
RANLIB		= /bin/true 
SOFLAGS		= -G $(CPPFLAGS)
SOBUILD		= $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
		  $(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o
PRELIB	= (echo "int main() { return 0; }" > gcctemp.c && \
	  $(COMPILE.cc) -o gcctemp.o gcctemp.c && \
	  $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \
	  status=$$?; rm -f gcctemp*; exit $$status)