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

File: [Pegasus] / pegasus / src / WMIMapper / WMIServer / Makefile (download)
Revision: 1.6, Mon Apr 18 19:35:29 2005 UTC (19 years, 2 months ago) by mateus.baur
Branch: MAIN
Changes since 1.5: +2 -1 lines
BUG#: 3350
TITLE: The WMIServer should use the pegservice library

DESCRIPTION: WMIServer was modified in order to use pegservice library.

ROOT = ../../..

DIR = WMIMapper/WMIServer

include $(ROOT)/mak/config.mak

LIBRARIES = \
    pegcommon \
    pegconfig \
    pegwmiserver \
    pegclient \
    pegservice

EXTRA_INCLUDES = $(SYS_INCLUDES)

LOCAL_DEFINES = -DPEGASUS_INTERNALONLY 

PROGRAM = WMIServer

SOURCES = cimserver.cpp

include $(ROOT)/mak/program.mak

ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
  SYS_LIBS = ws2_32.lib advapi32.lib	
endif

tests:

poststarttests:

install:
	$(RM) $(PEGASUS_HOME)/cimserver_planned.conf
	$(RM) $(PEGASUS_HOME)/cimserver_current.conf
	$(RM) $(PEGASUS_HOME)/server.pem
	$(RM) $(PEGASUS_HOME)/client.pem
	$(RM) $(PEGASUS_HOME)/ssl.rnd
	$(RM) $(PEGASUS_HOME)/ssl.cnf
	$(COPY) cimserver_planned.conf $(PEGASUS_HOME)
	$(COPY) cimserver_current.conf $(PEGASUS_HOME)
	$(COPY) $(PEGASUS_ROOT)/server.pem $(PEGASUS_HOME)
	$(COPY) $(PEGASUS_ROOT)/client.pem $(PEGASUS_HOME)
	$(COPY) $(PEGASUS_ROOT)/ssl.rnd    $(PEGASUS_HOME)
	$(COPY) $(PEGASUS_ROOT)/ssl.cnf    $(PEGASUS_HOME)

run: install
ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
	cimserver -l
else
	cimserver
endif

copy2:
	$(COPY) $(ROOT)/src/Service/Service.cpp ./Service.cpp
	$(COPY) $(ROOT)/src/Service/Service.h ./Service.h

clean2:
	$(RM) ./Service.cpp
	$(RM) ./Service.h


No CVS admin address has been configured
Powered by
ViewCVS 0.9.2