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

  1 karl  1.28 #//%2006////////////////////////////////////////////////////////////////////////
  2 martin 1.26 #//
  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.28 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 12             #// EMC Corporation; Symantec Corporation; The Open Group.
 13 martin 1.26 #//
 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             #// 
 21             #// 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 mike   1.1  include $(ROOT)/mak/config-unix.mak
 32             
 33             OS = aix
 34             
 35             ARCHITECTURE = rs
 36             
 37             COMPILER = xlc
 38             
 39 kv.le  1.10 PLATFORM_VERSION_SUPPORTED = yes
 40             
 41 sage   1.4  SYS_INCLUDES = -I/usr/vacpp/include
 42 mike   1.1  
 43 dave.sudlik 1.30.4.1 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_AIX_VERSION=$(shell uname -v)
 44 mike        1.1      
 45                      DEPEND_INCLUDES =
 46                      
 47 sage        1.4      DEPEND_DEFINES = -D__IBMCPP__=500
 48                      
 49 aruran.ms   1.27     ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS 
 50 mike        1.1      FLAGS = -g
 51                      else
 52 david.dillard 1.21     FLAGS = -O2 -s
 53 mike          1.1      endif
 54                        
 55 kv.le         1.24     FLAGS += -qrtti=dyna -qcpluscmt -qlanglvl=newexcp
 56 mike          1.1      
 57 sage          1.3      SYS_LIBS = -ldl 
 58                        
 59 sage          1.4      # SSL support
 60 dan           1.8      ifdef PEGASUS_HAS_SSL
 61 david.dillard 1.16     ifndef OPENSSL_HOME
 62 dan           1.8      OPENSSL_HOME = /usr/linux
 63                        endif
 64 david.dillard 1.16     endif
 65 sage          1.4      
 66 sage          1.3      CXX = xlC_r
 67 mike          1.1      
 68                        SH = sh
 69                        
 70                        YACC = bison
 71                        
 72 jim.wunderlich 1.22     RM = rm -f
 73                         
 74                         DIFF = diff
 75                         
 76 david.dillard  1.23     SORT = sort
 77 jim.wunderlich 1.22     
 78 mike           1.1      COPY = cp
 79                         
 80                         MOVE = mv
 81 mike           1.2      
 82                         LIB_SUFFIX = .so
 83 sage           1.4      
 84 sage           1.5      AIX_LIB_PRIORITY = 0
 85 dan            1.9      AIX_LD_HALT = 8
 86 sage           1.5      
 87 sage           1.4      ifndef PEGASUS_USE_MU_DEPEND
 88                         PEGASUS_HAS_MAKEDEPEND = yes
 89                         endif
 90 sage           1.5      
 91                         PEGASUS_SUPPORTS_DYNLIB = yes
 92 kv.le          1.12     
 93 kv.le          1.25     # PAM support
 94                         ifdef PEGASUS_PAM_AUTHENTICATION
 95                           EXTRA_LIBRARIES += -lpam
 96                         endif
 97                         ##
 98                         ## The following flags need to be set or unset
 99                         ## to compile-in the code required for PAM authentication
100                         ## and compile-out the code that uses the password file.
101                         ##
102                         ifdef PEGASUS_PAM_AUTHENTICATION
103                          DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
104                         endif
105                         
106 kv.le          1.12     # l10n
107                         ifdef PEGASUS_HAS_MESSAGES
108                           DEFINES += -DPEGASUS_HAS_MESSAGES
109                           ifdef ICU_ROOT
110                                 ifdef ICU_INSTALL
111                                   MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
112                                 else
113                                   MSG_COMPILE = ${ICU_ROOT}/bin/genrb
114                                 endif
115                                 MSG_FLAGS =
116                                 MSG_SOURCE_EXT = .txt
117                                 MSG_COMPILE_EXT = .res
118                                 CNV_ROOT_CMD = cnv2rootbundle
119                         
120                         ##################################
121                         ##
122                         ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root
123                         ## resource bundle, default is to uppercase the root resource bundle
124                         ##
125                         ##################################
126                         
127 kv.le          1.12             ifdef ICU_NO_UPPERCASE_ROOT
128                                   CNV_ROOT_FLAGS =
129                                 else
130                                   CNV_ROOT_FLAGS = -u
131                                 endif
132                         
133                         ####################################
134                         ##
135                         ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
136                         ## bundle will be generated from defaults to _en if not set.  if set, for
137                         ## any directory containing resource bundles, there must exist a file name:
138                         ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages
139                         ## target will fail
140                         ##
141                         ####################################
142                         
143                                 ifdef ICU_ROOT_BUNDLE_LANG
144                                   MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
145                                 else
146                                   MSG_ROOT_SOURCE = _en
147                                 endif
148 kv.le          1.12             #SYS_INCLUDES += -I${ICU_ROOT}/source/common
149                                 #SYS_INCLUDES += -I${ICU_ROOT}/source/i18n
150                                 SYS_INCLUDES += -I${ICU_ROOT}/include
151                                 DEFINES += -DPEGASUS_HAS_ICU
152 kv.le          1.13             ifdef ICU_INSTALL
153                                   EXTRA_LIBRARIES += -L${ICU_INSTALL}/lib -licui18n -licuuc
154 kv.le          1.12               #SYS_LIBS += -L${ICU_INSTALL}/lib -licui18n -licuuc
155 kv.le          1.13             endif
156 kv.le          1.12       endif
157                         endif
158 w.otsuka       1.15     
159                         ifdef PEGASUS_USE_RELEASE_DIRS
160 denise.eckstein 1.17       PEGASUS_DEST_LIB_DIR =/usr/lib
161 w.otsuka        1.15     endif
162                          
163 dave.sudlik     1.29     ifdef PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER
164                            JVM_LINK_FLAGS=-Wl,-bM:UR
165                          endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2