(file) Return to Makefile CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

  1 martin 1.176 #//%LICENSE////////////////////////////////////////////////////////////////
  2 martin 1.177 #//
  3 martin 1.176 #// 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.177 #//
 10 martin 1.176 #// 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.177 #//
 17 martin 1.176 #// The above copyright notice and this permission notice shall be included
 18              #// in all copies or substantial portions of the Software.
 19 martin 1.177 #//
 20 martin 1.176 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 21 martin 1.177 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 22 martin 1.176 #// 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.177 #//
 28 martin 1.176 #//////////////////////////////////////////////////////////////////////////
 29 mike   1.51  ROOT = ../../..
 30              
 31              DIR = Pegasus/Common
 32              
 33 kumpf  1.170 HAS_PAM_DEPENDENCY=true
 34 kumpf  1.169 HAS_ICU_DEPENDENCY=true
 35              
 36 mike   1.51  include $(ROOT)/mak/config.mak
 37              
 38 kumpf  1.77  ifdef PEGASUS_HAS_SSL
 39 denise.eckstein 1.159     ifdef OPENSSL_HOME
 40                               SYS_INCLUDES += -I$(OPENSSL_HOME)/include
 41 carson.hovey    1.167     endif
 42 kumpf           1.77  endif
 43 carson.hovey    1.167 
 44 kumpf           1.100 LOCAL_DEFINES = -DPEGASUS_COMMON_INTERNAL -DPEGASUS_INTERNALONLY
 45 mike            1.51  
 46 carson.hovey    1.167 ifeq ($(OS_TYPE),vms)
 47                           STATIC=1
 48                       endif
 49                       
 50 mike            1.51  LIBRARY = pegcommon
 51                       
 52 ouyang.jian     1.161 ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
 53 carson.hovey    1.167     LIBRARIES = ILEWrapperUtils
 54 ouyang.jian     1.161 endif
 55                       
 56 mike            1.129 ##
 57                       ## CAUTION: the source files are divided evenly (more or less) between SOURCES1
 58                       ## and SOURCES2. This avoids a command line buffer overflow on Windows 2000
 59 kumpf           1.153 ## (see bug #2754 for details). As a precaution, limit SOURCES1 and SOURCES2
 60 mike            1.129 ## to 75 source files each.
 61                       ##
 62                       
 63                       SOURCES1 = \
 64 thilo.boehm     1.182     SCMO.cpp \
 65                           SCMOXmlWriter.cpp \
 66                           SCMOClassCache.cpp \
 67                           SCMOStreamer.cpp \
 68 mike            1.175     Print.cpp \
 69 kumpf           1.155     Executor.cpp \
 70 mike            1.149     Once.cpp \
 71                           Time.cpp \
 72                           Threads.cpp \
 73                           TSDKey.cpp \
 74                           Semaphore.cpp \
 75                           ReadWriteSem.cpp \
 76                           Condition.cpp \
 77 kumpf           1.108     AnonymousPipe.cpp \
 78 mike            1.51      Array.cpp \
 79                           AsyncOpNode.cpp \
 80 mike            1.131     AtomicInt.cpp \
 81 kumpf           1.61      AuthenticationInfoRep.cpp \
 82 karl            1.57      Base64.cpp \
 83 mike            1.134     Buffer.cpp \
 84 mike            1.133     CharSet.cpp \
 85 chuck           1.91      LanguageParser.cpp \
 86 kumpf           1.141     AcceptLanguageList.cpp \
 87                           ContentLanguageList.cpp \
 88 kumpf           1.140     LanguageTag.cpp \
 89 chuck           1.91      MessageLoader.cpp \
 90 mike            1.130     Char16Inline.cpp \
 91 mike            1.51      CIMClass.cpp \
 92                           CIMClassRep.cpp \
 93                           CIMDateTime.cpp \
 94                           CIMFlavor.cpp \
 95                           CIMInstance.cpp \
 96                           CIMInstanceRep.cpp \
 97                           CIMMessage.cpp \
 98 r.kieninger     1.181     CIMResponseData.cpp \
 99 mike            1.51      CIMMethod.cpp \
