1 martin 1.18 #//%2005////////////////////////////////////////////////////////////////////////
2 #//
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 #//
12 #// Permission is hereby granted, free of charge, to any person obtaining a copy
13 #// of this software and associated documentation files (the "Software"), to
14 #// deal in the Software without restriction, including without limitation the
15 #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
16 #// sell copies of the Software, and to permit persons to whom the Software is
17 #// furnished to do so, subject to the following conditions:
18 #//
19 #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
20 #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
21 #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
22 martin 1.18 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
23 #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
24 #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
25 #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 #//
28 #//==============================================================================
|
29 aruran.ms 1.19 include $(ROOT)/mak/config-unix.mak
30
31 OS = zos
32
33 ARCHITECTURE = zseries
34
35 COMPILER = ibm
36
37 #SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include -I$(ROOT)/src/StandardIncludes/zOS
38 SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include
|
39 marek 1.20 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D_OPEN_SOURCE=3 -D_ENHANCED_ASCII_EXT=0xFFFFFFFF
|
40 aruran.ms 1.19
41 ifdef PEGASUS_KERBEROS_AUTHENTICATION
42 DEFINES += -DPEGASUS_KERBEROS_AUTHENTICATION
43 endif
44
45
46 DEPEND_DEFINES = -D__IBMCPP__=400
47
48 ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
|
49 marek 1.20 FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),float(ieee),goff"
50 PR_FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll"
|
51 aruran.ms 1.19 else
|
52 marek 1.20 FLAGS = -O3 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),float(ieee),goff"
53 PR_FLAGS = -O3 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll,EDIT=NO"
|
54 aruran.ms 1.19 endif
55
56 ifdef PEGASUS_ZOS_SECURITY
57 DEFINES += -DPEGASUS_ZOS_SECURITY
58 endif
59
60 ifdef PEGASUS_HAS_MY_KERBEROS
61 FLAGS+= -L/usr/local/lib
62 PR_FLAGS+= -L/usr/local/lib
63 endif
64
65 ifdef PEGASUS_ZOS_THREADLEVEL_SECURITY
66 DEFINES += -DPEGASUS_ZOS_THREADLEVEL_SECURITY
67 endif
68
|
69 marek 1.20 #ifdef PEGASUS_ZOS_USE_LONG_ARRAYS
70 DEFINES += -DPEGASUS_ZOS_USE_LONG_ARRAYS
71 #endif
72
|
73 aruran.ms 1.19 # Local domain sockets, or an equivalent, is not currently supported on z/OS. Bug 2147
74 PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET=1
75
76 SYS_LIBS =
77
78 CXX = c++ -+
79
80 CC = cc
81
82 SH = sh
83
84 YACC = bison
85
86 RM = rm -f
87
88 DIFF = diff
89
90 SORT = sort
91
92 COPY = cp
93
94 aruran.ms 1.19 MOVE = mv
95
96 LIB_SUFFIX = .so
97
98 PEGASUS_SUPPORTS_DYNLIB = yes
99
100 PEGASUS_HAS_MAKEDEPEND = yes
101 # l10n
102 ifdef PEGASUS_HAS_MESSAGES
103 DEFINES += -DPEGASUS_HAS_MESSAGES
104 ifdef ICU_ROOT
105 ifdef ICU_INSTALL
106 MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
107 else
108 MSG_COMPILE = ${ICU_ROOT}/bin/genrb
109 endif
110 MSG_FLAGS =
111 MSG_SOURCE_EXT = .txt
112 MSG_COMPILE_EXT = .res
113 CNV_ROOT_CMD = cnv2rootbundle
114
115 aruran.ms 1.19 ##################################
116 ##
117 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
118 ## resource bundle, default is to uppercase the root resource bundle
119 ##
120 ##################################
121
122 ifdef ICU_NO_UPPERCASE_ROOT
123 CNV_ROOT_FLAGS =
124 else
125 CNV_ROOT_FLAGS = -u
126 endif
127
128 ####################################
129 ##
130 ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
131 ## bundle will be generated from defaults to _en if not set. if set, for
132 ## any directory containing resource bundles, there must exist a file name:
133 ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
134 ## target will fail
135 ##
136 aruran.ms 1.19 ####################################
137
138 ifdef ICU_ROOT_BUNDLE_LANG
139 MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
140 else
141 MSG_ROOT_SOURCE = _en
142 endif
143 SYS_INCLUDES += -I${ICU_INSTALL}/include
144 DEFINES += -DPEGASUS_HAS_ICU
145 ifdef ICU_INSTALL
146 FLAGS+ = -L${ICU_INSTALL}/lib
147 PR_FLAGS += -L${ICU_INSTALL}/lib
148 EXTRA_LIBRARIES += ${ICU_INSTALL}/lib/libicui18n.x ${ICU_INSTALL}/lib/libicuuc.x
149 endif
150 endif
151 endif
|