1 mike 1.1 include $(ROOT)/mak/config-unix.mak
2
3 OS = aix
4
5 ARCHITECTURE = rs
6
7 COMPILER = xlc
8
|
9 kv.le 1.10 PLATFORM_VERSION_SUPPORTED = yes
10
|
11 sage 1.4 SYS_INCLUDES = -I/usr/vacpp/include
|
12 mike 1.1
|
13 david.dillard 1.18 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_OS_AIX$(shell uname -v)
|
14 mike 1.1
15 DEPEND_INCLUDES =
16
|
17 sage 1.4 DEPEND_DEFINES = -D__IBMCPP__=500
18
|
19 mike 1.1 ifdef PEGASUS_DEBUG
20 FLAGS = -g
21 else
22 FLAGS = -O2
23 endif
24
|
25 kv.le 1.20 FLAGS += -qrtti=dyna -qcpluscmt
|
26 mike 1.1
|
27 sage 1.3 SYS_LIBS = -ldl
28
|
29 sage 1.4 # SSL support
|
30 dan 1.8 ifdef PEGASUS_HAS_SSL
|
31 david.dillard 1.16 ifndef OPENSSL_HOME
|
32 dan 1.8 OPENSSL_HOME = /usr/linux
33 endif
|
34 david.dillard 1.16 endif
|
35 sage 1.4
|
36 sage 1.3 CXX = xlC_r
|
37 mike 1.1
38 SH = sh
39
40 YACC = bison
41
42 COPY = cp
43
44 MOVE = mv
|
45 mike 1.2
46 LIB_SUFFIX = .so
|
47 sage 1.4
|
48 sage 1.5 AIX_LIB_PRIORITY = 0
|
49 dan 1.9 AIX_LD_HALT = 8
|
50 sage 1.5
|
51 sage 1.4 ifndef PEGASUS_USE_MU_DEPEND
52 PEGASUS_HAS_MAKEDEPEND = yes
53 endif
|
54 sage 1.5
55 PEGASUS_SUPPORTS_DYNLIB = yes
|
56 kv.le 1.12
|
57 kv.le 1.19 DEFINES += -DPEGASUS_HAS_SIGNALS
58
|
59 kv.le 1.12 # l10n
60 ifdef PEGASUS_HAS_MESSAGES
61 DEFINES += -DPEGASUS_HAS_MESSAGES
62 ifdef ICU_ROOT
63 ifdef ICU_INSTALL
64 MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
65 else
66 MSG_COMPILE = ${ICU_ROOT}/bin/genrb
67 endif
68 MSG_FLAGS =
69 MSG_SOURCE_EXT = .txt
70 MSG_COMPILE_EXT = .res
71 CNV_ROOT_CMD = cnv2rootbundle
72
73 ##################################
74 ##
75 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
76 ## resource bundle, default is to uppercase the root resource bundle
77 ##
78 ##################################
79
80 kv.le 1.12 ifdef ICU_NO_UPPERCASE_ROOT
81 CNV_ROOT_FLAGS =
82 else
83 CNV_ROOT_FLAGS = -u
84 endif
85
86 ####################################
87 ##
88 ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
89 ## bundle will be generated from defaults to _en if not set. if set, for
90 ## any directory containing resource bundles, there must exist a file name:
91 ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
92 ## target will fail
93 ##
94 ####################################
95
96 ifdef ICU_ROOT_BUNDLE_LANG
97 MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
98 else
99 MSG_ROOT_SOURCE = _en
100 endif
101 kv.le 1.12 #SYS_INCLUDES += -I${ICU_ROOT}/source/common
102 #SYS_INCLUDES += -I${ICU_ROOT}/source/i18n
103 SYS_INCLUDES += -I${ICU_ROOT}/include
104 DEFINES += -DPEGASUS_HAS_ICU
|
105 kv.le 1.13 ifdef ICU_INSTALL
106 EXTRA_LIBRARIES += -L${ICU_INSTALL}/lib -licui18n -licuuc
|
107 kv.le 1.12 #SYS_LIBS += -L${ICU_INSTALL}/lib -licui18n -licuuc
|
108 kv.le 1.13 endif
|
109 kv.le 1.12 endif
110 endif
|
111 w.otsuka 1.15
112 ifdef PEGASUS_USE_RELEASE_DIRS
|
113 denise.eckstein 1.17 PEGASUS_DEST_LIB_DIR =/usr/lib
|
114 w.otsuka 1.15 endif
115
|