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

  1 martin 1.176 #//%LICENSE////////////////////////////////////////////////////////////////
  2 martin 1.127 #// 
  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              #// 
 10              #// 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              #// 
 17              #// The above copyright notice and this permission notice shall be included
 18              #// in all copies or substantial portions of the Software.
 19              #// 
 20              #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 21              #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
 22              #// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 23              #// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 24 martin 1.176 #// 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              #// 
 28              #//////////////////////////////////////////////////////////////////////////
 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 mike            1.175     Print.cpp \
 65 kumpf           1.155     Executor.cpp \
 66 karl            1.152     CIMError.cpp \
 67                           PropertyAccessor.cpp \
 68 mike            1.149     Once.cpp \
 69                           Time.cpp \
 70                           Threads.cpp \
 71                           TSDKey.cpp \
 72                           Semaphore.cpp \
 73                           ReadWriteSem.cpp \
 74                           Condition.cpp \
 75 kumpf           1.108     AnonymousPipe.cpp \
 76 mike            1.51      Array.cpp \
 77                           AsyncOpNode.cpp \
 78 mike            1.131     AtomicInt.cpp \
 79 kumpf           1.61      AuthenticationInfoRep.cpp \
 80 schuur          1.105     AutoStreamer.cpp \
 81 karl            1.57      Base64.cpp \
 82 schuur          1.105     BinaryStreamer.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                           CIMMethod.cpp \
 99                           CIMMethodRep.cpp \
