(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.5, Wed Mar 16 16:27:38 2005 UTC (19 years, 3 months ago) by mateus.baur
Branch: MAIN
Changes since 1.4: +4 -4 lines
BUG#: 2928
TITLE: make fails with WMIServer (Windows)

DESCRIPTION: Makefile of WMIServer was changed to copy the Service.h and Service.cpp from the correct location.

ROOT = ../../..

DIR = WMIMapper/WMIServer

include $(ROOT)/mak/config.mak

LIBRARIES = \
    pegcommon \
    pegconfig \
    pegwmiserver \
    pegclient

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