version 1.40, 2005/11/17 17:01:00
|
version 1.41, 2005/11/18 21:17:40
|
|
|
#// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
#// | #// |
#//============================================================================== | #//============================================================================== |
# commands.mak is a helper Makefile that is intended to be included in an upper level Makefile. |
# commands.mak is a helper Makefile that is intended to be |
|
# included in an upper level Makefile. |
|
|
|
# Ensure that config.mak is included (so that the ROOT |
|
# variable is set correctly) |
| |
# Ensure that config.mak is included (so that the ROOT variable is set correctly) |
|
| |
ifndef ROOT | ifndef ROOT |
ifdef PEGASUS_ROOT | ifdef PEGASUS_ROOT |
|
|
endif | endif |
| |
Prwxr_xr_x = 755 | Prwxr_xr_x = 755 |
|
Prwx______ = 700 |
Prwxrwxrwx = 777 | Prwxrwxrwx = 777 |
Prwxrwxrwt = 1777 | Prwxrwxrwt = 1777 |
Pr_xr__r__ = 744 | Pr_xr__r__ = 744 |
|
|
Pr________ = 400 | Pr________ = 400 |
Pr_xr_xr_x = 555 | Pr_xr_xr_x = 555 |
Prw_r__r__ = 644 | Prw_r__r__ = 644 |
|
Prw_______ = 640 |
CHMODDIRHIER = chmod -R | CHMODDIRHIER = chmod -R |
| |
INSTALL_USR = bin | INSTALL_USR = bin |
|
|
Prwxrwxrwx = 777 | Prwxrwxrwx = 777 |
Prwxrwxrwt = 1777 | Prwxrwxrwt = 1777 |
Prwxr_xr_x = 755 | Prwxr_xr_x = 755 |
|
Prwxr_x___ = 750 |
Pr_xr__r__ = 744 | Pr_xr__r__ = 744 |
|
Prwx______ = 700 |
Pr__r__r__ = 444 | Pr__r__r__ = 444 |
Pr________ = 400 | Pr________ = 400 |
Pr_xr_xr_x = 555 | Pr_xr_xr_x = 555 |
Pr_x______ = 500 | Pr_x______ = 500 |
Prw_r__r__ = 644 | Prw_r__r__ = 644 |
|
Prw_______ = 640 |
CHMODDIRHIER = chmod -R | CHMODDIRHIER = chmod -R |
| |
INSTALL_USR = root | INSTALL_USR = root |
INSTALL_GRP = root |
INSTALL_GRP = pegasus |
CIMSERVER_USR = root | CIMSERVER_USR = root |
CIMSERVER_GRP = root |
CIMSERVER_GRP = pegasus |
CHMOD = chmod | CHMOD = chmod |
CHOWN = chown | CHOWN = chown |
CHGRP = chgrp | CHGRP = chgrp |
|
|
endif | endif |
endif | endif |
| |
|
|
CMDSFORCE: | CMDSFORCE: |
| |
## | ## |
|
|
mkdirhier_IgnoreError: CMDSFORCE | mkdirhier_IgnoreError: CMDSFORCE |
@$(MAKE) $(MAKEOPTIONS) -i mkdirhier | @$(MAKE) $(MAKEOPTIONS) -i mkdirhier |
| |
|
|
# The runTestSuite option starts the CIM Server | # The runTestSuite option starts the CIM Server |
# with a designated set of configuration options (i.e., | # with a designated set of configuration options (i.e., |
# CIMSERVER_CONFIG_OPTIONS) and then runs a specified | # CIMSERVER_CONFIG_OPTIONS) and then runs a specified |
|
|
## cimstart command. | ## cimstart command. |
## | ## |
runTestSuite: CMDSFORCE | runTestSuite: CMDSFORCE |
$(MAKE) --directory $(PEGASUS_ROOT) -f TestMakefile cimstart |
$(CIMSERVER_START_SERVICE) |
$(WINDOWS_ONLY_SLEEP) | $(WINDOWS_ONLY_SLEEP) |
$(foreach i, $(TESTSUITE_CMDS), $(subst @@, ,$(i))) | $(foreach i, $(TESTSUITE_CMDS), $(subst @@, ,$(i))) |
$(MAKE) --directory $(PEGASUS_ROOT) -f TestMakefile cimstop |
$(CIMSERVER_STOP_SERVICE) |
| |
ifndef PEGASUS_SSLCNF_FULLY_QUALIFIED_DSN | ifndef PEGASUS_SSLCNF_FULLY_QUALIFIED_DSN |
PEGASUS_SSLCNF_FULLY_QUALIFIED_DSN=$(GET_HOSTNAME) | PEGASUS_SSLCNF_FULLY_QUALIFIED_DSN=$(GET_HOSTNAME) |