blob: 2727c38e9f9400c048a8741f310095899a3a64ef (
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
|
# $Id$
# SunOS 4.x (Solaris 1.x) with SunC++ 3.x (note that this is a very old C++
# compiler, based on cfront. In paricular, it's not the same thing as
# SunC++ 4.x (which is also known as SPARCWorks 3.x).
debug = 1
CC = cc
CXX = CC
CCFLAGS += $(CFLAGS)
DCFLAGS += -g
DLD = /bin/ld
LD = $(CXX)
LIBS +=
PIC = -pic
AR = ar
ARFLAGS = ruv
RANLIB = ranlib
SOFLAGS += -assert pure-text
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
$(RM) -rf $(VSHDIR)pt$*; mkdir $(VSHDIR)pt$*; \
YYZ="`$(CXX) $(CCFLAGS) $(CPPFLAGS) \
-ptr$(VSHDIR)pt$* -ptr./ptrepository $<`"; \
$(RM) -rf a.out; \
YYZ="`echo $(VSHDIR)pt$*/*.o`"; \
$(SOLINK.cc) -o $@ ./$(VSHDIR)$*.o $(YYZ)
|