1 kumpf 1.1 ROOT = ../../..
|
2 kumpf 1.3
|
3 kumpf 1.1 DIR = WMIMapper/WMIServer
|
4 kumpf 1.3
|
5 kumpf 1.1 include $(ROOT)/mak/config.mak
6
7 LIBRARIES = \
8 pegcommon \
9 pegconfig \
10 pegwmiserver \
|
11 kumpf 1.3 pegclient
12
|
13 kumpf 1.1 EXTRA_INCLUDES = $(SYS_INCLUDES)
14
|
15 kumpf 1.3 LOCAL_DEFINES = -DPEGASUS_INTERNALONLY
|
16 kumpf 1.1
17 PROGRAM = WMIServer
18
19 SOURCES = cimserver.cpp
20
21 include $(ROOT)/mak/program.mak
22
23 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
24 SYS_LIBS = ws2_32.lib advapi32.lib
25 endif
26
27 tests:
28
29 poststarttests:
30
31 install:
32 $(RM) $(PEGASUS_HOME)/cimserver_planned.conf
33 $(RM) $(PEGASUS_HOME)/cimserver_current.conf
34 $(RM) $(PEGASUS_HOME)/server.pem
35 $(RM) $(PEGASUS_HOME)/client.pem
36 $(RM) $(PEGASUS_HOME)/ssl.rnd
37 kumpf 1.1 $(RM) $(PEGASUS_HOME)/ssl.cnf
38 $(COPY) cimserver_planned.conf $(PEGASUS_HOME)
39 $(COPY) cimserver_current.conf $(PEGASUS_HOME)
40 $(COPY) $(PEGASUS_ROOT)/server.pem $(PEGASUS_HOME)
41 $(COPY) $(PEGASUS_ROOT)/client.pem $(PEGASUS_HOME)
42 $(COPY) $(PEGASUS_ROOT)/ssl.rnd $(PEGASUS_HOME)
43 $(COPY) $(PEGASUS_ROOT)/ssl.cnf $(PEGASUS_HOME)
44
45 run: install
46 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
47 cimserver -l
48 else
49 cimserver
50 endif
|
51 kumpf 1.3
52 copy2:
|
53 mateus.baur 1.5 $(COPY) $(ROOT)/src/Service/Service.cpp ./Service.cpp
54 $(COPY) $(ROOT)/src/Service/Service.h ./Service.h
|
55 kumpf 1.3
56 clean2:
|
57 mateus.baur 1.5 $(RM) ./Service.cpp
58 $(RM) ./Service.h
|
59 kumpf 1.1
|