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