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

 1 martin 1.7 #//%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.7 #// 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 kumpf  1.1 ROOT = ../../..
30 kumpf  1.3 
31 kumpf  1.1 DIR = WMIMapper/WMIServer
32 kumpf  1.3 
33 kumpf  1.1 include $(ROOT)/mak/config.mak
34            
35            LIBRARIES = \
36                pegcommon \
37                pegconfig \
38                pegwmiserver \
39 mateus.baur 1.6     pegclient \
40                     pegservice
41 kumpf       1.3 
42 kumpf       1.1 EXTRA_INCLUDES = $(SYS_INCLUDES)
43                 
44 kumpf       1.3 LOCAL_DEFINES = -DPEGASUS_INTERNALONLY 
45 kumpf       1.1 
46                 PROGRAM = WMIServer
47                 
48                 SOURCES = cimserver.cpp
49                 
50                 include $(ROOT)/mak/program.mak
51                 
52                 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
53                   SYS_LIBS = ws2_32.lib advapi32.lib	
54                 endif
55                 
56                 tests:
57                 
58                 poststarttests:
59                 
60                 install:
61                 	$(RM) $(PEGASUS_HOME)/cimserver_planned.conf
62                 	$(RM) $(PEGASUS_HOME)/cimserver_current.conf
63                 	$(RM) $(PEGASUS_HOME)/server.pem
64                 	$(RM) $(PEGASUS_HOME)/client.pem
65                 	$(RM) $(PEGASUS_HOME)/ssl.rnd
66 kumpf       1.1 	$(RM) $(PEGASUS_HOME)/ssl.cnf
67                 	$(COPY) cimserver_planned.conf $(PEGASUS_HOME)
68                 	$(COPY) cimserver_current.conf $(PEGASUS_HOME)
69                 	$(COPY) $(PEGASUS_ROOT)/server.pem $(PEGASUS_HOME)
70                 	$(COPY) $(PEGASUS_ROOT)/client.pem $(PEGASUS_HOME)
71                 	$(COPY) $(PEGASUS_ROOT)/ssl.rnd    $(PEGASUS_HOME)
72                 	$(COPY) $(PEGASUS_ROOT)/ssl.cnf    $(PEGASUS_HOME)
73                 
74                 run: install
75                 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
76                 	cimserver -l
77                 else
78                 	cimserver
79                 endif
80 kumpf       1.3 
81                 copy2:
82 mateus.baur 1.5 	$(COPY) $(ROOT)/src/Service/Service.cpp ./Service.cpp
83                 	$(COPY) $(ROOT)/src/Service/Service.h ./Service.h
84 kumpf       1.3 
85                 clean2:
86 mateus.baur 1.5 	$(RM) ./Service.cpp
87                 	$(RM) ./Service.h
88 kumpf       1.1 

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2