1 karl 1.143 #//%2006////////////////////////////////////////////////////////////////////////
|
2 martin 1.127 #//
3 #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
6 #// IBM Corp.; EMC Corporation, The Open Group.
7 #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
9 #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 #// EMC Corporation; VERITAS Software Corporation; The Open Group.
|
11 karl 1.143 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 #// EMC Corporation; Symantec Corporation; The Open Group.
|
13 martin 1.127 #//
14 #// Permission is hereby granted, free of charge, to any person obtaining a copy
15 #// of this software and associated documentation files (the "Software"), to
16 #// deal in the Software without restriction, including without limitation the
17 #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18 #// sell copies of the Software, and to permit persons to whom the Software is
19 #// furnished to do so, subject to the following conditions:
20 #//
21 #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
22 #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
23 #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25 #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26 #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27 #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 #//
30 #//==============================================================================
|
31 mike 1.51 ROOT = ../../..
32
33 DIR = Pegasus/Common
34
35 include $(ROOT)/mak/config.mak
36
|
37 kumpf 1.77 # SSL support
38 ifdef PEGASUS_HAS_SSL
|
39 kumpf 1.88 FLAGS += -DPEGASUS_HAS_SSL -DPEGASUS_SSL_RANDOMFILE
|
40 kumpf 1.77 SYS_INCLUDES += -I$(OPENSSL_HOME)/include
41 endif
42
|
43 kumpf 1.100 LOCAL_DEFINES = -DPEGASUS_COMMON_INTERNAL -DPEGASUS_INTERNALONLY
|
44 mike 1.51
45 LIBRARY = pegcommon
46
|
47 mike 1.129 ##
48 ## CAUTION: the source files are divided evenly (more or less) between SOURCES1
49 ## and SOURCES2. This avoids a command line buffer overflow on Windows 2000
50 ## (see bug #2754 for details). As a precaution, limit SOURCES1 and SOURCES2
51 ## to 75 source files each.
52 ##
53
54 SOURCES1 = \
|
55 mike 1.145 RecursiveMutex.cpp \
|
56 kumpf 1.108 AnonymousPipe.cpp \
|
57 mike 1.51 Array.cpp \
58 AsyncOpNode.cpp \
|
59 mike 1.131 AtomicInt.cpp \
|
60 kumpf 1.61 AuthenticationInfoRep.cpp \
|
61 schuur 1.105 AutoStreamer.cpp \
|
62 karl 1.57 Base64.cpp \
|
63 schuur 1.105 BinaryStreamer.cpp \
|
64 mike 1.134 Buffer.cpp \
|
65 mike 1.133 CharSet.cpp \
|
66 chuck 1.91 LanguageParser.cpp \
|
67 kumpf 1.141 AcceptLanguageList.cpp \
68 ContentLanguageList.cpp \
|
69 kumpf 1.140 LanguageTag.cpp \
|
70 chuck 1.91 MessageLoader.cpp \
|
71 mike 1.130 Char16Inline.cpp \
|
72 mike 1.51 CIMClass.cpp \
73 CIMClassRep.cpp \
74 CIMDateTime.cpp \
75 CIMFlavor.cpp \
76 CIMInstance.cpp \
77 CIMInstanceRep.cpp \
78 CIMMessage.cpp \
|
79 kumpf 1.108 CIMMessageSerializer.cpp \
80 CIMMessageDeserializer.cpp \
|
81 mike 1.51 CIMMethod.cpp \
82 CIMMethodRep.cpp \
83 CIMName.cpp \
|
84 r.kieninger 1.138 CIMNameInline.cpp \
|
85 mike 1.51 CIMObject.cpp \
|
86 mike 1.52 CIMObjectRep.cpp \
|
87 chip 1.60 CIMObjectPath.cpp \
|
88 mike 1.62 Cimom.cpp \
|
89 mday 1.55 CimomMessage.cpp \
|
90 mike 1.51 CIMParameter.cpp \
91 CIMParameterRep.cpp \
92 CIMParamValue.cpp \
93 CIMParamValueRep.cpp \
94 CIMProperty.cpp \
95 CIMPropertyList.cpp \
96 CIMPropertyRep.cpp \
97 CIMQualifier.cpp \
98 CIMQualifierDecl.cpp \
99 CIMQualifierDeclRep.cpp \
100 CIMQualifierList.cpp \
101 CIMQualifierNames.cpp \
102 CIMQualifierRep.cpp \
103 CIMScope.cpp \
104 CIMStatusCode.cpp \
105 CIMType.cpp \
|
106 mike 1.137 CIMValue.cpp \
|
107 mike 1.136 CIMValueInline.cpp \
|
108 mike 1.51 Config.cpp \
109 DeclContext.cpp \
110 Dir.cpp \
|
111 mike 1.145 List.cpp \
112 AsyncQueue.cpp \
113 IDFactory.cpp \
114 Magic.cpp
|
115 mike 1.129
116 SOURCES2 = \
|
117 chip 1.95 DynamicLibrary.cpp \
|
118 mike 1.51 Exception.cpp \
|
119 kumpf 1.81 InternalException.cpp \
|
120 mike 1.51 FileSystem.cpp \
121 Formatter.cpp \
122 HashTable.cpp \
123 HTTPAcceptor.cpp \
124 HTTPConnection.cpp \
125 HTTPConnector.cpp \
126 HTTPMessage.cpp \
127 Indentor.cpp \
|
128 kumpf 1.123 IndicationFormatter.cpp \
|
129 mike 1.51 IPC.cpp \
130 Logger.cpp \
131 Memory.cpp \
132 Message.cpp \
133 MessageQueue.cpp \
|
134 mday 1.55 MessageQueueService.cpp \
|
135 kumpf 1.63 ModuleController.cpp \
|
136 mike 1.51 Monitor.cpp \
|
137 mike 1.131 Mutex.cpp \
|
138 chip 1.104 ObjectNormalizer.cpp \
|
139 david.dillard 1.115 OperationContext.cpp \
|
140 kumpf 1.85 OperationContextInternal.cpp \
|
141 mike 1.51 OptionManager.cpp \
|
142 jim.wunderlich 1.128 Packer.cpp \
|
143 mike 1.51 Pair.cpp \
|
144 schuur 1.99 QueryExpressionRep.cpp \
|
145 kumpf 1.79 Resolver.cpp \
|
146 kumpf 1.84 ResponseHandler.cpp \
|
147 chuck 1.96 ResponseHandlerRep.cpp \
|
148 mike 1.51 Sharable.cpp \
|
149 kumpf 1.89 Signal.cpp \
|
150 mike 1.51 Socket.cpp \
|
151 mike 1.135 SpinLock.cpp \
|
152 mike 1.51 Stack.cpp \
|
153 sage 1.68 StatisticalData.cpp \
|
154 mike 1.51 Stopwatch.cpp \
155 String.cpp \
|
156 mike 1.130 StringInline.cpp \
|
157 mike 1.51 System.cpp \
158 TimeValue.cpp \
|
159 kumpf 1.74 SSLContext.cpp \
|
160 nag.boranna 1.118 SSLContextManager.cpp \
|
161 mike 1.52 TLS.cpp \
|
162 mike 1.51 TraceFileHandler.cpp \
163 Tracer.cpp \
164 Thread.cpp \
165 Union.cpp \
166 XmlParser.cpp \
167 XmlReader.cpp \
|
168 schuur 1.105 XmlStreamer.cpp \
|
169 mday 1.64 XmlWriter.cpp \
|
170 kumpf 1.73 MofWriter.cpp \
|
171 david 1.93 CommonUTF.cpp
|
172 mike 1.51
|
173 david.dillard 1.115 SOURCES_SLP = Attribute.cpp \
174 CIMServerDescription.cpp
175
|
176 jim.wunderlich 1.139 ifeq ($(PEGASUS_ENABLE_SLP),true)
|
177 kumpf 1.142 SOURCES2 += $(SOURCES_SLP)
178 endif
179
180 ifeq ($(PEGASUS_PLATFORM),HPUX_PARISC_ACC)
181 SOURCES2 += LoadAndClearWord_HPUX_PARISC_ACC.s
|
182 david.dillard 1.115 endif
183
|
184 kumpf 1.142 SOURCES = $(SOURCES1) $(SOURCES2)
185
|
186 kumpf 1.110 ifeq ($(OS),linux)
|
187 denise.eckstein 1.114 EXTRA_LIBRARIES += -lcrypt
|
188 david.eger 1.92 ifdef PEGASUS_HAS_SSL
|
189 denise.eckstein 1.114 EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib -lssl -lcrypto
|
190 david.eger 1.92 endif
191 endif
192
|
193 marek 1.98 ifeq ($(PEGASUS_PLATFORM),ZOS_ZSERIES_IBM)
194 ifdef PEGASUS_HAS_SSL
|
195 denise.eckstein 1.112 EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib -lssl -lcrypto
|
196 marek 1.98 endif
197 endif
198
199
|
200 sage 1.58 ifeq ($(PEGASUS_PLATFORM),AIX_RS_IBMCXX)
|
201 sage 1.78 AIX_LIB_PRIORITY=-20
|
202 dan 1.82 ifdef PEGASUS_HAS_SSL
|
203 david.dillard 1.111 EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib -lssl -lcrypto
|
204 dan 1.82 endif
|
205 sage 1.58 endif
206
|
207 kumpf 1.83 ifeq ($(OS),HPUX)
|
208 kumpf 1.77 ifdef PEGASUS_HAS_SSL
209 EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib -lssl -lcrypto
210 endif
|
211 kumpf 1.67 endif
212
|
213 denise.eckstein 1.112 ifeq ($(PEGASUS_PLATFORM),SOLARIS_SPARC_GNU)
214 ifdef PEGASUS_HAS_SSL
215 EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib -lssl -lcrypto
216 endif
217 endif
218
219 ifeq ($(PEGASUS_PLATFORM),SOLARIS_SPARC_CC)
220 ifdef PEGASUS_HAS_SSL
221 EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib -lssl -lcrypto
222 endif
223 endif
224
|
225 h.sterling 1.125 # Note that PEGASUS_WINDOWS_SDK_HOME only needs to be specified if using VC6.
|
226 kumpf 1.77 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
|
227 kumpf 1.106 SYS_LIBS = ws2_32.lib advapi32.lib netapi32.lib
|
228 chip 1.104 ifdef PEGASUS_HAS_SSL
|
229 a.dunfey 1.107 SYS_LIBS += /libpath:$(OPENSSL_HOME)/lib libeay32.lib ssleay32.lib
|
230 kumpf 1.102 endif
|
231 h.sterling 1.125 ifdef PEGASUS_WINDOWS_SDK_HOME
232 FLAGS += -DPEGASUS_WINDOWS_SDK_HOME
233 SYS_LIBS += /libpath:$(PEGASUS_WINDOWS_SDK_HOME)/lib secur32.lib
234 else
|
235 h.sterling 1.126 ifneq ($(CL_MAJOR_VERSION), 12)
|
236 h.sterling 1.125 SYS_LIBS += secur32.lib
|
237 h.sterling 1.126 endif
|
238 h.sterling 1.125 endif
|
239 kumpf 1.77 endif
|
240 mike 1.51
241 include $(ROOT)/mak/library.mak
|
242 kumpf 1.65 # DO NOT DELETE
|