1 karl 1.28 #//%2006////////////////////////////////////////////////////////////////////////
|
2 martin 1.26 #//
3 #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
6 #// IBM Corp.; EMC Corporation, The Open Group.
7 #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
9 #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 #// EMC Corporation; VERITAS Software Corporation; The Open Group.
|
11 karl 1.28 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 #// EMC Corporation; Symantec Corporation; The Open Group.
|
13 martin 1.26 #//
14 #// Permission is hereby granted, free of charge, to any person obtaining a copy
15 #// of this software and associated documentation files (the "Software"), to
16 #// deal in the Software without restriction, including without limitation the
17 #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18 #// sell copies of the Software, and to permit persons to whom the Software is
19 #// furnished to do so, subject to the following conditions:
20 #//
21 #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
22 #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
23 #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25 #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26 #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27 #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 #//
30 #//==============================================================================
|
31 mike 1.1 include $(ROOT)/mak/config-unix.mak
32
33 OS = aix
34
35 ARCHITECTURE = rs
36
37 COMPILER = xlc
38
|
39 kv.le 1.10 PLATFORM_VERSION_SUPPORTED = yes
40
|
41 sage 1.4 SYS_INCLUDES = -I/usr/vacpp/include
|
42 mike 1.1
|
43 david.dillard 1.18 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_OS_AIX$(shell uname -v)
|
44 mike 1.1
45 DEPEND_INCLUDES =
46
|
47 sage 1.4 DEPEND_DEFINES = -D__IBMCPP__=500
48
|
49 aruran.ms 1.27 ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
|
50 mike 1.1 FLAGS = -g
51 else
|
52 david.dillard 1.21 FLAGS = -O2 -s
|
53 mike 1.1 endif
54
|
55 kv.le 1.24 FLAGS += -qrtti=dyna -qcpluscmt -qlanglvl=newexcp
|
56 mike 1.1
|
57 sage 1.3 SYS_LIBS = -ldl
58
|
59 sage 1.4 # SSL support
|
60 dan 1.8 ifdef PEGASUS_HAS_SSL
|
61 david.dillard 1.16 ifndef OPENSSL_HOME
|
62 dan 1.8 OPENSSL_HOME = /usr/linux
63 endif
|
64 david.dillard 1.16 endif
|
65 sage 1.4
|
66 sage 1.3 CXX = xlC_r
|
67 mike 1.1
68 SH = sh
69
70 YACC = bison
71
|
72 jim.wunderlich 1.22 RM = rm -f
73
74 DIFF = diff
75
|
76 david.dillard 1.23 SORT = sort
|
77 jim.wunderlich 1.22
|
78 mike 1.1 COPY = cp
79
80 MOVE = mv
|
81 mike 1.2
82 LIB_SUFFIX = .so
|
83 sage 1.4
|
84 sage 1.5 AIX_LIB_PRIORITY = 0
|
85 dan 1.9 AIX_LD_HALT = 8
|
86 sage 1.5
|
87 sage 1.4 ifndef PEGASUS_USE_MU_DEPEND
88 PEGASUS_HAS_MAKEDEPEND = yes
89 endif
|
90 sage 1.5
91 PEGASUS_SUPPORTS_DYNLIB = yes
|
92 kv.le 1.12
|
93 kv.le 1.19 DEFINES += -DPEGASUS_HAS_SIGNALS
94
|
95 kv.le 1.25 # PAM support
96 ifdef PEGASUS_PAM_AUTHENTICATION
97 EXTRA_LIBRARIES += -lpam
98 endif
99 ##
100 ## The following flags need to be set or unset
101 ## to compile-in the code required for PAM authentication
102 ## and compile-out the code that uses the password file.
103 ##
104 ifdef PEGASUS_PAM_AUTHENTICATION
105 DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
106 endif
107
|
108 kv.le 1.12 # l10n
109 ifdef PEGASUS_HAS_MESSAGES
110 DEFINES += -DPEGASUS_HAS_MESSAGES
111 ifdef ICU_ROOT
112 ifdef ICU_INSTALL
113 MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
114 else
115 MSG_COMPILE = ${ICU_ROOT}/bin/genrb
116 endif
117 MSG_FLAGS =
118 MSG_SOURCE_EXT = .txt
119 MSG_COMPILE_EXT = .res
120 CNV_ROOT_CMD = cnv2rootbundle
121
122 ##################################
123 ##
124 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
125 ## resource bundle, default is to uppercase the root resource bundle
126 ##
127 ##################################
128
129 kv.le 1.12 ifdef ICU_NO_UPPERCASE_ROOT
130 CNV_ROOT_FLAGS =
131 else
132 CNV_ROOT_FLAGS = -u
133 endif
134
135 ####################################
136 ##
137 ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
138 ## bundle will be generated from defaults to _en if not set. if set, for
139 ## any directory containing resource bundles, there must exist a file name:
140 ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
141 ## target will fail
142 ##
143 ####################################
144
145 ifdef ICU_ROOT_BUNDLE_LANG
146 MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
147 else
148 MSG_ROOT_SOURCE = _en
149 endif
150 kv.le 1.12 #SYS_INCLUDES += -I${ICU_ROOT}/source/common
151 #SYS_INCLUDES += -I${ICU_ROOT}/source/i18n
152 SYS_INCLUDES += -I${ICU_ROOT}/include
153 DEFINES += -DPEGASUS_HAS_ICU
|
154 kv.le 1.13 ifdef ICU_INSTALL
155 EXTRA_LIBRARIES += -L${ICU_INSTALL}/lib -licui18n -licuuc
|
156 kv.le 1.12 #SYS_LIBS += -L${ICU_INSTALL}/lib -licui18n -licuuc
|
157 kv.le 1.13 endif
|
158 kv.le 1.12 endif
159 endif
|
160 w.otsuka 1.15
161 ifdef PEGASUS_USE_RELEASE_DIRS
|
162 denise.eckstein 1.17 PEGASUS_DEST_LIB_DIR =/usr/lib
|
163 w.otsuka 1.15 endif
164
|
165 dave.sudlik 1.28.32.1 ifdef PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER
166 JVM_LINK_FLAGS=-Wl,-bM:UR
167 endif
|