version 1.26, 2004/11/21 13:14:55
|
version 1.32, 2005/10/10 00:39:04
|
|
|
|
#//%2005//////////////////////////////////////////////////////////////////////// |
|
#// |
|
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
|
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
#// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
#// IBM Corp.; EMC Corporation, The Open Group. |
|
#// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
#// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// |
|
#// Permission is hereby granted, free of charge, to any person obtaining a copy |
|
#// of this software and associated documentation files (the "Software"), to |
|
#// deal in the Software without restriction, including without limitation the |
|
#// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
#// sell copies of the Software, and to permit persons to whom the Software is |
|
#// furnished to do so, subject to the following conditions: |
|
#// |
|
#// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN |
|
#// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED |
|
#// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT |
|
#// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
|
#// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
#// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
|
#// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
#// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
#// |
|
#//============================================================================== |
# Pegasus top level make file | # Pegasus top level make file |
# options are | # options are |
# Make rebuild | # Make rebuild |
|
|
| |
include $(ROOT)/mak/recurse.mak | include $(ROOT)/mak/recurse.mak |
| |
# rebuild target cleans, setup dependencies, compiles all and builds |
|
# repository |
|
|
.PHONY: FORCE |
| |
FORCE: | FORCE: |
| |
rebuild: clean depend all repository |
#----------------------- |
|
# build target: builds all source and runs the test |
|
# |
|
# builds mu utility, |
|
# compiles all, |
|
# sets up the dev server env |
|
|
|
build: all setupdevserver |
@ $(MAKE) -s tests | @ $(MAKE) -s tests |
| |
world: depend all repository |
#----------------------- |
|
# rebuild target: cleans and and then builds everything and runs tests |
|
# |
|
|
|
|
|
rebuild: clean repositoryclean world |
|
|
|
#----------------------- |
|
# world target: builds everything and runs tests |
|
# |
|
# Typically used after a fresh checkout from CVS |
|
# |
|
# builds mu utility, |
|
# builds dependencies, |
|
# compiles all |
|
# sets up the dev server env, |
|
# builds repository, |
|
# runs the unit tests |
|
|
|
world: buildmu depend all setupdevserver repository |
@ $(MAKE) -s tests | @ $(MAKE) -s tests |
| |
|
#--------------------- |
|
# buildmu target: build mu the make utility that among other things |
|
# includes depend |
|
buildmu: FORCE |
|
$(MKDIRHIER) $(BIN_DIR) |
|
$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile |
|
|
|
#---------------------- |
|
# setupdevserver and cleandevserver are used to setup and clear the |
|
# server configuration files needed to run the server in a development |
|
# environment. |
|
# |
|
setupdevserver: FORCE |
|
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run |
|
@$(ECHO) "PEGASUS Development Server Runtime Environment configured " |
|
|
|
cleandevserver: FORCE |
|
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run_clean |
|
|
# The repository Target removes and rebuilds the CIM repository | # The repository Target removes and rebuilds the CIM repository |
| |
# Note: Arguments must be quoted to preserve upper case characters in VMS. | # Note: Arguments must be quoted to preserve upper case characters in VMS. |
repository: FORCE | repository: FORCE |
@ $(MAKE) "-SC" Schemas/Pegasus repository | @ $(MAKE) "-SC" Schemas/Pegasus repository |
| |
|
repositoryclean: FORCE |
|
@ $(RMREPOSITORY) $(REPOSITORY_ROOT) |
|
|
repositoryServer: FORCE | repositoryServer: FORCE |
@ $(MAKE) "-SC" Schemas/Pegasus repositoryServer | @ $(MAKE) "-SC" Schemas/Pegasus repositoryServer |
| |
|
|
@ $(MAKE) "-SC" test/wetest repository | @ $(MAKE) "-SC" test/wetest repository |
@ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repository | @ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repository |
@ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repository | @ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repository |
|
@ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repository |
|
@ $(MAKE) "-SC" src/Providers/TestProviders/Load repository |
|
@ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repository |
| |
testrepositoryServer: FORCE | testrepositoryServer: FORCE |
@ $(MAKE) "-SC" src/Providers/sample/Load repositoryServer | @ $(MAKE) "-SC" src/Providers/sample/Load repositoryServer |
@ $(MAKE) "-SC" test/wetest repositoryServer | @ $(MAKE) "-SC" test/wetest repositoryServer |
@ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repositoryServer | @ $(MAKE) "-SC" src/Clients/benchmarkTest/Load repositoryServer |
@ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repositoryServer | @ $(MAKE) "-SC" src/Pegasus/CQL/CQLCLI repositoryServer |
|
@ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repositoryServer |
|
@ $(MAKE) "-SC" src/Providers/TestProviders/Load repositoryServer |
|
@ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repositoryServer |
| |
removetestrepository: FORCE | removetestrepository: FORCE |
@ $(MAKE) "-SC" src/Providers/sample/Load removerepository | @ $(MAKE) "-SC" src/Providers/sample/Load removerepository |
@ $(MAKE) "-SC" test/wetest removerepository | @ $(MAKE) "-SC" test/wetest removerepository |
@ $(MAKE) "-SC" src/Clients/benchmarkTest/Load removerepository | @ $(MAKE) "-SC" src/Clients/benchmarkTest/Load removerepository |
|
@ $(MAKE) "-SC" src/Providers/TestProviders/Load removerepository |
| |
config: | config: |
@ $(ROOT)/SetConfig_EnvVar | @ $(ROOT)/SetConfig_EnvVar |
| |
all: messages |
|
|
|
messages: rootbundle | messages: rootbundle |
| |
rootbundle: | rootbundle: |