version 1.2, 2001/01/26 23:26:53
|
version 1.18, 2003/05/23 01:36:56
|
|
|
|
# Pegasus top level make file |
|
# options are |
|
# Make rebuild |
|
# Make world |
|
# Make tests - Executes the complete test suite |
|
# Make repository - Rebuilds the Pegasus repository |
|
# |
ROOT = . | ROOT = . |
| |
include $(ROOT)/mak/config.mak | include $(ROOT)/mak/config.mak |
| |
DIRS = src cgi |
# This is a recurse make file |
|
# Defines subdirectorys to go to recursively |
|
|
|
# DIRS = src cgi |
|
DIRS = src test |
|
|
|
# Define the inclusion of the recurse.mak file to execute the next |
|
# level of makefiles defined by the DIRS variable |
| |
include $(ROOT)/mak/recurse.mak | include $(ROOT)/mak/recurse.mak |
| |
rebuild: clean depend all |
# rebuild target cleans, setup dependencies, compiles all and builds |
$(MAKE) -s tests |
# repository |
|
|
|
FORCE: |
|
|
|
rebuild: clean depend all repository |
|
@ $(MAKE) -s tests |
|
|
|
world: depend all repository |
|
@ $(MAKE) -s tests |
|
|
|
# The repository Target removes and rebuilds the CIM repository |
|
|
|
repository: FORCE |
|
@ $(MAKE) -SC Schemas/Pegasus repository |
|
|
|
repositoryServer: FORCE |
|
@ $(MAKE) -SC Schemas/Pegasus repositoryServer |
|
|
|
testrepository: FORCE |
|
@ $(MAKE) -SC src/Providers/sample/Load repository |
|
@ $(MAKE) -SC test/wetest repository |
|
|
|
testrepositoryServer: FORCE |
|
@ $(MAKE) -SC src/Providers/sample/Load repositoryServer |
|
@ $(MAKE) -SC test/wetest repositoryServer |
|
|
|
removetestrepository: FORCE |
|
@ $(MAKE) -SC src/Providers/sample/Load removerepository |
|
@ $(MAKE) -SC test/wetest removerepository |
|
|
|
# the collections of tests that we run with the server active. |
|
# For now, these are centralized and do not include startup |
|
# and shutdown of the server. |
| |
world: depend all |
activetests: FORCE |
$(MAKE) -s tests |
$(MAKE) --directory=pegasus/test -f Makefile clean |
|
TestClient |
|
Client |
|
$(MAKE) --directory=test -f Makefile tests |