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