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