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

File: [Pegasus] / pegasus / mak / BuildMakefile (download)
Revision: 1.37, Fri Feb 11 22:55:18 2005 UTC (19 years, 3 months ago) by kumpf
Branch: MAIN
Changes since 1.36: +9 -11 lines
BUG#: 2713
TITLE: Duplication in Makefiles

DESCRIPTION: More clean-up.

###############################################################################
##
## 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: clean all tests

rebuild-notest: clean 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