(file) Return to BuildMakefile CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

File: [Pegasus] / pegasus / mak / BuildMakefile (download)
Revision: 1.36, Fri Feb 11 01:44:47 2005 UTC (19 years, 3 months ago) by kumpf
Branch: MAIN
Changes since 1.35: +15 -100 lines
BUG#: 2713
TITLE: Duplication in Makefiles

DESCRIPTION: Further consolidated Makefile functionality.

###############################################################################
##
## Makefile for Pegasus CIMOM
##
## NOTE: Makefile needs to be executed from the parent directory of 
## pegasus directory because the path settings are relative and this
## Makefile may remove and recheckout the pegasus source tree.
##
## Options:
##      cleanbuild - Removes the existing pegasus directory contents, performs
##                   checkout, build and runs tests. 
##      rebuild    - Rebuild and execute tests.
## 
###############################################################################

include $(PEGASUS_ROOT)/mak/config.mak
include $(PEGASUS_ROOT)/mak/commands.mak

TESTS = prestarttests poststarttests

ifeq ($(DYNAMIC_SOCKSIFY),TRUE)
  CVS = socksify cvs
else
  CVS = cvs
endif

error: 
	@ echo "Specify desired makefile option (i.e., cleanbuild, rebuild)"

cleanbuild: removeall recheckout buildmu all $(TESTS) 

recheckout: removeall checkout

removeall:
	$(REMOVE_PEGASUS_DIRECTORY)

checkout:
	$(CVS) checkout -P pegasus

rebuild: clean buildmu all tests

rebuild-notest: clean buildmu all

build: all tests

build-notest: all

clean:
	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile clean

buildmu:
	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile buildmu

all:
	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile all

doc:
	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile doc

repositoryServer: 
	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile repositoryServer

prestarttests: 
	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile prestarttests

poststarttests:
	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile poststarttests

tests:
	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2