(file) Return to platform_ZOS_ZSERIES_IBM.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

  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                DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D_OPEN_SOURCE=3
 40                
 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                FLAGS = -g -W "c,ASCII,XPLINK,dll,expo,rtti(dynamiccast),langlvl(extended),float(ieee)"
 50 aruran.ms 1.19 PR_FLAGS = -g -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),FLOAT(IEEE)" -W "l,XPLINK,dll"
 51                else
 52                FLAGS = -O2 -W "c,ASCII,XPLINK,dll,expo,rtti(dynamiccast),langlvl(extended),float(ieee)"
 53                PR_FLAGS = -O2 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),FLOAT(IEEE)" -W "l,XPLINK,dll"
 54                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                # Local domain sockets, or an equivalent, is not currently supported on z/OS. Bug 2147
 70                PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET=1
 71 aruran.ms 1.19 
 72                SYS_LIBS =
 73                
 74                CXX = c++ -+
 75                
 76                CC = cc
 77                
 78                SH = sh
 79                
 80                YACC = bison
 81                
 82                RM = rm -f
 83                
 84                DIFF = diff
 85                
 86                SORT = sort
 87                
 88                COPY = cp
 89                
 90                MOVE = mv
 91                
 92 aruran.ms 1.19 LIB_SUFFIX = .so
 93                
 94                PEGASUS_SUPPORTS_DYNLIB = yes
 95                
 96                PEGASUS_HAS_MAKEDEPEND = yes
 97                # l10n
 98                ifdef PEGASUS_HAS_MESSAGES
 99                  DEFINES += -DPEGASUS_HAS_MESSAGES
100                  ifdef ICU_ROOT
101                        ifdef ICU_INSTALL
102                          MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
103                        else
104                          MSG_COMPILE = ${ICU_ROOT}/bin/genrb
105                        endif
106                        MSG_FLAGS =
107                        MSG_SOURCE_EXT = .txt
108                        MSG_COMPILE_EXT = .res
109                        CNV_ROOT_CMD = cnv2rootbundle
110                
111                ##################################
112                ##
113 aruran.ms 1.19 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
114                ## resource bundle, default is to uppercase the root resource bundle
115                ##
116                ##################################
117                
118                        ifdef ICU_NO_UPPERCASE_ROOT
119                          CNV_ROOT_FLAGS =
120                        else
121                          CNV_ROOT_FLAGS = -u
122                        endif
123                
124                ####################################
125                ##
126                ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
127                ## bundle will be generated from defaults to _en if not set.  if set, for
128                ## any directory containing resource bundles, there must exist a file name:
129                ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
130                ## target will fail
131                ##
132                ####################################
133                
134 aruran.ms 1.19         ifdef ICU_ROOT_BUNDLE_LANG
135                          MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
136                        else
137                          MSG_ROOT_SOURCE = _en
138                        endif
139                        SYS_INCLUDES += -I${ICU_INSTALL}/include
140                        DEFINES += -DPEGASUS_HAS_ICU
141                        ifdef ICU_INSTALL
142                	  FLAGS+ = -L${ICU_INSTALL}/lib
143                	  PR_FLAGS += -L${ICU_INSTALL}/lib
144                          EXTRA_LIBRARIES += ${ICU_INSTALL}/lib/libicui18n.x ${ICU_INSTALL}/lib/libicuuc.x
145                        endif
146                  endif
147                endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2