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

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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2