(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 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 marek           1.177.2.3     Guid.cpp \
141 mike            1.51          HashTable.cpp \
142                               HTTPAcceptor.cpp \
143                               HTTPConnection.cpp \
144                               HTTPConnector.cpp  \
145                               HTTPMessage.cpp \
146 kumpf           1.123         IndicationFormatter.cpp \
147 mike            1.51          Logger.cpp \
148                               Memory.cpp \
149                               Message.cpp \
150                               MessageQueue.cpp \
151 mday            1.55          MessageQueueService.cpp \
152 kumpf           1.63          ModuleController.cpp \
153 mike            1.51          Monitor.cpp \
154 mike            1.131         Mutex.cpp \
155 chip            1.104         ObjectNormalizer.cpp \
156 david.dillard   1.115         OperationContext.cpp \
157 kumpf           1.85          OperationContextInternal.cpp \
158 mike            1.51          OptionManager.cpp \
159 jim.wunderlich  1.128         Packer.cpp \
160 mike            1.51          Pair.cpp \
161 schuur          1.99          QueryExpressionRep.cpp \
162 kumpf           1.79          Resolver.cpp \
163 kumpf           1.84          ResponseHandler.cpp \
164 chuck           1.96          ResponseHandlerRep.cpp \
165 mike            1.51          Sharable.cpp \
166 kumpf           1.89          Signal.cpp \
167 mike            1.51          Socket.cpp \
168 mike            1.135         SpinLock.cpp \
169 mike            1.51          Stack.cpp \
170 sage            1.68          StatisticalData.cpp \
171 mike            1.51          Stopwatch.cpp \
172                               String.cpp \
173 mike            1.162         StringConversion.cpp \
174 mike            1.130         StringInline.cpp \
175 mike            1.51          System.cpp \
176                               TimeValue.cpp \
177 kumpf           1.74          SSLContext.cpp \
178 nag.boranna     1.118         SSLContextManager.cpp \
179 mike            1.52          TLS.cpp \
180 mike            1.51          TraceFileHandler.cpp \
181 r.kieninger     1.168         TraceLogHandler.cpp \
182 thilo.boehm     1.171         TraceMemoryHandler.cpp \
183 mike            1.51          Tracer.cpp \
184                               Thread.cpp \
185 mike            1.149         ThreadPool.cpp \
186 mike            1.51          Union.cpp \
187 kumpf           1.166         XmlGenerator.cpp \
188 mike            1.51          XmlParser.cpp \
189                               XmlReader.cpp \
190 schuur          1.105         XmlStreamer.cpp \
191 mday            1.64          XmlWriter.cpp \
192 kumpf           1.73          MofWriter.cpp \
193 karl            1.150         CommonUTF.cpp \
194 dave.sudlik     1.156         Constants.cpp \
195                               HostAddress.cpp \
196 mike            1.175         HostLocator.cpp \
197 s.kodali        1.177.2.1     BinaryCodec.cpp \
198 marek           1.177.2.2     CIMBuffer.cpp \
199                               VersionUtil.cpp
200 mike            1.51      
201 ouyang.jian     1.161     ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
202 carson.hovey    1.167         SOURCES2 += PaseCcsid.cpp
203 ouyang.jian     1.161     endif
204                           
205 david.dillard   1.115     SOURCES_SLP = Attribute.cpp \
206                               CIMServerDescription.cpp
207                           
208 marek           1.148     SOURCES_SECURITY_ZOS = MustStayCleanzOS.c
209 jim.wunderlich  1.139     ifeq ($(PEGASUS_ENABLE_SLP),true)
210 carson.hovey    1.167         SOURCES2 += $(SOURCES_SLP)
211 kumpf           1.142     endif
212                           
213                           ifeq ($(PEGASUS_PLATFORM),HPUX_PARISC_ACC)
214 carson.hovey    1.167         SOURCES2 += LoadAndClearWord_HPUX_PARISC_ACC.s
215 david.dillard   1.115     endif
216                           
217 mike            1.175     ifeq ($(PEGASUS_ENABLE_PROTOCOL_INTERNAL_BINARY),true)
218 mike            1.173         SOURCES2 += CIMBinMsgSerializer.cpp
219                               SOURCES2 += CIMBinMsgDeserializer.cpp
220                           else
221                               SOURCES2 += CIMMessageSerializer.cpp
222                               SOURCES2 += CIMMessageDeserializer.cpp
223                           endif
224                           
225 kumpf           1.142     SOURCES = $(SOURCES1) $(SOURCES2)
226                           
227 denise.eckstein 1.159     ifdef PEGASUS_HAS_SSL
228 carson.hovey    1.167         ifeq ($(OS_TYPE),windows)
229                                   SYS_LIBS += /libpath:$(OPENSSL_HOME)/lib libeay32.lib ssleay32.lib
230                               else
231 john.eisenbraun 1.174             ifeq ($(OS_TYPE), vms)
232                                       EXTRA_LIBRARIES += -L$(OPENSSL_LIB) \
233                                           -lssl$$libssl_shr32 -lssl$$libcrypto_shr32
234                                   else
235                                       ifdef OPENSSL_HOME
236                                           EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib
237                                       endif
238                                       EXTRA_LIBRARIES += -lssl -lcrypto
239 carson.hovey    1.167             endif
240 john.eisenbraun 1.174         endif
241                           endif
242                           
243                           ifeq ($(OS_TYPE),vms)
244                               ifeq ($(PEGASUS_USE_STATIC_LIBRARIES),false)
245                                   SYS_LIBS += tcpip$$library:tcpip$$lib/lib
246                                   LIBRARIES = vms/include=(vms_crtl_init)
247                                   LINK_OPT1 = COLLECT=crtl_init,lib$$initializdz,lib$$initializd_,
248                                   LINK_OPT2 = lib$$initialize,lib$$initialize$$
249                                   LINKER_OPTIONS = $(LINK_OPT1)$(LINK_OPT2)
250 denise.eckstein 1.159         endif
251 david.eger      1.92      endif
252                           
253 r.kieninger     1.172     ifeq ($(OS),zos)
254 carson.hovey    1.167         ifdef PEGASUS_ZOS_SECURITY
255                                   SOURCES += $(SOURCES_SECURITY_ZOS)
256                               endif
257                               SOURCES2 += Audit_zOS_SMF.cpp \
258                                   PegasusAssertZOS.cpp
259 marek           1.98      endif
260                           
261 sage            1.58      ifeq ($(PEGASUS_PLATFORM),AIX_RS_IBMCXX)
262 carson.hovey    1.167         AIX_LIB_PRIORITY=-20
263 denise.eckstein 1.112     endif
264                           
265 ouyang.jian     1.161     ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
266 carson.hovey    1.167         AIX_LIB_PRIORITY=-20
267 ouyang.jian     1.161     endif
268                           
269 h.sterling      1.125     # Note that PEGASUS_WINDOWS_SDK_HOME only needs to be specified if using VC6.
270 a.dunfey        1.154     ifeq ($(OS_TYPE),windows)
271 carson.hovey    1.167         SYS_LIBS += ws2_32.lib advapi32.lib netapi32.lib
272                               ifdef PEGASUS_WINDOWS_SDK_HOME
273                                   FLAGS += -DPEGASUS_WINDOWS_SDK_HOME
274                                   SYS_LIBS += /libpath:$(PEGASUS_WINDOWS_SDK_HOME)/lib secur32.lib
275                               else
276                                   ifneq ($(CL_MAJOR_VERSION), 12)
277                                       SYS_LIBS += secur32.lib
278                                   endif
279                               endif
280 kumpf           1.77      endif
281 mike            1.51      
282 carson.hovey    1.167     include $(ROOT)/mak/dynamic-library.mak
283 kumpf           1.65      # DO NOT DELETE

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2