(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 r.kieninger 1.21 #//
 19 martin      1.18 #// 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                  #// 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 r.kieninger 1.21 # if PEGASUS_ENABLE_SLP is already set then honor the users preference else
 74                  # Enable the compilation of the SLP functions.
 75                  #
 76                  ifndef PEGASUS_ENABLE_SLP
 77                      PEGASUS_ENABLE_SLP = true
 78                  endif
 79                  
 80 aruran.ms   1.19 # Local domain sockets, or an equivalent, is not currently supported on z/OS. Bug 2147
 81                  PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET=1
 82                  
 83                  SYS_LIBS =
 84                  
 85                  CXX = c++ -+
 86                  
 87                  CC = cc
 88                  
 89                  SH = sh
 90                  
 91                  YACC = bison
 92                  
 93                  RM = rm -f
 94                  
 95                  DIFF = diff
 96                  
 97                  SORT = sort
 98                  
 99                  COPY = cp
100                  
101 aruran.ms   1.19 MOVE = mv
102                  
103                  LIB_SUFFIX = .so
104                  
105                  PEGASUS_SUPPORTS_DYNLIB = yes
106                  
107                  PEGASUS_HAS_MAKEDEPEND = yes
108                  # 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 aruran.ms   1.19 ##################################
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                          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 aruran.ms   1.19 ####################################
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                          SYS_INCLUDES += -I${ICU_INSTALL}/include
151                          DEFINES += -DPEGASUS_HAS_ICU
152                          ifdef ICU_INSTALL
153                  	  FLAGS+ = -L${ICU_INSTALL}/lib
154                  	  PR_FLAGS += -L${ICU_INSTALL}/lib
155                            EXTRA_LIBRARIES += ${ICU_INSTALL}/lib/libicui18n.x ${ICU_INSTALL}/lib/libicuuc.x
156                          endif
157                    endif
158                  endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2