100                           CIMMethodRep.cpp \
101                           CIMName.cpp \
102 r.kieninger     1.138     CIMNameInline.cpp \
103 mike            1.51      CIMObject.cpp \
104 mike            1.52      CIMObjectRep.cpp \
105 chip            1.60      CIMObjectPath.cpp \
106 mike            1.62      Cimom.cpp \
107 mday            1.55      CimomMessage.cpp \
108 mike            1.51      CIMParameter.cpp \
109                           CIMParameterRep.cpp \
110                           CIMParamValue.cpp \
111                           CIMParamValueRep.cpp \
112                           CIMProperty.cpp \
113                           CIMPropertyList.cpp \
114                           CIMPropertyRep.cpp \
115                           CIMQualifier.cpp \
116                           CIMQualifierDecl.cpp \
117                           CIMQualifierDeclRep.cpp \
118                           CIMQualifierList.cpp \
119                           CIMQualifierNames.cpp \
120                           CIMQualifierRep.cpp \
121                           CIMScope.cpp \
122                           CIMStatusCode.cpp \
123                           CIMType.cpp \
124 mike            1.137     CIMValue.cpp \
125 mike            1.136     CIMValueInline.cpp \
126 mike            1.51      Config.cpp \
127                           DeclContext.cpp \
128                           Dir.cpp \
129 mike            1.145     List.cpp \
130                           AsyncQueue.cpp \
131                           IDFactory.cpp \
132 yi.zhou         1.151     AuditLogger.cpp \
133 karl            1.189     Magic.cpp \
134                           UintArgs.cpp
135 mike            1.129 
136                       SOURCES2 = \
137 mike            1.51      Exception.cpp \
138 kumpf           1.81      InternalException.cpp \
139 mike            1.51      FileSystem.cpp \
140                           Formatter.cpp \
141                           HashTable.cpp \
142                           HTTPAcceptor.cpp \
143                           HTTPConnection.cpp \
144                           HTTPConnector.cpp  \
145                           HTTPMessage.cpp \
146                           Logger.cpp \
147                           Memory.cpp \
148                           Message.cpp \
149                           MessageQueue.cpp \
150 mday            1.55      MessageQueueService.cpp \
151 kumpf           1.63      ModuleController.cpp \
152 mike            1.51      Monitor.cpp \
153 mike            1.131     Mutex.cpp \
154 chip            1.104     ObjectNormalizer.cpp \
155 david.dillard   1.115     OperationContext.cpp \
156 kumpf           1.85      OperationContextInternal.cpp \
157 mike            1.51      Pair.cpp \
158 schuur          1.99      QueryExpressionRep.cpp \
159 kumpf           1.79      Resolver.cpp \
160 kumpf           1.84      ResponseHandler.cpp \
161 chuck           1.96      ResponseHandlerRep.cpp \
162 mike            1.51      Sharable.cpp \
163 kumpf           1.89      Signal.cpp \
164 mike            1.51      Socket.cpp \
165 mike            1.135     SpinLock.cpp \
166 mike            1.51      Stack.cpp \
167 sage            1.68      StatisticalData.cpp \
168 mike            1.51      String.cpp \
169 mike            1.162     StringConversion.cpp \
170 mike            1.130     StringInline.cpp \
171 mike            1.51      System.cpp \
172                           TimeValue.cpp \
173 kumpf           1.74      SSLContext.cpp \
174 mike            1.52      TLS.cpp \
175 mike            1.51      TraceFileHandler.cpp \
176 r.kieninger     1.168     TraceLogHandler.cpp \
177 thilo.boehm     1.171     TraceMemoryHandler.cpp \
178 mike            1.51      Tracer.cpp \
179                           Thread.cpp \
180 mike            1.149     ThreadPool.cpp \
181 mike            1.51      Union.cpp \
182 kumpf           1.166     XmlGenerator.cpp \
183 mike            1.51      XmlParser.cpp \
184                           XmlReader.cpp \
185 mday            1.64      XmlWriter.cpp \
186 karl            1.150     CommonUTF.cpp \
187 dave.sudlik     1.156     Constants.cpp \
188                           HostAddress.cpp \
189 mike            1.175     HostLocator.cpp \
190 s.kodali        1.179     BinaryCodec.cpp \
191 thilo.boehm     1.182     CIMBuffer.cpp \
192                           CIMInternalXmlEncoder.cpp \
193 sahana.prabhakar 1.183     SCMOInternalXmlEncoder.cpp \
194 marek            1.184     AsyncRequestExecutor.cpp \
195                            CIMBinMsgSerializer.cpp \
196 venkat.puvvada   1.185     CIMBinMsgDeserializer.cpp \
197                            IndicationRouter.cpp
198 mike             1.51  
199 ouyang.jian      1.161 ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
200 carson.hovey     1.167     SOURCES2 += PaseCcsid.cpp
201 ouyang.jian      1.161 endif
202                        
203 david.dillard    1.115 SOURCES_SLP = Attribute.cpp \
204                            CIMServerDescription.cpp
205                        
206 jim.wunderlich   1.139 ifeq ($(PEGASUS_ENABLE_SLP),true)
207 carson.hovey     1.167     SOURCES2 += $(SOURCES_SLP)
208 kumpf            1.142 endif
209                        
210 nagaraj.gr       1.187 ifeq ($(PEGASUS_PLATFORM),HPUX_PARISC_ACC) 
211                            SOURCES2 += LoadAndClearWord_HPUX_PARISC_ACC.s
212                        endif
213                        
214 marek            1.188 # Special code calling pam_end in class AuthHandle only required
215                        # with session based authentication mechanism
216                        ifeq ($(PEGASUS_PAM_SESSION_SECURITY),true)
217                            SOURCES2 += AuthHandle.cpp
218                        endif
219                        
220 nagaraj.gr       1.187 # LoadAndClearWord_HPUX_PARISC_ACC.s will be compiled using aCC
221                        # in order to use the native assembler to create the object
222                        ifeq ($(PEGASUS_PLATFORM),HPUX_PARISC_GNU)
223 carson.hovey     1.167     SOURCES2 += LoadAndClearWord_HPUX_PARISC_ACC.s
224 david.dillard    1.115 endif
225                        
226 kumpf            1.142 SOURCES = $(SOURCES1) $(SOURCES2)
227                        
228 denise.eckstein  1.159 ifdef PEGASUS_HAS_SSL
229 carson.hovey     1.167     ifeq ($(OS_TYPE),windows)
230                                SYS_LIBS += /libpath:$(OPENSSL_HOME)/lib libeay32.lib ssleay32.lib
231                            else
232 john.eisenbraun  1.174         ifeq ($(OS_TYPE), vms)
233                                    EXTRA_LIBRARIES += -L$(OPENSSL_LIB) \
234                                        -lssl$$libssl_shr32 -lssl$$libcrypto_shr32
235                                else
236                                    ifdef OPENSSL_HOME
237                                        EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib
238                                    endif
239                                    EXTRA_LIBRARIES += -lssl -lcrypto
240 carson.hovey     1.167         endif
241 john.eisenbraun  1.174     endif
242                        endif
243                        
244                        ifeq ($(OS_TYPE),vms)
245                            ifeq ($(PEGASUS_USE_STATIC_LIBRARIES),false)
246                                SYS_LIBS += tcpip$$library:tcpip$$lib/lib
247                                LIBRARIES = vms/include=(vms_crtl_init)
248                                LINK_OPT1 = COLLECT=crtl_init,lib$$initializdz,lib$$initializd_,
249                                LINK_OPT2 = lib$$initialize,lib$$initialize$$
250                                LINKER_OPTIONS = $(LINK_OPT1)$(LINK_OPT2)
251 denise.eckstein  1.159     endif
252 david.eger       1.92  endif
253                        
254 r.kieninger      1.172 ifeq ($(OS),zos)
255 carson.hovey     1.167     SOURCES2 += Audit_zOS_SMF.cpp \
256                                PegasusAssertZOS.cpp
257 marek            1.98  endif
258                        
259 rohini.deshpande 1.186 ifeq ($(OS),HPUX)
260                            EXTRA_LIBRARIES += -lipv6
261                        endif
262                        
263 sage             1.58  ifeq ($(PEGASUS_PLATFORM),AIX_RS_IBMCXX)
264 carson.hovey     1.167     AIX_LIB_PRIORITY=-20
265 denise.eckstein  1.112 endif
266                        
267 ouyang.jian      1.161 ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
268 carson.hovey     1.167     AIX_LIB_PRIORITY=-20
269 ouyang.jian      1.161 endif
270                        
271 h.sterling       1.125 # Note that PEGASUS_WINDOWS_SDK_HOME only needs to be specified if using VC6.
272 a.dunfey         1.154 ifeq ($(OS_TYPE),windows)
273 carson.hovey     1.167     SYS_LIBS += ws2_32.lib advapi32.lib netapi32.lib
274                            ifdef PEGASUS_WINDOWS_SDK_HOME
275                                FLAGS += -DPEGASUS_WINDOWS_SDK_HOME
276                                SYS_LIBS += /libpath:$(PEGASUS_WINDOWS_SDK_HOME)/lib secur32.lib
277                            else
278                                ifneq ($(CL_MAJOR_VERSION), 12)
279                                    SYS_LIBS += secur32.lib
280                                endif
281                            endif
282 kumpf            1.77  endif
283 mike             1.51  
284 jsafrane         1.190 ifeq ($(PEGASUS_NEGOTIATE_AUTHENTICATION),true)
285                            SOURCES += Negotiate.cpp
286                        endif
287                        
288                        
289 carson.hovey     1.167 include $(ROOT)/mak/dynamic-library.mak
290 kumpf            1.65  # DO NOT DELETE

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2