1 martin 1.16 #//%LICENSE////////////////////////////////////////////////////////////////
|
2 martin 1.17 #//
|
3 martin 1.16 #// 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.17 #//
|
10 martin 1.16 #// 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.17 #//
|
17 martin 1.16 #// The above copyright notice and this permission notice shall be included
18 #// in all copies or substantial portions of the Software.
|
19 martin 1.17 #//
|
20 martin 1.16 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
21 martin 1.17 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22 martin 1.16 #// 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.17 #//
|
28 martin 1.16 #//////////////////////////////////////////////////////////////////////////
|
29 marek 1.1 ROOT = ../../..
30 DIR = Pegasus/ManagedClient
31 include $(ROOT)/mak/config.mak
32
|
33 jim.wunderlich 1.9 ifeq ($(PEGASUS_ENABLE_SLP),true)
|
34 marek 1.1 FLAGS += -DPEGASUS_SLP_CLIENT_INTERFACE_WRAPPER
35 endif
36
37 EXTRA_INCLUDES = $(SYS_INCLUDES)
38
39 LOCAL_DEFINES = -DPEGASUS_CLIENT_INTERNAL -DPEGASUS_INTERNALONLY
40
41 LIBRARY = pegmanagedclient
42
43 LIBRARIES = \
|
44 mike 1.12 pegclient \
|
45 marek 1.1 pegcommon
46
|
47 jim.wunderlich 1.9 ifeq ($(PEGASUS_ENABLE_SLP),true)
|
48 a.dunfey 1.13 ifneq ($(OS_TYPE),windows)
|
49 marek 1.2 LIBRARIES += pegslp_client
50 endif
51 endif
52
|
53 marek 1.1 PRE_DEPEND_INCLUDES = -I./depends
54
55 SOURCES = \
56 CIMManagedClient.cpp \
57 CIMClientConnection.cpp \
|
58 kumpf 1.18 CIMDefaultClientConnectionManager.cpp
|
59 marek 1.1
|
60 jim.wunderlich 1.9 ifeq ($(PEGASUS_ENABLE_SLP),true)
|
61 marek 1.1 SOURCES += $(SOURCES_SLP)
62 endif
63
|
64 marek 1.2 include $(ROOT)/mak/library.mak
65
|
66 a.dunfey 1.13 ifeq ($(OS_TYPE),windows)
|
67 marek 1.1 SYS_LIBS = ws2_32.lib advapi32.lib
|
68 marek 1.2 endif
69
|
70 jim.wunderlich 1.9 ifeq ($(PEGASUS_ENABLE_SLP),true)
|
71 marek 1.2 $(SOURCES): slp_client
72 slp_client :
73 @ $(MAKE) -SC $(ROOT)/src/slp/slp_client
|
74 a.dunfey 1.13 ifeq ($(OS_TYPE),windows)
|
75 marek 1.2 SYS_LIBS += $(PEGASUS_HOME)/lib/pegslp_client.lib
|
76 marek 1.1 endif
77 endif
|