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 sage 1.4 FLAGS += -qrtti=dyna
|
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 # l10n
58 ifdef PEGASUS_HAS_MESSAGES
59 DEFINES += -DPEGASUS_HAS_MESSAGES
60 ifdef ICU_ROOT
61 ifdef ICU_INSTALL
62 MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
63 else
64 MSG_COMPILE = ${ICU_ROOT}/bin/genrb
65 endif
66 MSG_FLAGS =
67 MSG_SOURCE_EXT = .txt
68 MSG_COMPILE_EXT = .res
69 CNV_ROOT_CMD = cnv2rootbundle
70
71 ##################################
72 ##
73 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
74 ## resource bundle, default is to uppercase the root resource bundle
75 ##
76 ##################################
77 kv.le 1.12
78 ifdef ICU_NO_UPPERCASE_ROOT
79 CNV_ROOT_FLAGS =
80 else
81 CNV_ROOT_FLAGS = -u
82 endif
83
84 ####################################
85 ##
86 ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
87 ## bundle will be generated from defaults to _en if not set. if set, for
88 ## any directory containing resource bundles, there must exist a file name:
89 ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
90 ## target will fail
91 ##
92 ####################################
93
94 ifdef ICU_ROOT_BUNDLE_LANG
95 MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
96 else
97 MSG_ROOT_SOURCE = _en
98 kv.le 1.12 endif
99 #SYS_INCLUDES += -I${ICU_ROOT}/source/common
100 #SYS_INCLUDES += -I${ICU_ROOT}/source/i18n
101 SYS_INCLUDES += -I${ICU_ROOT}/include
102 DEFINES += -DPEGASUS_HAS_ICU
|
103 kv.le 1.13 ifdef ICU_INSTALL
104 EXTRA_LIBRARIES += -L${ICU_INSTALL}/lib -licui18n -licuuc
|
105 kv.le 1.12 #SYS_LIBS += -L${ICU_INSTALL}/lib -licui18n -licuuc
|
106 kv.le 1.13 endif
|
107 kv.le 1.12 endif
108 endif
|
109 w.otsuka 1.15
110 ifdef PEGASUS_USE_RELEASE_DIRS
|
111 denise.eckstein 1.17 PEGASUS_DEST_LIB_DIR =/usr/lib
|
112 w.otsuka 1.15 endif
113
|