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

Diff for /pegasus/mak/platform_ZOS_ZSERIES_IBM.mak between version 1.35.4.1 and 1.49.2.1

version 1.35.4.1, 2007/12/13 13:30:03 version 1.49.2.1, 2013/06/03 22:34:47
Line 1 
Line 1 
 #//%2006////////////////////////////////////////////////////////////////////////  #//%LICENSE////////////////////////////////////////////////////////////////
 #// #//
 #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development  #// Licensed to The Open Group (TOG) under one or more contributor license
 #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.  #// agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
 #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;  #// this work for additional information regarding copyright ownership.
 #// IBM Corp.; EMC Corporation, The Open Group.  #// Each contributor licenses this file to you under the OpenPegasus Open
 #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;  #// Source License; you may not use this file except in compliance with the
 #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.  #// License.
 #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;  
 #// EMC Corporation; VERITAS Software Corporation; The Open Group.  
 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;  
 #// EMC Corporation; Symantec Corporation; The Open Group.  
 #// #//
 #// Permission is hereby granted, free of charge, to any person obtaining a copy  #// Permission is hereby granted, free of charge, to any person obtaining a
 #// of this software and associated documentation files (the "Software"), to  #// copy of this software and associated documentation files (the "Software"),
 #// deal in the Software without restriction, including without limitation the  #// to deal in the Software without restriction, including without limitation
 #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or  #// the rights to use, copy, modify, merge, publish, distribute, sublicense,
 #// sell copies of the Software, and to permit persons to whom the Software is  #// and/or sell copies of the Software, and to permit persons to whom the
 #// furnished to do so, subject to the following conditions:  #// Software is furnished to do so, subject to the following conditions:
 #// #//
 #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN  #// The above copyright notice and this permission notice shall be included
 #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED  #// in all copies or substantial portions of the Software.
 #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT  
 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR  
 #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT  
 #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN  
 #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION  
 #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  
 #// #//
 #//==============================================================================  #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
   #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
   #// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
   #// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
   #// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
   #// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
   #// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
   #//
   #//////////////////////////////////////////////////////////////////////////
 include $(ROOT)/mak/config-unix.mak include $(ROOT)/mak/config-unix.mak
  
 OS = zos OS = zos
Line 36 
Line 34 
  
 COMPILER = ibm COMPILER = ibm
  
 SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include -I$(ROOT)/src/StandardIncludes/zOS  SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include -I$(ROOT)/src/stdcxx/zOS
 #SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include #SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include
 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D _OPEN_SYS_IF_EXT -D _OPEN_SYS_DIR_EXT -D _OPEN_SYS_FILE_EXT -D_ALL_SOURCE -D_UNIX03_SOURCE -D_OPEN_THREADS=3 -D_OPEN_SYS_SOCK_IPV6 -D_ENHANCED_ASCII_EXT=0xFFFFFFFF  DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D _OPEN_SYS_IF_EXT -D _OPEN_SYS_DIR_EXT -D _OPEN_SYS_FILE_EXT -D_ALL_SOURCE -D_UNIX03_SOURCE -D_OPEN_THREADS=3 -D_OPEN_SYS_SOCK_IPV6 -D_ENHANCED_ASCII_EXT=0xFFFFFFFF -D_XOPEN_SOURCE=600 -D_UNIX03_WITHDRAWN
   
   DEFINES += -DPEGASUS_OS_ZOS
  
 DEFINES += -DPEGASUS_USE_SYSLOGS DEFINES += -DPEGASUS_USE_SYSLOGS
  
