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 ifneq ($(PEGASUS_PLATFORM),ZOS_ZSERIES_IBM)
14 ifneq ($(OS),HPUX)
15 ifndef NO_SLP
16 LIBRARIES += slp
17 endif
18 endif
19 endif
|
20 kumpf 1.1
21 EXTRA_INCLUDES = $(SYS_INCLUDES)
22
|
23 kumpf 1.3 LOCAL_DEFINES = -DPEGASUS_INTERNALONLY
|
24 kumpf 1.1
25 PROGRAM = WMIServer
26
27 SOURCES = cimserver.cpp
28
29 include $(ROOT)/mak/program.mak
30
31 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
32 SYS_LIBS = ws2_32.lib advapi32.lib
33 endif
34
35 tests:
36
37 poststarttests:
38
39 install:
40 $(RM) $(PEGASUS_HOME)/cimserver_planned.conf
41 $(RM) $(PEGASUS_HOME)/cimserver_current.conf
42 $(RM) $(PEGASUS_HOME)/server.pem
43 $(RM) $(PEGASUS_HOME)/client.pem
44 $(RM) $(PEGASUS_HOME)/ssl.rnd
45 kumpf 1.1 $(RM) $(PEGASUS_HOME)/ssl.cnf
46 $(COPY) cimserver_planned.conf $(PEGASUS_HOME)
47 $(COPY) cimserver_current.conf $(PEGASUS_HOME)
48 $(COPY) $(PEGASUS_ROOT)/server.pem $(PEGASUS_HOME)
49 $(COPY) $(PEGASUS_ROOT)/client.pem $(PEGASUS_HOME)
50 $(COPY) $(PEGASUS_ROOT)/ssl.rnd $(PEGASUS_HOME)
51 $(COPY) $(PEGASUS_ROOT)/ssl.cnf $(PEGASUS_HOME)
52
53 run: install
54 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
55 cimserver -l
56 else
57 cimserver
58 endif
|
59 kumpf 1.3
60 copy2:
61 $(COPY) $(ROOT)/src/Server/service.cpp ./service.cpp
62 $(COPY) $(ROOT)/src/Server/service.h ./service.h
63
64 clean2:
65 $(RM) ./service.cpp
66 $(RM) ./service.h
|
67 kumpf 1.1
|