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

  1 kumpf 1.7 MAJOR_VERSION_NUMBER = 1
  2 kumpf 1.1 
  3           OS = HPUX
  4           
  5           ifdef ACC_COMPILER_COMMAND
  6              CXX = $(ACC_COMPILER_COMMAND)
  7           else
  8              CXX = aCC
  9           endif
 10           
 11           COMPILER = acc
 12           
 13           PLATFORM_VERSION_SUPPORTED = yes
 14           
 15           SYS_INCLUDES = 
 16           
 17           ifdef PEGASUS_CCOVER
 18            SYS_INCLUDES += -I/opt/ccover11/include
 19           endif
 20           
 21           ifdef PEGASUS_PURIFY
 22            SYS_INCLUDES += -I$(PURIFY_HOME)
 23 kumpf 1.1 endif
 24           
 25 kumpf 1.18 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_PLATFORM_HPUX_ACC -DPEGASUS_LOCAL_DOMAIN_SOCKET
 26 kumpf 1.1  
 27 david 1.10 DEFINES += -DPEGASUS_USE_SYSLOGS
 28            
 29 kumpf 1.13 DEFINES += -DPEGASUS_HAS_SIGNALS
 30            
 31 kumpf 1.17 ifdef PEGASUS_USE_EMANATE
 32 kumpf 1.1   DEFINES += -DHPUX_EMANATE
 33            endif
 34            
 35            ifdef PEGASUS_CCOVER
 36             DEFINES += -DPEGASUS_CCOVER
 37            endif
 38            
 39            ifdef PEGASUS_PURIFY
 40             DEFINES += -DPEGASUS_PURIFY
 41            endif
 42            
 43            ifdef PEGASUS_LOCAL_DOMAIN_SOCKET
 44             DEFINES += -DPEGASUS_LOCAL_DOMAIN_SOCKET
 45            endif
 46            
 47            ifdef USE_CONNECTLOCAL
 48             DEFINES += -DUSE_CONNECTLOCAL
 49            endif
 50            
 51            ifdef PEGASUS_NOASSERTS
 52             DEFINES += -DNDEBUG
 53 kumpf 1.1  endif
 54            
 55 kumpf 1.14 ifdef PEGASUS_INDICATION_PERFINST
 56              DEFINES += -DPEGASUS_INDICATION_PERFINST
 57            endif
 58            
 59            ifdef PEGASUS_INDICATION_HASHTRACE
 60              DEFINES += -DPEGASUS_INDICATION_HASHTRACE
 61            endif
 62            
 63 kumpf 1.1  ##
 64            ## The following flags need to be set or unset 
 65            ## to compile-in the code required for PAM authentication
 66            ## and compile-out the code that uses the password file.
 67            ##
 68            
 69            ifdef PEGASUS_PAM_AUTHENTICATION
 70             DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
 71            endif
 72            
 73 kumpf 1.5  ##
 74 kumpf 1.6  ## The following flag needs to be set to compile in the configuration
 75            ## properties set with fixed release settings.
 76            ##
 77            ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
 78             DEFINES += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS
 79            endif
 80            
 81 kumpf 1.20 # l10n
 82            ifdef PEGASUS_HAS_MESSAGES
 83              DEFINES += -DPEGASUS_HAS_MESSAGES
 84              ifdef ICU_ROOT
 85 kumpf 1.23         MSG_COMPILE = ${ICU_INSTALL}/bin/genrb
 86 kumpf 1.20         MSG_FLAGS =
 87                    MSG_SOURCE_EXT = .txt
 88                    MSG_COMPILE_EXT = .res
 89                    CNV_ROOT_CMD = cnv2rootbundle
 90            
 91            ##################################
 92            ##
 93            ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root 
 94            ## resource bundle, default is to uppercase the root resource bundle^M
 95            ##
 96            ##################################
 97            
 98            ifdef ICU_NO_UPPERCASE_ROOT
 99              CNV_ROOT_FLAGS =
100            else
101              CNV_ROOT_FLAGS = -u
102            endif
103            
104            ####################################
105            ##
106            ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource
107 kumpf 1.20 ## bundle will be generated from defaults to _en if not set.  if set, for 
108            ## any directory containing resource bundles, there must exist a file name: 
109            ## package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages 
110            ## target will fail
111            ##
112            ####################################
113            
114            ifdef ICU_ROOT_BUNDLE_LANG
115              MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
116            else
117              MSG_ROOT_SOURCE = _en
118            endif
119            
120                SYS_INCLUDES += -I${ICU_ROOT}/source/common
121                SYS_INCLUDES += -I${ICU_ROOT}/source/i18n
122                DEFINES += -DPEGASUS_HAS_ICU
123                ifdef ICU_INSTALL
124                  EXTRA_LIBRARIES += -L${ICU_INSTALL}/lib -licui18n -licuuc
125                endif
126              endif
127            endif
128 kumpf 1.20 
129 kumpf 1.6  ##
130            ## The following flag needs to be set to compile in the configuration
131            ## properties involving directories set with fixed release settings.
132            ##
133            ifdef PEGASUS_USE_RELEASE_DIRS
134             DEFINES += -DPEGASUS_USE_RELEASE_DIRS
135            endif
136            
137 kumpf 1.1  DEPEND_INCLUDES =
138            
139            
140            ## Flags:
141            ##     +Z - produces position independent code (PIC).
142            ##     +DAportable generates code for any HP9000 architecture
143            ##     -Wl, passes the following option to the linker
144            ##       +s causes the linked image or shared lib to be able to
145            ##          search for any referenced shared libs dynamically in
146            ##          SHLIB_PATH (LD_LIBRARY_PATH on 64-bit HP9000)
147            ##       +b enables dynamic search in the specified directory(ies)
148            ##
149            
150            FLAGS = 
151            
152 denise.eckstein 1.24 PEGASUS_SUPPORTS_DYNLIB=yes
153                      
154                      ifdef PEGASUS_USE_RELEASE_DIRS
155                        FLAGS += -Wl,+s -Wl,+b/opt/wbem/lib:/usr/lib
156                      else
157                        ifdef PEGASUS_HAS_MESSAGES
158                          ifdef ICU_ROOT
159                            ifdef ICU_INSTALL
160                              FLAGS += -Wl,+s -Wl,+b$(LIB_DIR):/usr/lib:${ICU_INSTALL}/lib
161 kumpf           1.20       endif
162                          endif
163 denise.eckstein 1.24   else
164                          FLAGS += -Wl,+s -Wl,+b$(LIB_DIR):/usr/lib
165 kumpf           1.16   endif
166 kumpf           1.1  endif
167                      
168                      ifdef PEGASUS_DEBUG
169                        FLAGS += -g
170                      endif
171                      
172 kumpf           1.21 #
173                      #  For future use on HP-UX
174                      #
175                      ifdef HPUX_LARGE_INTERFACES
176                      	FLAGS += -D_HPUX_API_LEVEL=20040821
177                      endif
178                      
179 kumpf           1.1  SYS_LIBS = -lpthread -lrt
180                      
181                      SH = sh
182                      
183                      YACC = bison
184                      
185                      COPY = cp
186                      
187                      MOVE = mv
188                      
189                      LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER)

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2