7 tplarson 1.6 ifeq ($(GLOBALHSTAGOVERRIDE),)
8 ifeq ($(MAKECMDGOALS),)
9 GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR))
10 TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG))
11 ifeq ($(TAGCHECK),)
12 $(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)")
13 endif
14 else
15 GLOBALHSMODLIST := jv2ts jretile jtsfiddle jtsslice jpkbgn jrebinsmooth undistortmdi mkylms
16 GHSMODLIST_SOCK := $(GLOBALHSMODLIST:%=%_sock)
17 GHSTARGETLIST := all universe targets globalhs $(GLOBALHSMODLIST) $(GHSMODLIST_SOCK)
18 GHSTARGETTEST := $(filter $(MAKECMDGOALS),$(GHSTARGETLIST))
19 ifneq ($(GHSTARGETTEST),)
20 GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR))
21 TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG))
22 ifeq ($(TAGCHECK),)
23 $(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)")
24 endif
25 endif
26 endif
27 else
28 tplarson 1.6 GLOBALHS_TAG := $(GLOBALHSTAGOVERRIDE)
|