Line 52 
Line 52 
 FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),float(ieee),goff" FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),float(ieee),goff"
 PR_FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll" PR_FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll"
 else else
 FLAGS = -O2 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),float(ieee),goff"  FLAGS = -O2 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),float(ieee),goff,INLINE(AUTO,REPORT,1000,8000)"
 PR_FLAGS = -O2 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll,EDIT=NO"  PR_FLAGS = -O2 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),FLOAT(IEEE),goff,INLINE(AUTO,REPORT,1000,8000)" -W "l,XPLINK,dll,EDIT=NO"
 endif endif
  
   # The CSECT parameter for the compiler does not bear dots.
   # replace '.' with '_'
   _CSECT_PATH = $(subst .,_,$(DIR))
   FLAGS += -W"c,CSECT($(_CSECT_PATH)) "
   PR_FLAGS += -W"c,CSECT($(_CSECT_PATH)) "
   
 ifdef PEGASUS_GENERATE_LISTINGS ifdef PEGASUS_GENERATE_LISTINGS
   FLAGS += -W"c,LIST,XREF"   FLAGS += -W"c,LIST,XREF"
   PR_FLAGS  += -W"c,LIST,XREF" -W"l,MAP,LIST"   PR_FLAGS  += -W"c,LIST,XREF" -W"l,MAP,LIST"
Line 73 
Line 79 
     PR_FLAGS += -W "c,SERVICE(NOTVALI--CIM--NOTVALID--XXX--$(PEGASUS_ZOS_BUILD_DATE))"     PR_FLAGS += -W "c,SERVICE(NOTVALI--CIM--NOTVALID--XXX--$(PEGASUS_ZOS_BUILD_DATE))"
 endif endif
  
   # supported values for PEGASUS_ZOS_TARGET_LEVEL are the following:
   # zOSV1R7, zOSV1R8, zOSV1R9
   ifdef PEGASUS_ZOS_TARGET_LEVEL
          FLAGS += -W "c,TARGET($(PEGASUS_ZOS_TARGET_LEVEL))"
       PR_FLAGS += -W "c,TARGET($(PEGASUS_ZOS_TARGET_LEVEL))"
   endif
  
 ifdef PEGASUS_ZOS_SECURITY ifdef PEGASUS_ZOS_SECURITY
   DEFINES += -DPEGASUS_ZOS_SECURITY   DEFINES += -DPEGASUS_ZOS_SECURITY
Line 119 
Line 131 
  
 LIB_SUFFIX = .so LIB_SUFFIX = .so
  
 PEGASUS_SUPPORTS_DYNLIB = yes  DYNLIB_SUFFIX = .x
   
 PEGASUS_HAS_MAKEDEPEND = yes  
 # l10n  
 ifdef PEGASUS_HAS_MESSAGES  
   DEFINES += -DPEGASUS_HAS_MESSAGES  
   ifdef ICU_ROOT  
         ifdef ICU_INSTALL  
           MSG_COMPILE = ${ICU_INSTALL}/bin/genrb  
         else  
           MSG_COMPILE = ${ICU_ROOT}/bin/genrb  
         endif  
         MSG_FLAGS =  
         MSG_SOURCE_EXT = .txt  
         MSG_COMPILE_EXT = .res  
         CNV_ROOT_CMD = cnv2rootbundle  
   
 ##################################  
 ##  
 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root  
 ## resource bundle, default is to uppercase the root resource bundle  
 ##  
 ##################################  
  
         ifdef ICU_NO_UPPERCASE_ROOT  STATLIB_SUFFIX = .a
           CNV_ROOT_FLAGS =  
         else  
           CNV_ROOT_FLAGS = -u  
         endif  
  
 ####################################  PEGASUS_SUPPORTS_DYNLIB = yes
 ##  
 ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource  
 ## bundle will be generated from defaults to _en if not set.  if set, for  
 ## any directory containing resource bundles, there must exist a file name:  
 ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages  
 ## target will fail  
 ##  
 ####################################  
  
         ifdef ICU_ROOT_BUNDLE_LANG  PEGASUS_HAS_MAKEDEPEND = yes
           MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)  
         else  
           MSG_ROOT_SOURCE = _en  
         endif  
         SYS_INCLUDES += -I${ICU_INSTALL}/include  
         DEFINES += -DPEGASUS_HAS_ICU  
         ifdef ICU_INSTALL  
           FLAGS+ = -L${ICU_INSTALL}/lib  
           PR_FLAGS += -L${ICU_INSTALL}/lib  
           EXTRA_LIBRARIES += ${ICU_INSTALL}/lib/libicui18n.x ${ICU_INSTALL}/lib/libicuuc.x  
         endif  
   endif  
 endif  


Legend:
Removed from v.1.35.4.1  
changed lines
  Added in v.1.49.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2