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