version 1.214, 2014/03/11 03:54:55
|
version 1.215, 2014/03/24 19:58:33
|
|
|
## | ## |
################################################################################ | ################################################################################ |
| |
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)) |