(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            SYS_LIBS =
 42            
 43 marek 1.16 CXX = c++ -+
 44            
 45            CC = cc
 46            
 47            SH = sh
 48            
 49            YACC = bison
 50            
 51            RM = rm -f
 52            
 53            DIFF = diff
 54            
 55            SORT = sort
 56            
 57            COPY = cp
 58            
 59            MOVE = mv
 60            
 61            LIB_SUFFIX = .so
 62            
 63            PEGASUS_SUPPORTS_DYNLIB = yes
 64 marek 1.16 
 65            PEGASUS_HAS_MAKEDEPEND = yes
 66            # l10n
 67            ifdef PEGASUS_HAS_MESSAGES
 68              DEFINES += -DPEGASUS_HAS_MESSAGES
 69              ifdef ICU_ROOT
 70                    ifdef ICU_INSTALL
 71                      MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
 72                    else
 73                      MSG_COMPILE = ${ICU_ROOT}/bin/genrb
 74                    endif
 75                    MSG_FLAGS =
 76                    MSG_SOURCE_EXT = .txt
 77                    MSG_COMPILE_EXT = .res
 78                    CNV_ROOT_CMD = cnv2rootbundle
 79            
 80            ##################################
 81            ##
 82            ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
 83            ## resource bundle, default is to uppercase the root resource bundle
 84            ##
 85 marek 1.16 ##################################
 86            
 87                    ifdef ICU_NO_UPPERCASE_ROOT
 88                      CNV_ROOT_FLAGS =
 89                    else
 90                      CNV_ROOT_FLAGS = -u
 91                    endif
 92            
 93            ####################################
 94            ##
 95            ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
 96            ## bundle will be generated from defaults to _en if not set.  if set, for
 97            ## any directory containing resource bundles, there must exist a file name:
 98            ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
 99            ## target will fail
100            ##
101            ####################################
102            
103                    ifdef ICU_ROOT_BUNDLE_LANG
104                      MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
105                    else
106 marek 1.16           MSG_ROOT_SOURCE = _en
107                    endif
108                    SYS_INCLUDES += -I${ICU_INSTALL}/include
109                    DEFINES += -DPEGASUS_HAS_ICU
110                    ifdef ICU_INSTALL
111            	  FLAGS+ = -L${ICU_INSTALL}/lib
112            	  PR_FLAGS += -L${ICU_INSTALL}/lib
113                      EXTRA_LIBRARIES += ${ICU_INSTALL}/lib/libicui18n.x ${ICU_INSTALL}/lib/libicuuc.x
114                    endif
115              endif
116            endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2