summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_hpux_orbix.GNU
blob: 7fde5f5f05aefec6e027635eff2de68d2345e245 (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
# Assume the existence of Orbix with HP/UX...
CC		= /bin/cc
CXX		= /usr/bin/CC
DLD		= $(CXX)
LD		= $(CXX) 
INCLDIRS        = -I$(ORBIX_ROOT)/include
PIC		= 
ARFLAGS		= ruv
RANLIB		= echo
CFLAGS		= -Aa -z +z $(DCFLAGS) 
LDFLAGS		= -L$(ORBIX_ROOT)/lib -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)