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

  1 marek 1.16 include $(ROOT)/mak/config-unix.mak
  2            
  3            OS = zos
  4            
  5            ARCHITECTURE = zseries
  6            
  7            COMPILER = ibm
  8            
  9            #SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include -I$(ROOT)/src/StandardIncludes/zOS
 10            SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include
 11            DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D_OPEN_SOURCE=3
 12            
 13            ifdef PEGASUS_KERBEROS_AUTHENTICATION
 14              DEFINES += -DPEGASUS_KERBEROS_AUTHENTICATION
 15            endif
 16            
 17            
 18            DEPEND_DEFINES = -D__IBMCPP__=400
 19            
 20            ifdef PEGASUS_DEBUG
 21            FLAGS = -g -W "c,ASCII,XPLINK,dll,expo,rtti(dynamiccast),langlvl(extended),float(ieee)"
 22 marek 1.16 PR_FLAGS = -g -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),FLOAT(IEEE)" -W "l,XPLINK,dll"
 23            else
 24            FLAGS = -O2 -W "c,ASCII,XPLINK,dll,expo,rtti(dynamiccast),langlvl(extended),float(ieee)"
 25            PR_FLAGS = -O2 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),FLOAT(IEEE)" -W "l,XPLINK,dll"
 26            endif
 27            
 28            ifdef PEGASUS_ZOS_SECURITY
 29              DEFINES += -DPEGASUS_ZOS_SECURITY
 30            endif
 31            
 32            ifdef PEGASUS_HAS_MY_KERBEROS
 33              FLAGS+= -L/usr/local/lib
 34              PR_FLAGS+= -L/usr/local/lib
 35            endif
 36            
 37            ifdef PEGASUS_ZOS_THREADLEVEL_SECURITY
 38              DEFINES += -DPEGASUS_ZOS_THREADLEVEL_SECURITY
 39            endif
 40            
 41 r.kieninger 1.17 # Local domain sockets, or an equivalent, is not currently supported on z/OS. Bug 2147
 42                  PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET=1
 43                  
 44 marek       1.16 SYS_LIBS =
 45                  
 46                  CXX = c++ -+
 47                  
 48                  CC = cc
 49                  
 50                  SH = sh
 51                  
 52                  YACC = bison
 53                  
 54                  RM = rm -f
 55                  
 56                  DIFF = diff
 57                  
 58                  SORT = sort
 59                  
 60                  COPY = cp
 61                  
 62                  MOVE = mv
 63                  
 64                  LIB_SUFFIX = .so
 65 marek       1.16 
 66                  PEGASUS_SUPPORTS_DYNLIB = yes
 67                  
 68                  PEGASUS_HAS_MAKEDEPEND = yes
 69                  # l10n
 70                  ifdef PEGASUS_HAS_MESSAGES
 71                    DEFINES += -DPEGASUS_HAS_MESSAGES
 72                    ifdef ICU_ROOT
 73                          ifdef ICU_INSTALL
 74                            MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
 75                          else
 76                            MSG_COMPILE = ${ICU_ROOT}/bin/genrb
 77                          endif
 78                          MSG_FLAGS =
 79                          MSG_SOURCE_EXT = .txt
 80                          MSG_COMPILE_EXT = .res
 81                          CNV_ROOT_CMD = cnv2rootbundle
 82                  
 83                  ##################################
 84                  ##
 85                  ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
 86 marek       1.16 ## resource bundle, default is to uppercase the root resource bundle
 87                  ##
 88                  ##################################
 89                  
 90                          ifdef ICU_NO_UPPERCASE_ROOT
 91                            CNV_ROOT_FLAGS =
 92                          else
 93                            CNV_ROOT_FLAGS = -u
 94                          endif
 95                  
 96                  ####################################
 97                  ##
 98                  ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
 99                  ## bundle will be generated from defaults to _en if not set.  if set, for
100                  ## any directory containing resource bundles, there must exist a file name:
101                  ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
102                  ## target will fail
103                  ##
104                  ####################################
105                  
106                          ifdef ICU_ROOT_BUNDLE_LANG
107 marek       1.16           MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
108                          else
109                            MSG_ROOT_SOURCE = _en
110                          endif
111                          SYS_INCLUDES += -I${ICU_INSTALL}/include
112                          DEFINES += -DPEGASUS_HAS_ICU
113                          ifdef ICU_INSTALL
114                  	  FLAGS+ = -L${ICU_INSTALL}/lib
115                  	  PR_FLAGS += -L${ICU_INSTALL}/lib
116                            EXTRA_LIBRARIES += ${ICU_INSTALL}/lib/libicui18n.x ${ICU_INSTALL}/lib/libicuuc.x
117                          endif
118                    endif
119                  endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2