100                           CIMName.cpp \
101 r.kieninger     1.138     CIMNameInline.cpp \
102 mike            1.51      CIMObject.cpp \
103 mike            1.52      CIMObjectRep.cpp \
104 chip            1.60      CIMObjectPath.cpp \
105 mike            1.62      Cimom.cpp \
106 mday            1.55      CimomMessage.cpp \
107 mike            1.51      CIMParameter.cpp \
108                           CIMParameterRep.cpp \
109                           CIMParamValue.cpp \
110                           CIMParamValueRep.cpp \
111                           CIMProperty.cpp \
112                           CIMPropertyList.cpp \
113                           CIMPropertyRep.cpp \
114                           CIMQualifier.cpp \
115                           CIMQualifierDecl.cpp \
116                           CIMQualifierDeclRep.cpp \
117                           CIMQualifierList.cpp \
118                           CIMQualifierNames.cpp \
119                           CIMQualifierRep.cpp \
120                           CIMScope.cpp \
121                           CIMStatusCode.cpp \
122                           CIMType.cpp \
123 mike            1.137     CIMValue.cpp \
124 mike            1.136     CIMValueInline.cpp \
125 mike            1.51      Config.cpp \
126                           DeclContext.cpp \
127                           Dir.cpp \
128 mike            1.145     List.cpp \
129                           AsyncQueue.cpp \
130                           IDFactory.cpp \
131 yi.zhou         1.151     AuditLogger.cpp \
132 mike            1.145     Magic.cpp
133 mike            1.129 
134                       SOURCES2 = \
135 chip            1.95      DynamicLibrary.cpp \
136 mike            1.51      Exception.cpp \
137 kumpf           1.81      InternalException.cpp \
138 mike            1.51      FileSystem.cpp \
139                           Formatter.cpp \
140                           HashTable.cpp \
141                           HTTPAcceptor.cpp \
142                           HTTPConnection.cpp \
143                           HTTPConnector.cpp  \
144                           HTTPMessage.cpp \
145 kumpf           1.123     IndicationFormatter.cpp \
146 mike            1.51      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      OptionManager.cpp \
158 jim.wunderlich  1.128     Packer.cpp \
159 mike            1.51      Pair.cpp \
160 schuur          1.99      QueryExpressionRep.cpp \
161 kumpf           1.79      Resolver.cpp \
162 kumpf           1.84      ResponseHandler.cpp \
163 chuck           1.96      ResponseHandlerRep.cpp \
164 mike            1.51      Sharable.cpp \
165 kumpf           1.89      Signal.cpp \
166 mike            1.51      Socket.cpp \
167 mike            1.135     SpinLock.cpp \
168 mike            1.51      Stack.cpp \
169 sage            1.68      StatisticalData.cpp \
170 mike            1.51      Stopwatch.cpp \
171                           String.cpp \
172 mike            1.162     StringConversion.cpp \
173 mike            1.130     StringInline.cpp \
174 mike            1.51      System.cpp \
175                           TimeValue.cpp \
176 kumpf           1.74      SSLContext.cpp \
177 nag.boranna     1.118     SSLContextManager.cpp \
178 mike            1.52      TLS.cpp \
179 mike            1.51      TraceFileHandler.cpp \
180 r.kieninger     1.168     TraceLogHandler.cpp \
181 thilo.boehm     1.171     TraceMemoryHandler.cpp \
182 mike            1.51      Tracer.cpp \
183                           Thread.cpp \
184 mike            1.149     ThreadPool.cpp \
185 mike            1.51      Union.cpp \
186 kumpf           1.166     XmlGenerator.cpp \
187 mike            1.51      XmlParser.cpp \
188                           XmlReader.cpp \
189 schuur          1.105     XmlStreamer.cpp \
190 mday            1.64      XmlWriter.cpp \
191 kumpf           1.73      MofWriter.cpp \
192 karl            1.150     CommonUTF.cpp \
193 dave.sudlik     1.156     Constants.cpp \
194                           HostAddress.cpp \
195 mike            1.175     HostLocator.cpp \
196                           BinaryCodec.cpp
197 mike            1.51  
198 ouyang.jian     1.161 ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
199 carson.hovey    1.167     SOURCES2 += PaseCcsid.cpp
200 ouyang.jian     1.161 endif
201                       
202 david.dillard   1.115 SOURCES_SLP = Attribute.cpp \
203                           CIMServerDescription.cpp
204                       
205 marek           1.148 SOURCES_SECURITY_ZOS = MustStayCleanzOS.c
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                       ifeq ($(PEGASUS_PLATFORM),HPUX_PARISC_ACC)
211 carson.hovey    1.167     SOURCES2 += LoadAndClearWord_HPUX_PARISC_ACC.s
212 david.dillard   1.115 endif
213                       
214 mike            1.175 ifeq ($(PEGASUS_ENABLE_PROTOCOL_INTERNAL_BINARY),true)
215 mike            1.173     SOURCES2 += CIMBuffer.cpp
216                           SOURCES2 += CIMBinMsgSerializer.cpp
217                           SOURCES2 += CIMBinMsgDeserializer.cpp
218                       else
219                           SOURCES2 += CIMMessageSerializer.cpp
220                           SOURCES2 += CIMMessageDeserializer.cpp
221                       endif
222                       
223 kumpf           1.142 SOURCES = $(SOURCES1) $(SOURCES2)
224                       
225 denise.eckstein 1.159 ifdef PEGASUS_HAS_SSL
226 carson.hovey    1.167     ifeq ($(OS_TYPE),windows)
227                               SYS_LIBS += /libpath:$(OPENSSL_HOME)/lib libeay32.lib ssleay32.lib
228                           else
229 john.eisenbraun 1.174         ifeq ($(OS_TYPE), vms)
230                                   EXTRA_LIBRARIES += -L$(OPENSSL_LIB) \
231                                       -lssl$$libssl_shr32 -lssl$$libcrypto_shr32
232                               else
233                                   ifdef OPENSSL_HOME
234                                       EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib
235                                   endif
236                                   EXTRA_LIBRARIES += -lssl -lcrypto
237 carson.hovey    1.167         endif
238 john.eisenbraun 1.174     endif
239                       endif
240                       
241                       ifeq ($(OS_TYPE),vms)
242                           ifeq ($(PEGASUS_USE_STATIC_LIBRARIES),false)
243                               SYS_LIBS += tcpip$$library:tcpip$$lib/lib
244                               LIBRARIES = vms/include=(vms_crtl_init)
245                               LINK_OPT1 = COLLECT=crtl_init,lib$$initializdz,lib$$initializd_,
246                               LINK_OPT2 = lib$$initialize,lib$$initialize$$
247                               LINKER_OPTIONS = $(LINK_OPT1)$(LINK_OPT2)
248 denise.eckstein 1.159     endif
249 david.eger      1.92  endif
250                       
251 r.kieninger     1.172 ifeq ($(OS),zos)
252 carson.hovey    1.167     ifdef PEGASUS_ZOS_SECURITY
253                               SOURCES += $(SOURCES_SECURITY_ZOS)
254                           endif
255                           SOURCES2 += Audit_zOS_SMF.cpp \
256                               PegasusAssertZOS.cpp
257 marek           1.98  endif
258                       
259 sage            1.58  ifeq ($(PEGASUS_PLATFORM),AIX_RS_IBMCXX)
260 carson.hovey    1.167     AIX_LIB_PRIORITY=-20
261 denise.eckstein 1.112 endif
262                       
263 ouyang.jian     1.161 ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
264 carson.hovey    1.167     AIX_LIB_PRIORITY=-20
265 ouyang.jian     1.161 endif
266                       
267 h.sterling      1.125 # Note that PEGASUS_WINDOWS_SDK_HOME only needs to be specified if using VC6.
268 a.dunfey        1.154 ifeq ($(OS_TYPE),windows)
269 carson.hovey    1.167     SYS_LIBS += ws2_32.lib advapi32.lib netapi32.lib
270                           ifdef PEGASUS_WINDOWS_SDK_HOME
271                               FLAGS += -DPEGASUS_WINDOWS_SDK_HOME
272                               SYS_LIBS += /libpath:$(PEGASUS_WINDOWS_SDK_HOME)/lib secur32.lib
273                           else
274                               ifneq ($(CL_MAJOR_VERSION), 12)
275                                   SYS_LIBS += secur32.lib
276                               endif
277                           endif
278 kumpf           1.77  endif
279 mike            1.51  
280 carson.hovey    1.167 include $(ROOT)/mak/dynamic-library.mak
281 kumpf           1.65  # DO NOT DELETE

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2