version 1.41, 2005/11/18 21:17:40
|
version 1.50, 2006/12/11 20:04:47
|
|
|
#//%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 |
|
|
include $(ROOT)/mak/config.mak | include $(ROOT)/mak/config.mak |
endif | endif |
| |
ifndef OPENSSL_BIN |
|
OPENSSL_BIN = $(OPENSSL_HOME)/bin |
|
endif |
|
|
|
OPENSSL_COMMAND = $(OPENSSL_BIN)/openssl |
|
|
|
ifeq ($(OS),win32) | ifeq ($(OS),win32) |
STRIPCRS = stripcrs $(RESULTFILE) $(MASTERRESULTFILE) | STRIPCRS = stripcrs $(RESULTFILE) $(MASTERRESULTFILE) |
DIFF = mu compare | DIFF = mu compare |
|
|
Pr__r__r__ = 444 | Pr__r__r__ = 444 |
Pr________ = 400 | Pr________ = 400 |
Pr_xr_xr_x = 555 | Pr_xr_xr_x = 555 |
|
Prw_______ = 600 |
Prw_r__r__ = 644 | Prw_r__r__ = 644 |
Prw_______ = 640 |
Prw_r_____ = 640 |
CHMODDIRHIER = chmod -R | CHMODDIRHIER = chmod -R |
| |
INSTALL_USR = bin | INSTALL_USR = bin |
|
|
Pr________ = 400 | Pr________ = 400 |
Pr_xr_xr_x = 555 | Pr_xr_xr_x = 555 |
Pr_x______ = 500 | Pr_x______ = 500 |
|
Prw_______ = 600 |
Prw_r__r__ = 644 | Prw_r__r__ = 644 |
Prw_______ = 640 |
Prw_r_____ = 640 |
CHMODDIRHIER = chmod -R | CHMODDIRHIER = chmod -R |
| |
INSTALL_USR = root | INSTALL_USR = root |
|
|
DIFF = mu compare | DIFF = mu compare |
SORT = mu sort | SORT = mu sort |
REDIRECTERROR = $(MUEXE) echo "REDIRECTERROR not defined in commands.mak" | REDIRECTERROR = $(MUEXE) echo "REDIRECTERROR not defined in commands.mak" |
CIMSERVER_START_SERVICE = $(CIMSERVER_PATH)cimserver $(CIMSERVER_CONFIG_OPTIONS) |
CIMSERVER_START_SERVICE_DELAY = 20 |
|
CIMSERVER_START_SERVICE = pipe ($(CIMSERVER_PATH)cimserver $(CIMSERVER_CONFIG_OPTIONS) &) && mu sleep $(CIMSERVER_START_SERVICE_DELAY) |
CIMSERVER_STOP_SERVICE = $(CIMSERVER_PATH)cimserver -s | CIMSERVER_STOP_SERVICE = $(CIMSERVER_PATH)cimserver -s |
SLEEP = wait |
SLEEP = $(MUEXE) sleep |
TIME_CMD = | TIME_CMD = |
REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus | REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus |
MUEXE = mu | MUEXE = mu |
|
|
CURRENT_USER=`whoami` | CURRENT_USER=`whoami` |
endif | endif |
| |
|
ifdef PEGASUS_ENABLE_REMOTE_CMPI |
|
ifeq ($(OS),win32) |
|
$(error Error: Remote CMPI is not currently supported on Windows.) |
|
else |
|
CMPIR_START_DAEMON = $(CIMSERVER_PATH)CMPIRDaemon |
|
CMPIR_STOP_DAEMON = $(CIMSERVER_PATH)CMPIRDaemon --stop |
|
endif |
|
else |
|
CMPIR_START_DAEMON = $(ECHO) "(CMPIR_START_DAEMON command ignored)" |
|
CMPIR_STOP_DAEMON = $(ECHO) "(CMPIR_STOP_DAEMON command ignored)" |
|
|
|
endif |
|
|
ifndef TMP_DIR | ifndef TMP_DIR |
ifdef PEGASUS_TMP | ifdef PEGASUS_TMP |
TMP_DIR = $(subst \,/,$(PEGASUS_TMP)) | TMP_DIR = $(subst \,/,$(PEGASUS_TMP)) |
|
|
## | ## |
| |
cimstop: CMDSFORCE | cimstop: CMDSFORCE |
|
-$(CMPIR_STOP_DAEMON) |
$(CIMSERVER_STOP_SERVICE) | $(CIMSERVER_STOP_SERVICE) |
| |
cimstart: CMDSFORCE | cimstart: CMDSFORCE |
$(CIMSERVER_START_SERVICE) | $(CIMSERVER_START_SERVICE) |
|
$(CMPIR_START_DAEMON) |
| |
sleep: CMDSFORCE | sleep: CMDSFORCE |
$(SLEEP) $(TIME) | $(SLEEP) $(TIME) |
|
|
## cimstart command. | ## cimstart command. |
## | ## |
runTestSuite: CMDSFORCE | runTestSuite: CMDSFORCE |
|
-$(CIMSERVER_STOP_SERVICE) |
|
-$(CMPIR_STOP_DAEMON) |
$(CIMSERVER_START_SERVICE) | $(CIMSERVER_START_SERVICE) |
|
$(CMPIR_START_DAEMON) |
$(WINDOWS_ONLY_SLEEP) | $(WINDOWS_ONLY_SLEEP) |
$(foreach i, $(TESTSUITE_CMDS), $(subst @@, ,$(i))) | $(foreach i, $(TESTSUITE_CMDS), $(subst @@, ,$(i))) |
$(CIMSERVER_STOP_SERVICE) | $(CIMSERVER_STOP_SERVICE) |
|
$(CMPIR_STOP_DAEMON) |
| |
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) |