version 1.7, 2013/05/03 21:37:19
|
version 1.8, 2014/01/16 22:49:03
|
|
|
# out of date or not. see the phony targets in the corresponding Rules.mk files. | # out of date or not. see the phony targets in the corresponding Rules.mk files. |
GLOBALHSMODLIST := jv2ts jretile jtsfiddle jtsslice jpkbgn jrebinsmooth undistortmdi mkylms | GLOBALHSMODLIST := jv2ts jretile jtsfiddle jtsslice jpkbgn jrebinsmooth undistortmdi mkylms |
| |
|
define GHSWARNING1 |
|
|
|
WARNING: proj/globalhs is not tagged consistently. A build of any target |
|
in proj/globalhs will fail. The output of script |
|
proj/globalhs/scripts/checkglobalhstags is "$(GLOBALHS_TAG)". |
|
|
|
To skip tag checking (FOR DEVELOPMENT ONLY!), specify GLOBALHSTAGOVERRIDE |
|
in either your environment or on the make command line. The value of |
|
GLOBALHSTAGOVERRIDE must contain the string "globalhs". This value will |
|
be compiled into the modules and written to ancillary dataseries as CVSTAG. |
|
|
|
To automatically create a consistent tag (FOR PRODUCTION ONLY!), one may run |
|
proj/globalhs/scripts/setglobalhstags. This script will add a tag in cvs |
|
for every file comprising the globalhs source code, so use it with care. |
|
|
|
endef |
|
|
|
define GHSWARNING2 |
|
|
|
WARNING: GLOBALHSTAGOVERRIDE should contain the string "globalhs". |
|
The value given was "$(GLOBALHSTAGOVERRIDE)". |
|
A build of any target in proj/globalhs will fail. |
|
Note that the value of GLOBALHSTAGOVERRIDE will be compiled into |
|
the modules and written to ancillary dataseries as CVSTAG. |
|
|
|
endef |
|
|
ifeq ($(GLOBALHSTAGOVERRIDE),) | ifeq ($(GLOBALHSTAGOVERRIDE),) |
ifeq ($(MAKECMDGOALS),) | ifeq ($(MAKECMDGOALS),) |
GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR)) | GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR)) |
TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) | TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) |
ifeq ($(TAGCHECK),) | ifeq ($(TAGCHECK),) |
$(warning WARNING: proj/globalhs is not tagged consistently. a build of any target in proj/globalhs will fail. output of script checkglobalhstags is "$(GLOBALHS_TAG)") |
$(warning $(GHSWARNING1)) |
endif | endif |
else | else |
GHSMODLIST_SOCK := $(GLOBALHSMODLIST:%=%_sock) | GHSMODLIST_SOCK := $(GLOBALHSMODLIST:%=%_sock) |
Line 29 ifeq ($(GLOBALHSTAGOVERRIDE),) |
|
Line 56 ifeq ($(GLOBALHSTAGOVERRIDE),) |
|
GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR)) | GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR)) |
TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) | TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) |
ifeq ($(TAGCHECK),) | ifeq ($(TAGCHECK),) |
$(warning WARNING: proj/globalhs is not tagged consistently. a build of any target in proj/globalhs will fail. output of script checkglobalhstags is "$(GLOBALHS_TAG)") |
$(warning $(GHSWARNING1)) |
endif | endif |
endif | endif |
endif | endif |
|
|
GLOBALHS_TAG := $(GLOBALHSTAGOVERRIDE) | GLOBALHS_TAG := $(GLOBALHSTAGOVERRIDE) |
TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) | TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) |
ifeq ($(TAGCHECK),) | ifeq ($(TAGCHECK),) |
$(warning WARNING: specified tag override "$(GLOBALHSTAGOVERRIDE)" should contain the string "globalhs". a build of any target in proj/globalhs will fail.) |
$(warning $(GHSWARNING2)) |
endif | endif |
endif | endif |
| |