blob: c38adae2b360a74c25b521e86693b34e5bbbf0d9 (
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
|
# Assume the existence of Orbix with HP/UX...
CC = /bin/cc
CXX = /usr/bin/CC
CFLAGS = $(DCFLAGS) -Aa -z +z
CCFLAGS = $(CFLAGS) -pta -ptb
DCFLAGS += -g
DLD = $(CXX)
LD = $(CXX)
INCLDIRS = -I$(ORBIX_ROOT)/include
PIC =
ARFLAGS = ruv
RANLIB = echo
LDFLAGS = -L$(ORBIX_ROOT)/lib -L$(WRAPPER_ROOT)/ace -Wl,+s
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)
|