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

  1 a.dunfey 1.42.2.1 #//%2006////////////////////////////////////////////////////////////////////////
  2 martin   1.37     #//
  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 a.dunfey 1.42.2.1 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 12                   #// EMC Corporation; Symantec Corporation; The Open Group.
 13 martin   1.37     #//
 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 kumpf    1.7      MAJOR_VERSION_NUMBER = 1
 32 kumpf    1.1      
 33                   OS = HPUX
 34                   
 35                   ifdef ACC_COMPILER_COMMAND
 36                      CXX = $(ACC_COMPILER_COMMAND)
 37                   else
 38                      CXX = aCC
 39                   endif
 40                   
 41 denise.eckstein 1.26     CC = $(CXX) -Ae
 42                          
 43 kumpf           1.1      COMPILER = acc
 44                          
 45                          PLATFORM_VERSION_SUPPORTED = yes
 46                          
 47                          SYS_INCLUDES = 
 48                          
 49                          ifdef PEGASUS_CCOVER
 50                           SYS_INCLUDES += -I/opt/ccover11/include
 51                          endif
 52                          
 53                          ifdef PEGASUS_PURIFY
 54                           SYS_INCLUDES += -I$(PURIFY_HOME)
 55                          endif
 56                          
 57 jim.wunderlich  1.41     #########################################################################
 58                          ##
 59                          ## Platform specific compile options controlled by environment variables
 60                          ## are set here.  
 61                          ##
 62                          #########################################################################
 63                          
 64                          # Enable OOP by default if preference not already set in the environment
 65                          #
 66 jim.wunderlich  1.42     ifndef PEGASUS_DEFAULT_ENABLE_OOP
 67                          PEGASUS_DEFAULT_ENABLE_OOP = true
 68 jim.wunderlich  1.41     endif
 69                          
 70                          
 71                          
 72                          #########################################################################
 73                          
 74 kumpf           1.40     DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_PLATFORM_HPUX_ACC
 75 kumpf           1.1      
 76 david           1.10     DEFINES += -DPEGASUS_USE_SYSLOGS
 77                          
 78 kumpf           1.13     DEFINES += -DPEGASUS_HAS_SIGNALS
 79                          
 80 kumpf           1.17     ifdef PEGASUS_USE_EMANATE
 81 kumpf           1.1       DEFINES += -DHPUX_EMANATE
 82                          endif
 83                          
 84                          ifdef PEGASUS_CCOVER
 85                           DEFINES += -DPEGASUS_CCOVER
 86                          endif
 87                          
 88                          ifdef PEGASUS_PURIFY
 89                           DEFINES += -DPEGASUS_PURIFY
 90                          endif
 91                          
 92                          ##
 93                          ## The following flags need to be set or unset 
 94                          ## to compile-in the code required for PAM authentication
 95                          ## and compile-out the code that uses the password file.
 96                          ##
 97                          
 98                          ifdef PEGASUS_PAM_AUTHENTICATION
 99                           DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
