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 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM)
14
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 kv.le 1.11 # Build using fixed release settings
28 #
29 ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
30 FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS
31 endif
32 ifdef PEGASUS_USE_RELEASE_DIRS
33 FLAGS += -DPEGASUS_USE_RELEASE_DIRS
34 endif
35
|
36 sage 1.3 SYS_LIBS = -ldl
37
|
38 sage 1.4 # SSL support
|
39 dan 1.8 ifdef PEGASUS_HAS_SSL
40 OPENSSL_HOME = /usr/linux
41 endif
|
42 sage 1.4
|
43 sage 1.3 CXX = xlC_r
|
44 mike 1.1
45 SH = sh
46
47 YACC = bison
48
49 COPY = cp
50
51 MOVE = mv
|
52 mike 1.2
53 LIB_SUFFIX = .so
|
54 sage 1.4
|
55 sage 1.5 AIX_LIB_PRIORITY = 0
|
56 dan 1.9 AIX_LD_HALT = 8
|
57 sage 1.5
|
58 sage 1.4 ifndef PEGASUS_USE_MU_DEPEND
59 PEGASUS_HAS_MAKEDEPEND = yes
60 endif
|
61 sage 1.5
62 PEGASUS_SUPPORTS_DYNLIB = yes
|
63 kv.le 1.12
64 # l10n
65 ifdef PEGASUS_HAS_MESSAGES
66 DEFINES += -DPEGASUS_HAS_MESSAGES
67 ifdef ICU_ROOT
68 ifdef ICU_INSTALL
69 MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
70 else
71 MSG_COMPILE = ${ICU_ROOT}/bin/genrb
72 endif
73 MSG_FLAGS =
74 MSG_SOURCE_EXT = .txt
75 MSG_COMPILE_EXT = .res
76 CNV_ROOT_CMD = cnv2rootbundle
77
78 ##################################
79 ##
80 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
81 ## resource bundle, default is to uppercase the root resource bundle
82 ##
83 ##################################
84 kv.le 1.12
85 ifdef ICU_NO_UPPERCASE_ROOT
86 CNV_ROOT_FLAGS =
87 else
88 CNV_ROOT_FLAGS = -u
89 endif
90
91 ####################################
92 ##
93 ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
94 ## bundle will be generated from defaults to _en if not set. if set, for
95 ## any directory containing resource bundles, there must exist a file name:
96 ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
97 ## target will fail
98 ##
99 ####################################
100
101 ifdef ICU_ROOT_BUNDLE_LANG
102 MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
103 else
104 MSG_ROOT_SOURCE = _en
105 kv.le 1.12 endif
106 #SYS_INCLUDES += -I${ICU_ROOT}/source/common
107 #SYS_INCLUDES += -I${ICU_ROOT}/source/i18n
108 SYS_INCLUDES += -I${ICU_ROOT}/include
109 DEFINES += -DPEGASUS_HAS_ICU
|
110 kv.le 1.13 ifdef ICU_INSTALL
111 EXTRA_LIBRARIES += -L${ICU_INSTALL}/lib -licui18n -licuuc
|
112 kv.le 1.12 #SYS_LIBS += -L${ICU_INSTALL}/lib -licui18n -licuuc
|
113 kv.le 1.13 endif
|
114 kv.le 1.12 endif
115 endif
|