(file) Return to Makefile CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Client

 1 martin 1.25 #//%2005////////////////////////////////////////////////////////////////////////
 2             #//
 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             #//
12             #// Permission is hereby granted, free of charge, to any person obtaining a copy
13             #// of this software and associated documentation files (the "Software"), to
14             #// deal in the Software without restriction, including without limitation the
15             #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
16             #// sell copies of the Software, and to permit persons to whom the Software is
17             #// furnished to do so, subject to the following conditions:
18             #// 
19             #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
20             #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
21             #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
22 martin 1.25 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
23             #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
24             #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
25             #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26             #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27             #//
28             #//==============================================================================
29 mike   1.1  ROOT = ../../..
30             DIR = Pegasus/Client
31             include $(ROOT)/mak/config.mak
32             
33 kumpf  1.13 ifdef PEGASUS_HAS_SSL
34               FLAGS += -DPEGASUS_HAS_SSL -DPEGASUS_SSL_RANDOMFILE
35               SYS_INCLUDES += -I$(OPENSSL_HOME)/include
36             endif
37             
38 tony   1.15 ifdef PEGASUS_ENABLE_SLP
39 tony   1.16   FLAGS += -DPEGASUS_SLP_CLIENT_INTERFACE_WRAPPER
40 tony   1.15 endif
41             
42 mike   1.3  EXTRA_INCLUDES = $(SYS_INCLUDES)
43 mike   1.1  
44 kumpf  1.11 LOCAL_DEFINES = -DPEGASUS_CLIENT_INTERNAL -DPEGASUS_INTERNALONLY
45 mike   1.1  
46             LIBRARY = pegclient
47             
48             LIBRARIES = \
49 kumpf  1.12     pegcommon
50 kumpf  1.6  
51 tony   1.18 ifdef PEGASUS_ENABLE_SLP
52             ifneq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
53             LIBRARIES += pegslp_client
54             endif
55             endif
56             
57 mike   1.1  PRE_DEPEND_INCLUDES = -I./depends
58             
59             SOURCES = \
60 w.white 1.22     ClientPerfDataStore.cpp \
61 kumpf   1.24     ClientOpPerformanceDataHandler.cpp \
62 w.white 1.22     CIMClientRep.cpp \
63 mike    1.2      CIMClient.cpp \
64 mike    1.7      CIMOperationRequestEncoder.cpp \
65                  CIMOperationResponseDecoder.cpp \
66 kumpf   1.10     ClientAuthenticator.cpp \
67 w.white 1.22     CIMClientException.cpp  \
68 mike    1.1  
69 tony    1.15 SOURCES_SLP = \
70                  CIMServerDiscovery.cpp
71              
72              ifdef PEGASUS_ENABLE_SLP
73                SOURCES += $(SOURCES_SLP)
74              endif
75              
76 mike    1.1  OBJECTS = $(SOURCES:.cpp=$(OBJ))
77              
78 tony    1.18 include $(ROOT)/mak/library.mak
79              
80 tony    1.19 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
81              SYS_LIBS = ws2_32.lib advapi32.lib
82              endif
83              
84 tony    1.18 ifdef PEGASUS_ENABLE_SLP
85              $(SOURCES): slp_client
86              slp_client :
87              	@ $(MAKE) -SC $(ROOT)/src/slp/slp_client
88 marek   1.17 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
89 tony    1.19 SYS_LIBS += $(PEGASUS_HOME)/lib/pegslp_client.lib
90 tony    1.15 endif
91              endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2