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

File: [Pegasus] / pegasus / src / Server / Makefile (download)
Revision: 1.30.6.1, Sat Apr 2 08:24:00 2005 UTC (19 years, 3 months ago) by denise.eckstein
Branch: RELEASE_2_4-branch
CVS Tags: RELEASE_2_4_3, RELEASE_2_4_2, RELEASE_2_4_1-BETA3, RELEASE_2_4_1, IBM_241_April1405
Changes since 1.30: +2 -2 lines
BUG#: 3206
TITLE: Fix Test SSL certificate included in pegasus/src/Server

DESCRIPTION: Updated Makefile to create server.pem and client.pem from cert.pem.

ROOT = ../..
DIR = Server
include $(ROOT)/mak/config.mak

LIBRARIES = \
    pegcommon \
    pegconfig \
    pegrepository \
    pegserver \
    pegprovider \
    pegwql \
    pegclient 

ifneq ($(PEGASUS_PLATFORM),ZOS_ZSERIES_IBM)
  ifneq ($(OS),HPUX)
    ifdef PEGASUS_ENABLE_SLP
      LIBRARIES += pegslp
    endif
  endif
endif

EXTRA_INCLUDES = $(SYS_INCLUDES)

LOCAL_DEFINES = -DPEGASUS_INTERNALONLY

PROGRAM = cimserver

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:
	$(INSTALL_SBIN_PROGRAM)
	$(MKDIRHIER) $(DEST_VAR_DIR)
	$(COPY) ssl.cnf $(DEST_VAR_DIR)/ssl.orig

install_run:
	$(RM) $(PEGASUS_HOME)/cimserver_planned.conf
	$(RM) $(PEGASUS_HOME)/cert.pem
	$(RM) $(PEGASUS_HOME)/file.pem
	$(RM) $(PEGASUS_HOME)/server.pem
	$(RM) $(PEGASUS_HOME)/client.pem
	$(RM) $(PEGASUS_HOME)/cimserver.rnd
	$(RM) $(PEGASUS_HOME)/ssl.rnd
	$(RM) $(PEGASUS_HOME)/ssl.cnf
	$(COPY) cimserver_planned.conf $(PEGASUS_HOME)
	$(COPY) cert.pem $(PEGASUS_HOME)
	$(COPY) file.pem $(PEGASUS_HOME)
	$(COPY) cert.pem $(PEGASUS_HOME)/server.pem
	$(COPY) cert.pem $(PEGASUS_HOME)/client.pem
	$(COPY) cimserver.rnd    $(PEGASUS_HOME)
	$(COPY) ssl.rnd    $(PEGASUS_HOME)
	$(COPY) ssl.cnf    $(PEGASUS_HOME)
ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
	$(PEGASUS_HOME)/bin/cimserver -install
endif

uninstall:
ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
	$(PEGASUS_HOME)/bin/cimserver -remove
endif

run: install_run
ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
	cimserver -start
else
	cimserver
endif


No CVS admin address has been configured
Powered by
ViewCVS 0.9.2