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

  1 a.dunfey 1.21.2.1 #//%2006////////////////////////////////////////////////////////////////////////
  2 martin   1.18     #//
  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 a.dunfey 1.21.2.1 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 12                   #// EMC Corporation; Symantec Corporation; The Open Group.
 13 martin   1.18     #//
 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 a.dunfey 1.21.2.1 #// 
 21 martin   1.18     #// 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 aruran.ms 1.19     include $(ROOT)/mak/config-unix.mak
 32                    
 33                    OS = zos
 34                    
 35                    ARCHITECTURE = zseries
 36                    
 37                    COMPILER = ibm
 38                    
 39                    #SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include -I$(ROOT)/src/StandardIncludes/zOS
 40                    SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include
 41 marek     1.20     DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D_OPEN_SOURCE=3 -D_ENHANCED_ASCII_EXT=0xFFFFFFFF
 42 aruran.ms 1.19     
 43                    ifdef PEGASUS_KERBEROS_AUTHENTICATION
 44                      DEFINES += -DPEGASUS_KERBEROS_AUTHENTICATION
 45                    endif
 46                    
 47                    
 48                    DEPEND_DEFINES = -D__IBMCPP__=400
 49                    
 50                    ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
 51 marek     1.20     FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),float(ieee),goff"
 52                    PR_FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll"
 53 aruran.ms 1.19     else
 54 marek     1.20     FLAGS = -O3 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),float(ieee),goff"
 55                    PR_FLAGS = -O3 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll,EDIT=NO"
 56 aruran.ms 1.19     endif
 57                    
 58                    ifdef PEGASUS_ZOS_SECURITY
 59                      DEFINES += -DPEGASUS_ZOS_SECURITY
 60                    endif
 61                    
 62                    ifdef PEGASUS_HAS_MY_KERBEROS
 63                      FLAGS+= -L/usr/local/lib
 64                      PR_FLAGS+= -L/usr/local/lib
 65                    endif
 66                    
 67                    ifdef PEGASUS_ZOS_THREADLEVEL_SECURITY
 68                      DEFINES += -DPEGASUS_ZOS_THREADLEVEL_SECURITY
 69                    endif
 70                    
 71 marek     1.20     #ifdef PEGASUS_ZOS_USE_LONG_ARRAYS
 72                      DEFINES += -DPEGASUS_ZOS_USE_LONG_ARRAYS
 73                    #endif
 74                    
 75 r.kieninger 1.21     # if PEGASUS_ENABLE_SLP is already set then honor the users preference else
 76                      # Enable the compilation of the SLP functions.
 77                      #
 78                      ifndef PEGASUS_ENABLE_SLP
 79                          PEGASUS_ENABLE_SLP = true
 80                      endif
 81                      
 82 aruran.ms   1.19     # Local domain sockets, or an equivalent, is not currently supported on z/OS. Bug 2147
 83                      PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET=1
 84                      
 85                      SYS_LIBS =
 86                      
 87                      CXX = c++ -+
 88                      
 89                      CC = cc
 90                      
 91                      SH = sh
 92                      
 93                      YACC = bison
 94                      
 95                      RM = rm -f
 96                      
 97                      DIFF = diff
 98                      
 99                      SORT = sort
100                      
101                      COPY = cp
102                      
103 aruran.ms   1.19     MOVE = mv
104                      
105                      LIB_SUFFIX = .so
106                      
107                      PEGASUS_SUPPORTS_DYNLIB = yes
108                      
109                      PEGASUS_HAS_MAKEDEPEND = yes
110                      # l10n
111                      ifdef PEGASUS_HAS_MESSAGES
112                        DEFINES += -DPEGASUS_HAS_MESSAGES
113                        ifdef ICU_ROOT
114                              ifdef ICU_INSTALL
115                                MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
116                              else
117                                MSG_COMPILE = ${ICU_ROOT}/bin/genrb
118                              endif
119                              MSG_FLAGS =
120                              MSG_SOURCE_EXT = .txt
121                              MSG_COMPILE_EXT = .res
122                              CNV_ROOT_CMD = cnv2rootbundle
123                      
124 aruran.ms   1.19     ##################################
125                      ##
126                      ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
127                      ## resource bundle, default is to uppercase the root resource bundle
128                      ##
129                      ##################################
130                      
131                              ifdef ICU_NO_UPPERCASE_ROOT
132                                CNV_ROOT_FLAGS =
133                              else
134                                CNV_ROOT_FLAGS = -u
135                              endif
136                      
137                      ####################################
138                      ##
139                      ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
140                      ## bundle will be generated from defaults to _en if not set.  if set, for
141                      ## any directory containing resource bundles, there must exist a file name:
142                      ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
143                      ## target will fail
144                      ##
145 aruran.ms   1.19     ####################################
146                      
147                              ifdef ICU_ROOT_BUNDLE_LANG
148                                MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
149                              else
150                                MSG_ROOT_SOURCE = _en
151                              endif
152                              SYS_INCLUDES += -I${ICU_INSTALL}/include
153                              DEFINES += -DPEGASUS_HAS_ICU
154                              ifdef ICU_INSTALL
155                      	  FLAGS+ = -L${ICU_INSTALL}/lib
156                      	  PR_FLAGS += -L${ICU_INSTALL}/lib
157                                EXTRA_LIBRARIES += ${ICU_INSTALL}/lib/libicui18n.x ${ICU_INSTALL}/lib/libicuuc.x
158                              endif
159                        endif
160                      endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2