no env vars needed in make

svn path=/trunk/boinc/; revision=465
This commit is contained in:
David Anderson 2002-10-04 23:53:08 +00:00
parent 2cb772a0cd
commit 510061b937
1 changed files with 0 additions and 60 deletions

View File

@ -7,66 +7,6 @@ VPATH = @srcdir@
INSTALL_DIR = /usr/local/boinc
ENV_MSG_1 = "The environment variable "
ENV_MSG_2 = " does not seem to be set. "
ENV_MSG_3 = "Please be sure to set all environment variables before compiling. "
ifndef BOINC_PROJECTS_DIR
BOINC_WARN_ENV = 1
BOINC_PROJECTS_DIR_MSG = $(ENV_MSG_1)"BOINC_PROJECTS_DIR"$(ENV_MSG_2)
endif
ifndef BOINC_HOSTS_DIR
BOINC_WARN_ENV = 1
BOINC_HOSTS_DIR_MSG = $(ENV_MSG_1)"BOINC_HOSTS_DIR"$(ENV_MSG_2)
endif
ifndef BOINC_USER_NAME
BOINC_WARN_ENV = 1
BOINC_USER_NAME_MSG = $(ENV_MSG_1)"BOINC_USER_NAME"$(ENV_MSG_2)
endif
ifndef BOINC_SRC_DIR
BOINC_WARN_ENV = 1
BOINC_SRC_DIR_MSG = $(ENV_MSG_1)"BOINC_SRC_DIR"$(ENV_MSG_2)
endif
ifndef BOINC_CGI_DIR
BOINC_WARN_ENV = 1
BOINC_CGI_DIR_MSG = $(ENV_MSG_1)"BOINC_CGI_DIR"$(ENV_MSG_2)
endif
ifndef BOINC_CGI_URL
BOINC_WARN_ENV = 1
BOINC_CGI_URL_MSG = $(ENV_MSG_1)"BOINC_CGI_URL"$(ENV_MSG_2)
endif
ifndef BOINC_HTML_DIR
BOINC_WARN_ENV = 1
BOINC_HTML_DIR_MSG = $(ENV_MSG_1)"BOINC_HTML_DIR"$(ENV_MSG_2)
endif
ifndef BOINC_HTML_URL
BOINC_WARN_ENV = 1
BOINC_HTML_URL_MSG = $(ENV_MSG_1)"BOINC_HTML_URL"$(ENV_MSG_2)
endif
ifndef BOINC_KEY_DIR
BOINC_WARN_ENV = 1
BOINC_KEY_DIR_MSG = $(ENV_MSG_1)"BOINC_KEY_DIR"$(ENV_MSG_2)
endif
ifndef BOINC_PLATFORM
BOINC_WARN_ENV = 1
BOINC_PLATFORM_KEY_MSG = $(ENV_MSG_1)"BOINC_PLATFORM_KEY"$(ENV_MSG_2)
endif
ifdef BOINC_WARN_ENV
ENV_MESSAGES = "****************************************" \
$(BOINC_HOSTS_DIR_MSG) \
$(BOINC_PROJECTS_DIR_MSG) \
$(BOINC_USER_NAME_MSG) \
$(BOINC_SRC_DIR_MSG) \
$(BOINC_CGI_DIR_MSG) \
$(BOINC_CGI_URL_MSG) \
$(BOINC_HTML_DIR_MSG) \
$(BOINC_HTML_URL_MSG) \
$(BOINC_KEY_DIR_MSG) \
$(BOINC_PLATFORM_MSG) \
$(ENV_MSG_3) \
"****************************************"
EXIT_IF_NEEDED = @exit 1;
endif
#
# The ../$(srcdir)/client/configure
# only works when the original configure is relative path