100                          endif
101                          
102 kumpf           1.20     # l10n
103                          ifdef PEGASUS_HAS_MESSAGES
104                            DEFINES += -DPEGASUS_HAS_MESSAGES
105                            ifdef ICU_ROOT
106 kumpf           1.23             MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
107 kumpf           1.20             MSG_FLAGS =
108                                  MSG_SOURCE_EXT = .txt
109                                  MSG_COMPILE_EXT = .res
110                                  CNV_ROOT_CMD = cnv2rootbundle
111                          
112                          ##################################
113                          ##
114                          ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root 
115                          ## resource bundle, default is to uppercase the root resource bundle^M
116                          ##
117                          ##################################
118                          
119                          ifdef ICU_NO_UPPERCASE_ROOT
120                            CNV_ROOT_FLAGS =
121                          else
122                            CNV_ROOT_FLAGS = -u
123                          endif
124                          
125                          ####################################
126                          ##
127                          ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
128 kumpf           1.20     ## bundle will be generated from defaults to _en if not set.  if set, for 
129                          ## any directory containing resource bundles, there must exist a file name: 
130                          ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages 
131                          ## target will fail
132                          ##
133                          ####################################
134                          
135                          ifdef ICU_ROOT_BUNDLE_LANG
136                            MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
137                          else
138                            MSG_ROOT_SOURCE = _en
139                          endif
140                          
141                              SYS_INCLUDES += -I${ICU_ROOT}/source/common
142                              SYS_INCLUDES += -I${ICU_ROOT}/source/i18n
143                              DEFINES += -DPEGASUS_HAS_ICU
144                              ifdef ICU_INSTALL
145                                EXTRA_LIBRARIES += -L${ICU_INSTALL}/lib -licui18n -licuuc
146                              endif
147                            endif
148                          endif
149 kumpf           1.20     
150 kumpf           1.6      
151 kumpf           1.1      DEPEND_INCLUDES =
152                          
153                          
154                          ## Flags:
155                          ##     +Z - produces position independent code (PIC).
156                          ##     +DAportable generates code for any HP9000 architecture
157                          ##     -Wl, passes the following option to the linker
158                          ##       +s causes the linked image or shared lib to be able to
159                          ##          search for any referenced shared libs dynamically in
160                          ##          SHLIB_PATH (LD_LIBRARY_PATH on 64-bit HP9000)
161                          ##       +b enables dynamic search in the specified directory(ies)
162                          ##
163                          
164                          FLAGS = 
165                          
166 denise.eckstein 1.24     PEGASUS_SUPPORTS_DYNLIB=yes
167                          
168                          ifdef PEGASUS_USE_RELEASE_DIRS
169 denise.eckstein 1.27       FLAGS += -Wl,+b$(PEGASUS_DEST_LIB_DIR):/usr/lib
170                            ifeq ($(PEGASUS_PLATFORM), HPUX_PARISC_ACC)
171                              FLAGS += -Wl,+cdp,$(PEGASUS_PLATFORM_SDKROOT)/usr/lib:/usr/lib -Wl,+cdp,$(PEGASUS_HOME)/lib:$(PEGASUS_DEST_LIB_DIR)
172                            endif
173 denise.eckstein 1.24     else
174                            ifdef PEGASUS_HAS_MESSAGES
175                              ifdef ICU_ROOT
176                                ifdef ICU_INSTALL
177 denise.eckstein 1.27             FLAGS += -Wl,+b$(LIB_DIR):/usr/lib:${ICU_INSTALL}/lib
178 kumpf           1.20           endif
179                              endif
180 denise.eckstein 1.24       else
181 denise.eckstein 1.27         FLAGS += -Wl,+b$(LIB_DIR):/usr/lib
182 kumpf           1.16       endif
183 kumpf           1.1      endif
184                          
185 denise.eckstein 1.28     FLAGS += -Wl,+s
186                          
187 aruran.ms       1.39     ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS 
188 kumpf           1.1        FLAGS += -g
189 kumpf           1.38     else
190                            FLAGS += +O2 -s
191 kumpf           1.1      endif
192                          
193 w.otsuka        1.25     ifdef PEGASUS_USE_RELEASE_DIRS
194                              PEGASUS_DEST_LIB_DIR=/opt/wbem/lib
195                          endif
196                          
197 kumpf           1.21     #
198                          #  For future use on HP-UX
199                          #
200                          ifdef HPUX_LARGE_INTERFACES
201 h.sterling      1.36             FLAGS += -D_HPUX_API_LEVEL=20040821
202 kumpf           1.21     endif
203                          
204 kumpf           1.1      SYS_LIBS = -lpthread -lrt
205                          
206                          SH = sh
207                          
208                          YACC = bison
209                          
210 jim.wunderlich  1.32     RM = rm -f
211                          
212                          DIFF = diff
213                          
214                          SORT = sort
215                          
216 kumpf           1.1      COPY = cp
217                          
218                          MOVE = mv
219                          
220                          LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER)

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2