summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_aix.GNU
blob: cb001177e06a1a76e91af350b631e53c2ab63e19 (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
31
# AIX 4.1.3
# *not* using Orbix
# This file assumes that the user has installed the AIX patch
# containing the dl*() APIs.  To use these APIs, IBM has created a
# separate product (free to AIX licensees) called shared library
# hookable symbols (or slhs/6000).  If they don't have this patch, the
# sv* commands for compiling and linking will not be present on the
# system. 

CC	    = xlC
CXX	    = xlC_r
DLD	    = makeC++SharedLib
LD	    = $(CXX)
CPPFLAGS    += -qxcall -qtempinc
SHLIBA      = $(SHLIB:lib%.so=lib%shr.a)
ifdef SHLIB
ACELIB      = -lACEshr
endif
LLIBS	    = -lC_r -lC -lpthreads -lbsd -lsvld -ltli -lc_r -lm -lc $(ACELIB)
LIBS	    += $(filter-out $(SHLIBA:lib%.a=-l%), $(LLIBS))
ARFLAGS	    = ruv
AR	    = ar
LDFLAGS	    += -bI:/lib/pse.exp
# Should be set to optimize for your particular computer.  This
# is set to be optimized for RS/6000 43P
OCCFLAGS    += -qarch=ppc -qtune=604
RANLIB	    = ranlib
SOFLAGS	    = -p 0
STATLIB     = $(VLIB)
TEMPINCDIR  = tempinc
SOBUILD	    =