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

File: [Pegasus] / pegasus / mak / BuildMakefile (download)
Revision: 1.38, Tue Feb 15 20:57:14 2005 UTC (19 years, 3 months ago) by kumpf
Branch: MAIN
Changes since 1.37: +4 -6 lines
BUG#: 2713
TITLE: Duplication in Makefiles

DESCRIPTION: Resolve inconsistent target definitions.

###############################################################################
##
## 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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2