version 1.36, 2005/02/11 01:44:47
|
version 1.39, 2005/02/15 22:42:34
|
|
|
############################################################################### | ############################################################################### |
## | ## |
## Makefile for Pegasus CIMOM |
## Makefile for managing a Pegasus source tree |
## | ## |
## NOTE: Makefile needs to be executed from the parent directory of |
## NOTE: This Makefile should be executed from the parent directory of the |
## pegasus directory because the path settings are relative and this |
## pegasus directory because it may remove and recheckout the pegasus source |
## Makefile may remove and recheckout the pegasus source tree. |
## tree. |
## | ## |
## Options: | ## Options: |
## cleanbuild - Removes the existing pegasus directory contents, performs |
## cleanbuild - Remove the existing pegasus directory, perform a CVS |
## checkout, build and runs tests. |
## checkout of the pegasus source, build, and run tests. |
## rebuild - Rebuild and execute tests. |
## removeall - Remove the existing pegasus directory. |
|
## checkout - Perform a CVS checkout of the pegasus source. |
|
## recheckout - Remove the existing pegasus directory and perform a CVS |
|
## checkout of the pegasus source. |
|
## |
|
## All pegasus/TestMakefile options are also supported by this Makefile. |
## | ## |
############################################################################### | ############################################################################### |
| |
include $(PEGASUS_ROOT)/mak/config.mak |
include $(PEGASUS_ROOT)/TestMakefile |
include $(PEGASUS_ROOT)/mak/commands.mak |
|
|
|
TESTS = prestarttests poststarttests |
|
| |
ifeq ($(DYNAMIC_SOCKSIFY),TRUE) | ifeq ($(DYNAMIC_SOCKSIFY),TRUE) |
CVS = socksify cvs | CVS = socksify cvs |
|
|
CVS = cvs | CVS = cvs |
endif | endif |
| |
error: |
cleanbuild: recheckout all tests |
@ echo "Specify desired makefile option (i.e., cleanbuild, rebuild)" |
|
|
|
cleanbuild: removeall recheckout buildmu all $(TESTS) |
|
| |
recheckout: removeall checkout | recheckout: removeall checkout |
| |
|
|
| |
checkout: | checkout: |
$(CVS) checkout -P pegasus | $(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 |
|