1 karl 1.27 #//%2006////////////////////////////////////////////////////////////////////////
|
2 martin 1.25 #//
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.27 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 #// EMC Corporation; Symantec Corporation; The Open Group.
|
13 martin 1.25 #//
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 carson.hovey 1.32 #//=============================================================================
|
31 mike 1.1 ROOT = ../../..
32 DIR = Pegasus/Client
33 include $(ROOT)/mak/config.mak
34
|
35 jim.wunderlich 1.26 ifeq ($(PEGASUS_ENABLE_SLP),true)
|
36 carson.hovey 1.32 FLAGS += -DPEGASUS_SLP_CLIENT_INTERFACE_WRAPPER
|
37 tony 1.15 endif
38
|
39 mike 1.3 EXTRA_INCLUDES = $(SYS_INCLUDES)
|
40 mike 1.1
|
41 kumpf 1.11 LOCAL_DEFINES = -DPEGASUS_CLIENT_INTERNAL -DPEGASUS_INTERNALONLY
|
42 mike 1.1
|
43 carson.hovey 1.32 ifeq ($(OS_TYPE),vms)
44 STATIC=1
45 endif
46
|
47 mike 1.1 LIBRARY = pegclient
48
49 LIBRARIES = \
|
50 kumpf 1.12 pegcommon
|
51 kumpf 1.6
|
52 jim.wunderlich 1.26 ifeq ($(PEGASUS_ENABLE_SLP),true)
|
53 carson.hovey 1.32 ifneq ($(OS_TYPE),windows)
54 LIBRARIES += pegslp_client
55 endif
|
56 tony 1.18 endif
57
|
58 mike 1.1 PRE_DEPEND_INCLUDES = -I./depends
59
60 SOURCES = \
|
61 w.white 1.22 ClientPerfDataStore.cpp \
|
62 kumpf 1.24 ClientOpPerformanceDataHandler.cpp \
|
63 w.white 1.22 CIMClientRep.cpp \
|
64 mike 1.2 CIMClient.cpp \
|
65 mike 1.7 CIMOperationRequestEncoder.cpp \
66 CIMOperationResponseDecoder.cpp \
|
67 kumpf 1.10 ClientAuthenticator.cpp \
|
68 mike 1.28 CIMClientException.cpp
|
69 mike 1.1
|
70 tony 1.15 SOURCES_SLP = \
71 CIMServerDiscovery.cpp
72
|
73 jim.wunderlich 1.26 ifeq ($(PEGASUS_ENABLE_SLP),true)
|
74 carson.hovey 1.32 SOURCES += $(SOURCES_SLP)
|
75 tony 1.15 endif
76
|
77 carson.hovey 1.32 include $(ROOT)/mak/dynamic-library.mak
|
78 tony 1.18
|
79 a.dunfey 1.29 ifeq ($(OS_TYPE),windows)
|
80 carson.hovey 1.32 SYS_LIBS = ws2_32.lib advapi32.lib
|
81 tony 1.19 endif
82
|
83 jim.wunderlich 1.26 ifeq ($(PEGASUS_ENABLE_SLP),true)
|
84 tony 1.18 $(SOURCES): slp_client
85 slp_client :
86 @ $(MAKE) -SC $(ROOT)/src/slp/slp_client
|
87 carson.hovey 1.32 ifeq ($(OS_TYPE),windows)
88 SYS_LIBS += $(PEGASUS_HOME)/lib/pegslp_client.lib
89 endif
|
90 tony 1.15 endif
|