summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_hpux.GNU
blob: 15d7b469fadac5aa2144c40899476878e7a7f3e5 (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
28
29
30
# $Id$

debug = 1

# First, extract the OS version number.
HPVERS_WORDS := $(subst ., ,$(shell uname -r))
HPUX_VERS       := $(join $(word 2,$(HPVERS_WORDS)),$(word 3,$(HPVERS_WORDS)))
#

CC              = /bin/cc
CXX             = /usr/bin/CC -pta -ti,/bin/true -tr,/bin/true
CFLAGS          = -Aa -z +a1
CCFLAGS         = $(CFLAGS) -D_REENTRANT -DACE_LACKS_PRAGMA_ONCE -DHPUX_VERS=$(HPUX_VERS)
DCFLAGS         += -g
DLD             = /usr/bin/CC
LD              = /usr/bin/CC
PIC             = +Z
ARFLAGS         = ruv
RANLIB          = echo
LDFLAGS         = -L$(ACE_ROOT)/ace -Wl,+s
LIBS            += -lxti
SOFLAGS         += -b
SOEXT           = sl
SOBUILD     = @echo ""; \
  echo "$(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<"; \
  $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
  echo "$(SOLINK.cc) -o $@ $(VSHDIR)$*.o"; \
  $(SOLINK.cc) -o $@ $(VSHDIR)$*.o
SONAME		=
SOVERSION	=