1 martin 1.34 #//%LICENSE////////////////////////////////////////////////////////////////
|
2 martin 1.35 #//
|
3 martin 1.34 #// 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.35 #//
|
10 martin 1.34 #// 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.35 #//
|
17 martin 1.34 #// The above copyright notice and this permission notice shall be included
18 #// in all copies or substantial portions of the Software.
|
19 martin 1.35 #//
|
20 martin 1.34 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
21 martin 1.35 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22 martin 1.34 #// 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.35 #//
|
28 martin 1.34 #//////////////////////////////////////////////////////////////////////////
|
29 mike 1.1 ROOT = ../../..
30 DIR = Pegasus/Client
31 include $(ROOT)/mak/config.mak
32
|
33 jim.wunderlich 1.26 ifeq ($(PEGASUS_ENABLE_SLP),true)
|
34 carson.hovey 1.32 FLAGS += -DPEGASUS_SLP_CLIENT_INTERFACE_WRAPPER
|
35 tony 1.15 endif
36
|
37 mike 1.3 EXTRA_INCLUDES = $(SYS_INCLUDES)
|
38 mike 1.1
|
39 kumpf 1.11 LOCAL_DEFINES = -DPEGASUS_CLIENT_INTERNAL -DPEGASUS_INTERNALONLY
|
40 mike 1.1
|
41 carson.hovey 1.32 ifeq ($(OS_TYPE),vms)
42 STATIC=1
43 endif
44
|
45 mike 1.1 LIBRARY = pegclient
46
47 LIBRARIES = \
|
48 kumpf 1.12 pegcommon
|
49 kumpf 1.6
|
50 s.kodali 1.36 ifndef PEGASUS_INTERNAL_ENABLE_32BIT_PROVIDER_SUPPORT
|
51 jim.wunderlich 1.26 ifeq ($(PEGASUS_ENABLE_SLP),true)
|
52 carson.hovey 1.32 ifneq ($(OS_TYPE),windows)
53 LIBRARIES += pegslp_client
|
54 marek 1.33 else
55 SYS_LIBS = $(PEGASUS_HOME)/lib/pegslp_client.lib
|
56 carson.hovey 1.32 endif
|
57 tony 1.18 endif
|
58 s.kodali 1.36 endif
|
59 tony 1.18
|
60 mike 1.1 PRE_DEPEND_INCLUDES = -I./depends
61
62 SOURCES = \
|
63 w.white 1.22 ClientPerfDataStore.cpp \
|
64 kumpf 1.24 ClientOpPerformanceDataHandler.cpp \
|
65 w.white 1.22 CIMClientRep.cpp \
|
66 mike 1.2 CIMClient.cpp \
|
67 mike 1.7 CIMOperationRequestEncoder.cpp \
68 CIMOperationResponseDecoder.cpp \
|
69 kumpf 1.10 ClientAuthenticator.cpp \
|
70 karl 1.36.2.1 CIMClientException.cpp \
71 CIMEnumerationContext.cpp
|
72 mike 1.1
|
73 tony 1.15 SOURCES_SLP = \
74 CIMServerDiscovery.cpp
75
|
76 s.kodali 1.36 ifndef PEGASUS_INTERNAL_ENABLE_32BIT_PROVIDER_SUPPORT
|
77 jim.wunderlich 1.26 ifeq ($(PEGASUS_ENABLE_SLP),true)
|
78 carson.hovey 1.32 SOURCES += $(SOURCES_SLP)
|
79 tony 1.15 endif
|
80 s.kodali 1.36 endif
|
81 tony 1.15
|
82 carson.hovey 1.32 include $(ROOT)/mak/dynamic-library.mak
|
83 tony 1.18
|
84 a.dunfey 1.29 ifeq ($(OS_TYPE),windows)
|
85 marek 1.33 SYS_LIBS += ws2_32.lib advapi32.lib
|
86 tony 1.15 endif
|