############################################################################### ## ## Makefile for Pegasus CIMOM ## ## NOTE: This Makefile should be executed from the parent directory of the ## pegasus directory because it 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. ## ############################################################################### error: @ echo "Specify desired makefile option (i.e., cleanbuild, rebuild)" include $(PEGASUS_ROOT)/mak/config.mak include $(PEGASUS_ROOT)/mak/commands.mak ifeq ($(DYNAMIC_SOCKSIFY),TRUE) CVS = socksify cvs else CVS = cvs endif cleanbuild: recheckout all tests recheckout: removeall checkout removeall: $(REMOVE_PEGASUS_DIRECTORY) checkout: $(CVS) checkout -P pegasus rebuild: $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile rebuild build: $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile build 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