(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.30 DEFINES += -DPEGASUS_USE_SYSLOGS
 44                  
 45 aruran.ms   1.19 ifdef PEGASUS_KERBEROS_AUTHENTICATION
 46                    DEFINES += -DPEGASUS_KERBEROS_AUTHENTICATION
 47                  endif
 48                  
 49                  
 50                  
 51                  ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
 52 marek       1.20 FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),float(ieee),goff"
 53                  PR_FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll"
 54 aruran.ms   1.19 else
 55 thilo.boehm 1.35 FLAGS = -O2 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),float(ieee),goff"
 56                  PR_FLAGS = -O2 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll,EDIT=NO"
 57 aruran.ms   1.19 endif
 58                  
 59 r.kieninger 1.32 ifdef PEGASUS_GENERATE_LISTINGS
 60                    FLAGS += -W"c,LIST,XREF"
 61                    PR_FLAGS  += -W"c,LIST,XREF" -W"l,MAP,LIST"
 62                  endif
 63                  
 64                  
 65 thilo.boehm 1.31 PEGASUS_ZOS_BUILD_DATE := $(shell date '+%Y%m%d+')
 66 marek       1.24 
 67                  ifdef PEGASUS_ZOS_SERVICE_STRING
 68                         FLAGS += -W "c,SERVICE($(PEGASUS_ZOS_SERVICE_STRING)$(PEGASUS_ZOS_BUILD_DATE))"
 69                      PR_FLAGS += -W "c,SERVICE($(PEGASUS_ZOS_SERVICE_STRING)$(PEGASUS_ZOS_BUILD_DATE))"
 70 r.kieninger 1.32     DEFINES  += -DPEGASUS_ZOS_SERVICE_STRING=\"$(PEGASUS_ZOS_SERVICE_STRING)$(PEGASUS_ZOS_BUILD_DATE)\"
 71 marek       1.24 else
 72                         FLAGS += -W "c,SERVICE(NOTVALI--CIM--NOTVALID--XXX--$(PEGASUS_ZOS_BUILD_DATE))"
 73                      PR_FLAGS += -W "c,SERVICE(NOTVALI--CIM--NOTVALID--XXX--$(PEGASUS_ZOS_BUILD_DATE))"
 74                  endif   
 75                  
 76                  							     
 77 aruran.ms   1.19 ifdef PEGASUS_ZOS_SECURITY
 78                    DEFINES += -DPEGASUS_ZOS_SECURITY
 79                  endif
 80                  
 81                  ifdef PEGASUS_HAS_MY_KERBEROS
 82                    FLAGS+= -L/usr/local/lib
 83                    PR_FLAGS+= -L/usr/local/lib
 84                  endif
 85                  
 86                  ifdef PEGASUS_ZOS_THREADLEVEL_SECURITY
 87                    DEFINES += -DPEGASUS_ZOS_THREADLEVEL_SECURITY
 88                  endif
 89                  
 90 marek       1.20 
 91 r.kieninger 1.21 # if PEGASUS_ENABLE_SLP is already set then honor the users preference else
 92                  # Enable the compilation of the SLP functions.
 93                  #
 94                  ifndef PEGASUS_ENABLE_SLP
 95                      PEGASUS_ENABLE_SLP = true
 96                  endif
 97                  
 98 aruran.ms   1.19 SYS_LIBS =
 99                  
100                  CXX = c++ -+
101                  
102 thilo.boehm 1.35 CC = cc  -W "c,SSCOMM"
103 aruran.ms   1.19 
104                  SH = sh
105                  
106                  YACC = bison
107                  
108                  RM = rm -f
109                  
110                  DIFF = diff
111                  
112                  SORT = sort
113                  
114                  COPY = cp
115                  
116                  MOVE = mv
117                  
118 r.kieninger 1.32 ZIP = zip
119                  
120 aruran.ms   1.19 LIB_SUFFIX = .so
121                  
122                  PEGASUS_SUPPORTS_DYNLIB = yes
123                  
124                  PEGASUS_HAS_MAKEDEPEND = yes
125                  # l10n
126                  ifdef PEGASUS_HAS_MESSAGES
127                    DEFINES += -DPEGASUS_HAS_MESSAGES
128                    ifdef ICU_ROOT
129                          ifdef ICU_INSTALL
130                            MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
131                          else
132                            MSG_COMPILE = ${ICU_ROOT}/bin/genrb
133                          endif
134                          MSG_FLAGS =
135                          MSG_SOURCE_EXT = .txt
136                          MSG_COMPILE_EXT = .res
137                          CNV_ROOT_CMD = cnv2rootbundle
138                  
139                  ##################################
140                  ##
141 aruran.ms   1.19 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
142                  ## resource bundle, default is to uppercase the root resource bundle
143                  ##
144                  ##################################
145                  
146                          ifdef ICU_NO_UPPERCASE_ROOT
147                            CNV_ROOT_FLAGS =
148                          else
149                            CNV_ROOT_FLAGS = -u
150                          endif
151                  
152                  ####################################
153                  ##
154                  ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
155                  ## bundle will be generated from defaults to _en if not set.  if set, for
156                  ## any directory containing resource bundles, there must exist a file name:
157                  ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
158                  ## target will fail
159                  ##
160                  ####################################
161                  
162 aruran.ms   1.19         ifdef ICU_ROOT_BUNDLE_LANG
163                            MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
164                          else
165                            MSG_ROOT_SOURCE = _en
166                          endif
167                          SYS_INCLUDES += -I${ICU_INSTALL}/include
168                          DEFINES += -DPEGASUS_HAS_ICU
169                          ifdef ICU_INSTALL
170                  	  FLAGS+ = -L${ICU_INSTALL}/lib
171                  	  PR_FLAGS += -L${ICU_INSTALL}/lib
172                            EXTRA_LIBRARIES += ${ICU_INSTALL}/lib/libicui18n.x ${ICU_INSTALL}/lib/libicuuc.x
173                          endif
174                    endif
175                  endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2