version 1.34, 2005/10/23 00:58:12
|
version 1.41, 2006/10/27 19:56:24
|
|
|
#//%2005//////////////////////////////////////////////////////////////////////// |
#//%2006//////////////////////////////////////////////////////////////////////// |
#// | #// |
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
#// EMC Corporation; VERITAS Software Corporation; The Open Group. | #// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
#// EMC Corporation; Symantec Corporation; The Open Group. |
#// | #// |
#// Permission is hereby granted, free of charge, to any person obtaining a copy | #// Permission is hereby granted, free of charge, to any person obtaining a copy |
#// of this software and associated documentation files (the "Software"), to | #// of this software and associated documentation files (the "Software"), to |
|
|
# Defines subdirectorys to go to recursively | # Defines subdirectorys to go to recursively |
| |
# DIRS = src cgi | # DIRS = src cgi |
DIRS = src test rpm Schemas |
DIRS = src test Schemas |
| |
# Define the inclusion of the recurse.mak file to execute the next | # Define the inclusion of the recurse.mak file to execute the next |
# level of makefiles defined by the DIRS variable | # level of makefiles defined by the DIRS variable |
|
|
$(USAGE)"world - build unittests servertests" | $(USAGE)"world - build unittests servertests" |
$(USAGE) | $(USAGE) |
$(USAGE)"Functional rules - Other rules to achieve specified results" | $(USAGE)"Functional rules - Other rules to achieve specified results" |
|
$(USAGE)"clobber -removes objects built during compile" |
|
$(USAGE)" specifically the following directories are removed:" |
|
$(USAGE)" $(PEGASUS_HOME)/bin" |
|
$(USAGE)" $(PEGASUS_HOME)/lib" |
|
$(USAGE)" $(PEGASUS_HOME)/obj" |
$(USAGE)"buildmu - builds the mu utility" | $(USAGE)"buildmu - builds the mu utility" |
$(USAGE)"setupdevserver - setup the development server env" | $(USAGE)"setupdevserver - setup the development server env" |
$(USAGE)"cleandevserver - cleans the development server env" | $(USAGE)"cleandevserver - cleans the development server env" |
$(USAGE)"repository - builds the base repository" |
$(USAGE)"repository - builds the base repository. Does not remove other" |
|
$(USAGE)" namespaces than the base namespaces." |
$(USAGE)"testrepository - builds items for the test suites into the repository" | $(USAGE)"testrepository - builds items for the test suites into the repository" |
$(USAGE)"removetestrepository- removes test items from the repository" | $(USAGE)"removetestrepository- removes test items from the repository" |
$(USAGE)"repositoryclean - cleans the repository" |
$(USAGE)"repositoryclean - removes the complete repository" |
$(USAGE)"listplatforms - List all valid platforms" | $(USAGE)"listplatforms - List all valid platforms" |
$(USAGE) | $(USAGE) |
$(USAGE)"Test rules (accessable here but implemented in TestMakefile)" | $(USAGE)"Test rules (accessable here but implemented in TestMakefile)" |
|
|
$(USAGE)"unittests - runs the unit functional test" | $(USAGE)"unittests - runs the unit functional test" |
$(USAGE)"serverquicktests - runs quick server tests" | $(USAGE)"serverquicktests - runs quick server tests" |
$(USAGE)"servertests - runs basic server tests" | $(USAGE)"servertests - runs basic server tests" |
|
$(USAGE)"perftests - runs basic server performance tests" |
$(USAGE)"standardtests - runs server extended tests" | $(USAGE)"standardtests - runs server extended tests" |
$(USAGE)"testusage - TestMakefile usage" | $(USAGE)"testusage - TestMakefile usage" |
$(USAGE)"testusage2 - TestMakefile usage2" | $(USAGE)"testusage2 - TestMakefile usage2" |
|
$(USAGE)"stresstests - Runs the default stresstests" |
$(USAGE) | $(USAGE) |
$(USAGE)"--------------------" | $(USAGE)"--------------------" |
$(USAGE)"Quick start:" | $(USAGE)"Quick start:" |
|
|
servertests: FORCE | servertests: FORCE |
@ $(MAKE) -f TestMakefile servertests | @ $(MAKE) -f TestMakefile servertests |
| |
|
perftests: FORCE |
|
@ $(MAKE) -f TestMakefile perftests |
|
|
s_unittests: FORCE | s_unittests: FORCE |
@ $(MAKE) -f TestMakefile -s unittests | @ $(MAKE) -f TestMakefile -s unittests |
| |
|
|
testusage2: FORCE | testusage2: FORCE |
@ $(MAKE) -f TestMakefile usage2 | @ $(MAKE) -f TestMakefile usage2 |
| |
|
stresstests: |
|
@$(ECHO) "Running OpenPegasus StressTests" |
|
@$(MAKE) -f TestMakefile stresstests |
|
@$(ECHO) "+++++ OpenPegasus StressTests complete" |
| |
########################################################################## | ########################################################################## |
# | # |
|
|
cleandevserver: FORCE | cleandevserver: FORCE |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run_clean | $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run_clean |
| |
|
clobber: FORCE |
|
- $(RMDIRHIER) $(PEGASUS_HOME)/bin |
|
- $(RMDIRHIER) $(PEGASUS_HOME)/lib |
|
- $(RMDIRHIER) $(PEGASUS_HOME)/obj |
|
|
| |
#--------------------- | #--------------------- |
# The repository Target removes and rebuilds the CIM repository |
# The repository Target removes and rebuilds the base repository. It |
|
# does not remove all possible namespaces. See |
|
# Schemas/Pegasus/Makefile for details. The repository clean has the |
|
# same limitation |
| |
# 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" src/Pegasus/Query/QueryExpression/tests repository | @ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repository |
@ $(MAKE) "-SC" src/Providers/TestProviders/Load repository | @ $(MAKE) "-SC" src/Providers/TestProviders/Load repository |
@ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repository | @ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repository |
|
ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER), true) |
|
@ $(MAKE) "-SC" src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests repository |
|
endif |
|
@ $(MAKE) --directory=$(PEGASUS_ROOT)/src/Clients/cimsub/tests/testscript \ |
|
-f Makefile repository |
| |
testrepositoryServer: FORCE | testrepositoryServer: FORCE |
@ $(MAKE) "-SC" src/Providers/sample/Load repositoryServer | @ $(MAKE) "-SC" src/Providers/sample/Load repositoryServer |
|
|
@ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repositoryServer | @ $(MAKE) "-SC" src/Pegasus/Query/QueryExpression/tests repositoryServer |
@ $(MAKE) "-SC" src/Providers/TestProviders/Load repositoryServer | @ $(MAKE) "-SC" src/Providers/TestProviders/Load repositoryServer |
@ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repositoryServer | @ $(MAKE) "-SC" src/Pegasus/ControlProviders/QueryCapabilitiesProvider/tests repositoryServer |
|
ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER), true) |
|
@ $(MAKE) "-SC" src/Pegasus/ProviderManager2/JMPI/org/pegasus/jmpi/tests repositoryServer |
|
endif |
|
@ $(MAKE) --directory=$(PEGASUS_ROOT)/src/Clients/cimsub/tests/testscript \ |
|
-f Makefile 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 | @ $(MAKE) "-SC" src/Providers/TestProviders/Load removerepository |
|
@ $(MAKE) "-SC" src/Clients/cimsub/tests/testscript removerepository |
| |
config: | config: |
@ $(ROOT)/SetConfig_EnvVar | @ $(ROOT)/SetConfig_EnvVar |
| |
rootbundle: | rootbundle: |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/cnv2rootbundle -f Makefile | $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/cnv2rootbundle -f Makefile |
|
|
|
|