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

  1 martin 1.26 #//%2005////////////////////////////////////////////////////////////////////////
  2             #//
  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             #//
 12             #// Permission is hereby granted, free of charge, to any person obtaining a copy
 13             #// of this software and associated documentation files (the "Software"), to
 14             #// deal in the Software without restriction, including without limitation the
 15             #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 16             #// sell copies of the Software, and to permit persons to whom the Software is
 17             #// furnished to do so, subject to the following conditions:
 18             #// 
 19             #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 20             #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 21             #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 22 martin 1.26 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 23             #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 24             #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 25             #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 26             #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 27             #//
 28             #//==============================================================================
 29 mike   1.1  include $(ROOT)/mak/config-unix.mak
 30             
 31             OS = aix
 32             
 33             ARCHITECTURE = rs
 34             
 35             COMPILER = xlc
 36             
 37 kv.le  1.10 PLATFORM_VERSION_SUPPORTED = yes
 38             
 39 sage   1.4  SYS_INCLUDES = -I/usr/vacpp/include
 40 mike   1.1  
 41 david.dillard 1.18 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_OS_AIX$(shell uname -v)
 42 mike          1.1  
 43                    DEPEND_INCLUDES =
 44                    
 45 sage          1.4  DEPEND_DEFINES = -D__IBMCPP__=500
 46                    
 47 mike          1.1  ifdef PEGASUS_DEBUG
 48                    FLAGS = -g
 49                    else
 50 david.dillard 1.21 FLAGS = -O2 -s
 51 mike          1.1  endif
 52                    
 53 kv.le         1.24 FLAGS += -qrtti=dyna -qcpluscmt -qlanglvl=newexcp
 54 mike          1.1  
 55 sage          1.3  SYS_LIBS = -ldl 
 56                    
 57 sage          1.4  # SSL support
 58 dan           1.8  ifdef PEGASUS_HAS_SSL
 59 david.dillard 1.16 ifndef OPENSSL_HOME
 60 dan           1.8  OPENSSL_HOME = /usr/linux
 61                    endif
 62 david.dillard 1.16 endif
 63 sage          1.4  
 64 sage          1.3  CXX = xlC_r
 65 mike          1.1  
 66                    SH = sh
 67                    
 68                    YACC = bison
 69                    
 70 jim.wunderlich 1.22 RM = rm -f
 71                     
 72                     DIFF = diff
 73                     
 74 david.dillard  1.23 SORT = sort
 75 jim.wunderlich 1.22 
 76 mike           1.1  COPY = cp
 77                     
 78                     MOVE = mv
 79 mike           1.2  
 80                     LIB_SUFFIX = .so
 81 sage           1.4  
 82 sage           1.5  AIX_LIB_PRIORITY = 0
 83 dan            1.9  AIX_LD_HALT = 8
 84 sage           1.5  
 85 sage           1.4  ifndef PEGASUS_USE_MU_DEPEND
 86                     PEGASUS_HAS_MAKEDEPEND = yes
 87                     endif
 88 sage           1.5  
 89                     PEGASUS_SUPPORTS_DYNLIB = yes
 90 kv.le          1.12 
 91 kv.le          1.19 DEFINES += -DPEGASUS_HAS_SIGNALS
 92                     
 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                      

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2