version 1.213, 2014/03/11 03:46:15
|
version 1.216, 2014/09/05 14:19:06
|
|
|
## | ## |
################################################################################ | ################################################################################ |
| |
ifndef ROOT |
#PEGASUS_ROOT is mandatory currently |
|
ifdef PEGASUS_ROOT |
|
ifeq ($(wildcard $(PEGASUS_ROOT)),) |
|
$(error PEGASUS_ROOT = $(PEGASUS_ROOT) is incorrect, \ |
|
Did you meant to set it to $(CURDIR)?) |
|
endif |
ROOT = $(subst \,/,$(PEGASUS_ROOT)) | ROOT = $(subst \,/,$(PEGASUS_ROOT)) |
|
else |
|
$(error PEGASUS_ROOT environment variable undefined) |
endif | endif |
| |
|
|
ifdef PEGASUS_ENVVAR_FILE | ifdef PEGASUS_ENVVAR_FILE |
include $(PEGASUS_ENVVAR_FILE) | include $(PEGASUS_ENVVAR_FILE) |
else | else |
|
|
$(error PEGASUS_HOME environment variable undefined) | $(error PEGASUS_HOME environment variable undefined) |
endif | endif |
| |
ifdef PEGASUS_ROOT |
|
ROOT = $(subst \,/,$(PEGASUS_ROOT)) |
|
else |
|
$(error PEGASUS_ROOT environment variable undefined) |
|
endif |
|
| |
ifdef PEGASUS_TMP | ifdef PEGASUS_TMP |
TMP_DIR = $(subst \,/,$(PEGASUS_TMP)) | TMP_DIR = $(subst \,/,$(PEGASUS_TMP)) |
|
|
PEGASUS_USE_DEBUG_BUILD_OPTIONS = 1 | PEGASUS_USE_DEBUG_BUILD_OPTIONS = 1 |
endif | endif |
| |
PLATFORM_FILES=$(wildcard $(ROOT)/mak/platform_*.mak) |
PLATFORM_FILES=$(wildcard $(ROOT)/mak/platform*.mak) |
PLATFORM_TEMP=$(subst $(ROOT)/mak/platform_,, $(PLATFORM_FILES)) | PLATFORM_TEMP=$(subst $(ROOT)/mak/platform_,, $(PLATFORM_FILES)) |
VALID_PLATFORMS=$(subst .mak, , $(PLATFORM_TEMP)) | VALID_PLATFORMS=$(subst .mak, , $(PLATFORM_TEMP)) |
| |
|
|
## NOTE: If the default below is changed, please update the definition | ## NOTE: If the default below is changed, please update the definition |
## of default for this variable in pegasus/doc/BuildAndReleaseOptions.html | ## of default for this variable in pegasus/doc/BuildAndReleaseOptions.html |
ifndef PEGASUS_CIM_SCHEMA | ifndef PEGASUS_CIM_SCHEMA |
PEGASUS_CIM_SCHEMA=CIM236 |
PEGASUS_CIM_SCHEMA=CIM241 |
endif | endif |
| |
CIM_SCHEMA_DIR=$(PEGASUS_ROOT)/Schemas/$(PEGASUS_CIM_SCHEMA) | CIM_SCHEMA_DIR=$(PEGASUS_ROOT)/Schemas/$(PEGASUS_CIM_SCHEMA) |