blob: 8197edf7d16e4da69964fcbbf64b9c10005cf265 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
CC = /bin/cc
CXX = /usr/bin/CC
DLD = $(CXX)
PIC =
ARFLAGS = ruv
RANLIB = echo
CFLAGS = -Aa -z +z $(DCFLAGS)
LDFLAGS = -L$(WRAPPER_ROOT)/ace -Wl,+s
CCFLAGS = -Aa -z +z -pta -ptb
SOFLAGS = -b
SOBUILD = @echo ""; \
echo "$(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<"; \
$(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
$(RM) -rf $(VSHDIR)pt$*; mkdir $(VSHDIR)pt$*; \
echo "int main() { return 0; }" >dummy.C; \
echo "$(CXX) $(CCFLAGS) $(PIC) $(CPPFLAGS) $(LDFLAGS) -ptr$(VSHDIR)pt$* -ptr./ptrepository dummy.C $<";\
YYZ="`$(CXX) $(CCFLAGS) $(PIC) $(CPPFLAGS) $(LDFLAGS) -ptr$(VSHDIR)pt$* -ptr./ptrepository dummy.C $<`"; \
$(RM) -rf a.out dummy.*; \
YYZ="`echo $(VSHDIR)pt$*/*.o`"; \
echo "$(SOLINK.cc) -o $@ ./$(VSHDIR)$*.o $(YYZ)"; \
$(SOLINK.cc) -o $@ ./$(VSHDIR)$*.o $(YYZ)
|