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

  1 karl  1.22 #//%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 karl   1.22 #// 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 karl   1.22 #// 
 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 marek     1.23 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.34 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
 42 aruran.ms 1.19 
 43 r.kieninger 1.43 DEFINES += -DPEGASUS_OS_ZOS
 44                  
 45 r.kieninger 1.30 DEFINES += -DPEGASUS_USE_SYSLOGS
 46                  
 47 aruran.ms   1.19 ifdef PEGASUS_KERBEROS_AUTHENTICATION
 48                    DEFINES += -DPEGASUS_KERBEROS_AUTHENTICATION
 49                  endif
 50                  
 51                  
 52                  
 53                  ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
 54 marek       1.38 FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),float(ieee),goff"
 55                  PR_FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll"
 56 aruran.ms   1.19 else
 57 thilo.boehm 1.42 FLAGS = -O2 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),float(ieee),goff,INLINE(AUTO,REPORT,1000,8000)"
 58                  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"
 59 aruran.ms   1.19 endif
 60                  
 61 r.kieninger 1.32 ifdef PEGASUS_GENERATE_LISTINGS
 62                    FLAGS += -W"c,LIST,XREF"
 63                    PR_FLAGS  += -W"c,LIST,XREF" -W"l,MAP,LIST"
 64                  endif
 65                  
 66                  
 67 thilo.boehm 1.31 PEGASUS_ZOS_BUILD_DATE := $(shell date '+%Y%m%d+')
 68 marek       1.24 
 69                  ifdef PEGASUS_ZOS_SERVICE_STRING
 70                         FLAGS += -W "c,SERVICE($(PEGASUS_ZOS_SERVICE_STRING)$(PEGASUS_ZOS_BUILD_DATE))"
 71                      PR_FLAGS += -W "c,SERVICE($(PEGASUS_ZOS_SERVICE_STRING)$(PEGASUS_ZOS_BUILD_DATE))"
 72 r.kieninger 1.32     DEFINES  += -DPEGASUS_ZOS_SERVICE_STRING=\"$(PEGASUS_ZOS_SERVICE_STRING)$(PEGASUS_ZOS_BUILD_DATE)\"
 73 marek       1.24 else
 74                         FLAGS += -W "c,SERVICE(NOTVALI--CIM--NOTVALID--XXX--$(PEGASUS_ZOS_BUILD_DATE))"
 75                      PR_FLAGS += -W "c,SERVICE(NOTVALI--CIM--NOTVALID--XXX--$(PEGASUS_ZOS_BUILD_DATE))"
 76                  endif   
 77                  
 78 marek       1.39 # supported values for PEGASUS_ZOS_TARGET_LEVEL are the following:
 79                  # zOSV1R7, zOSV1R8, zOSV1R9
 80                  ifdef PEGASUS_ZOS_TARGET_LEVEL
 81                         FLAGS += -W "c,TARGET($(PEGASUS_ZOS_TARGET_LEVEL))"
 82                      PR_FLAGS += -W "c,TARGET($(PEGASUS_ZOS_TARGET_LEVEL))"
 83                  endif
 84 kumpf       1.40 
 85 aruran.ms   1.19 ifdef PEGASUS_ZOS_SECURITY
 86                    DEFINES += -DPEGASUS_ZOS_SECURITY
 87                  endif
 88                  
 89                  ifdef PEGASUS_HAS_MY_KERBEROS
 90                    FLAGS+= -L/usr/local/lib
 91                    PR_FLAGS+= -L/usr/local/lib
 92                  endif
 93                  
 94                  ifdef PEGASUS_ZOS_THREADLEVEL_SECURITY
 95                    DEFINES += -DPEGASUS_ZOS_THREADLEVEL_SECURITY
 96                  endif
 97                  
 98 marek       1.20 
 99 r.kieninger 1.21 # if PEGASUS_ENABLE_SLP is already set then honor the users preference else
100                  # Enable the compilation of the SLP functions.
101                  #
102                  ifndef PEGASUS_ENABLE_SLP
103                      PEGASUS_ENABLE_SLP = true
104                  endif
105                  
106 aruran.ms   1.19 SYS_LIBS =
107                  
108                  CXX = c++ -+
109                  
110 thilo.boehm 1.35 CC = cc  -W "c,SSCOMM"
111 aruran.ms   1.19 
112                  SH = sh
113                  
114                  YACC = bison
115                  
116                  RM = rm -f
117                  
118                  DIFF = diff
119                  
120                  SORT = sort
121                  
122                  COPY = cp
123                  
124                  MOVE = mv
125                  
126 r.kieninger 1.32 ZIP = zip
127                  
128 aruran.ms   1.19 LIB_SUFFIX = .so
129                  
130 r.kieninger 1.43 DYNLIB_SUFFIX = .x
131                  
132 marek       1.44 STATLIB_SUFFIX = .a
133                  
134 aruran.ms   1.19 PEGASUS_SUPPORTS_DYNLIB = yes
135                  
136                  PEGASUS_HAS_MAKEDEPEND = yes

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2