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

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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2