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

  1 martin 1.49 #//%LICENSE////////////////////////////////////////////////////////////////
  2 martin 1.50 #//
  3 martin 1.49 #// Licensed to The Open Group (TOG) under one or more contributor license
  4             #// agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
  5             #// this work for additional information regarding copyright ownership.
  6             #// Each contributor licenses this file to you under the OpenPegasus Open
  7             #// Source License; you may not use this file except in compliance with the
  8             #// License.
  9 martin 1.50 #//
 10 martin 1.49 #// Permission is hereby granted, free of charge, to any person obtaining a
 11             #// copy of this software and associated documentation files (the "Software"),
 12             #// to deal in the Software without restriction, including without limitation
 13             #// the rights to use, copy, modify, merge, publish, distribute, sublicense,
 14             #// and/or sell copies of the Software, and to permit persons to whom the
 15             #// Software is furnished to do so, subject to the following conditions:
 16 martin 1.50 #//
 17 martin 1.49 #// The above copyright notice and this permission notice shall be included
 18             #// in all copies or substantial portions of the Software.
 19 martin 1.50 #//
 20 martin 1.49 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 21 martin 1.50 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 22 martin 1.49 #// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 23             #// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 24             #// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 25             #// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 26             #// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 27 martin 1.50 #//
 28 martin 1.49 #//////////////////////////////////////////////////////////////////////////
 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 kumpf           1.52 SYS_INCLUDES =
 46 kumpf           1.1  
 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 jim.wunderlich  1.41 #########################################################################
 56                      ##
 57                      ## Platform specific compile options controlled by environment variables
 58 kumpf           1.52 ## are set here.
 59 jim.wunderlich  1.41 ##
 60                      #########################################################################
 61                      
 62                      # Enable OOP by default if preference not already set in the environment
 63                      #
 64 jim.wunderlich  1.42 ifndef PEGASUS_DEFAULT_ENABLE_OOP
 65                      PEGASUS_DEFAULT_ENABLE_OOP = true
 66 jim.wunderlich  1.41 endif
 67                      
 68                      
 69                      
 70                      #########################################################################
 71                      
 72 kumpf           1.40 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_PLATFORM_HPUX_ACC
 73 kumpf           1.1  
 74 david           1.10 DEFINES += -DPEGASUS_USE_SYSLOGS
 75                      
 76 karl            1.53.6.1 ifeq ($(PEGASUS_USE_EMANATE), true)
 77 kumpf           1.1       DEFINES += -DHPUX_EMANATE
 78                          endif
 79                          
 80                          ifdef PEGASUS_CCOVER
 81                           DEFINES += -DPEGASUS_CCOVER
 82                          endif
 83                          
 84                          ifdef PEGASUS_PURIFY
 85                           DEFINES += -DPEGASUS_PURIFY
 86                          endif
 87                          
 88                          DEPEND_INCLUDES =
 89                          
 90                          
 91                          ## Flags:
 92                          ##     +Z - produces position independent code (PIC).
 93                          ##     +DAportable generates code for any HP9000 architecture
 94                          ##     -Wl, passes the following option to the linker
 95                          ##       +s causes the linked image or shared lib to be able to
 96                          ##          search for any referenced shared libs dynamically in
 97                          ##          SHLIB_PATH (LD_LIBRARY_PATH on 64-bit HP9000)
 98 kumpf           1.1      ##       +b enables dynamic search in the specified directory(ies)
 99                          ##
100                          
101 kumpf           1.52     FLAGS =
102 kumpf           1.1      
103 denise.eckstein 1.24     PEGASUS_SUPPORTS_DYNLIB=yes
104                          
105 denise.eckstein 1.51     ifeq ($(HAS_ICU_DEPENDENCY),true)
106                              ifdef ICU_INSTALL
107                                  P1 = $(ICU_INSTALL)/lib:
108                               endif
109                          endif
110 denise.eckstein 1.24     ifdef PEGASUS_USE_RELEASE_DIRS
111 denise.eckstein 1.51         P2 = $(PEGASUS_DEST_LIB_DIR):
112 denise.eckstein 1.24     else
113 denise.eckstein 1.51         P2 = $(LIB_DIR):
114                          endif
115                          ACC_LINK_SEARCH_PATH = -Wl,+b$(P1)$(P2)/usr/lib
116                          
117                          ifdef PEGASUS_USE_RELEASE_DIRS
118                              ifeq ($(PEGASUS_PLATFORM), HPUX_PARISC_ACC)
119                                  ACC_LINK_SEARCH_PATH += \
120                                      -Wl,+cdp,$(PEGASUS_PLATFORM_SDKROOT)/usr/lib:/usr/lib
121                                  ACC_LINK_SEARCH_PATH += \
122                                      -Wl,+cdp,$(PEGASUS_HOME)/lib:$(PEGASUS_DEST_LIB_DIR)
123                                  ifdef OPENSSL_HOME
124                                    ACC_LINK_SEARCH_PATH += -Wl,+cdp,$(OPENSSL_HOME)/lib:/usr/lib
125                                  endif
126                                  ifdef ICU_INSTALL
127                                    ACC_LINK_SEARCH_PATH += \
128                                        -Wl,+cdp,$(ICU_INSTALL)/lib:$(PEGASUS_DEST_LIB_DIR)
129                                  endif
130 kumpf           1.20         endif
131 kumpf           1.1      endif
132 denise.eckstein 1.51     ACC_LINK_SEARCH_PATH += -Wl,+s
133 kumpf           1.1      
134 denise.eckstein 1.51     FLAGS += $(ACC_LINK_SEARCH_PATH)
135 denise.eckstein 1.28     
136 kumpf           1.52     ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
137 kb.hp           1.53       FLAGS += -g +noobjdebug
138 kumpf           1.38     else
139                            FLAGS += +O2 -s
140 kumpf           1.1      endif
141                          
142 w.otsuka        1.25     ifdef PEGASUS_USE_RELEASE_DIRS
143                              PEGASUS_DEST_LIB_DIR=/opt/wbem/lib
144                          endif
145                          
146 kumpf           1.21     #
147                          #  For future use on HP-UX
148                          #
149                          ifdef HPUX_LARGE_INTERFACES
150 h.sterling      1.36             FLAGS += -D_HPUX_API_LEVEL=20040821
151 kumpf           1.21     endif
152                          
153 kumpf           1.1      SYS_LIBS = -lpthread -lrt
154                          
155                          SH = sh
156                          
157                          YACC = bison
158                          
159 jim.wunderlich  1.32     RM = rm -f
160                          
161                          DIFF = diff
162                          
163                          SORT = sort
164                          
165 kumpf           1.1      COPY = cp
166                          
167                          MOVE = mv
168                          
169                          LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER)

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2