version 1.10, 2014/05/22 15:44:57
|
version 1.11, 2014/06/11 06:18:03
|
|
|
# UPDATE: i'm adding the libraries after all, just in case someone wants to | # UPDATE: i'm adding the libraries after all, just in case someone wants to |
# specify them as a target on the commandline. for the globalhs modules, | # specify them as a target on the commandline. for the globalhs modules, |
# this is never needed. | # this is never needed. |
GLOBALHSMODLIST := jv2ts jretile jtsfiddle jtsslice jpkbgn jrebinsmooth undistortmdi mkylms inv2d.x \ |
GLOBALHSMODLIST := jv2ts jretile jtsfiddle jtsslice jpkbgn jrebinsmooth undistortmdi mkylms inv2d.x |
libdtgf.a libinv2d.a libpkbgn.a libprojection.a |
GLOBALHSLIBLIST := libdtgf.a libinv2d.a libpkbgn.a libpkbgn360d.a libprojection.a |
| |
define GHSWARNING1 | define GHSWARNING1 |
| |
Line 42 the modules and written to ancillary dat |
|
Line 42 the modules and written to ancillary dat |
|
| |
endef | endef |
| |
|
define GHSWARNING3 |
|
|
|
WARNING: the script proj/globalhs/scripts/checkglobalhstags gave no output (something |
|
crashed). You can force the build to succeed by specifying GLOBALHSTAGOVERRIDE. The |
|
value of GLOBALHSTAGOVERRIDE must contain the string "globalhs". This value will |
|
be compiled into the modules and written to ancillary dataseries as CVSTAG. This |
|
option is FOR DEVELOPMENT ONLY! |
|
|
|
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)) |
|
ifeq ($(GLOBALHS_TAG),) |
|
$(warning $(GHSWARNING3)) |
|
endif |
TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) | TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) |
ifeq ($(TAGCHECK),) | ifeq ($(TAGCHECK),) |
$(warning $(GHSWARNING1)) | $(warning $(GHSWARNING1)) |
endif | endif |
else | else |
GHSMODLIST_SOCK := $(GLOBALHSMODLIST:%=%_sock) | GHSMODLIST_SOCK := $(GLOBALHSMODLIST:%=%_sock) |
GHSTARGETLIST := all universe targets globalhs $(GLOBALHSMODLIST) $(GHSMODLIST_SOCK) |
GHSTARGETLIST := all universe targets globalhs $(GLOBALHSMODLIST) $(GHSMODLIST_SOCK) $(GHSLIBLIST) |
# if we added '%' before all the words in GLOBALHSMODLIST, the following would work even if someone specified the full path to the modules. | # if we added '%' before all the words in GLOBALHSMODLIST, the following would work even if someone specified the full path to the modules. |
# if we added '%' after, it would also work if someone wanted to compile the .o files. | # if we added '%' after, it would also work if someone wanted to compile the .o files. |
# i'm not doing so at this time because inserting literal %'s is too much hassle for functionality we don't even use. | # i'm not doing so at this time because inserting literal %'s is too much hassle for functionality we don't even use. |
GHSTARGETTEST := $(filter $(GHSTARGETLIST),$(MAKECMDGOALS)) | GHSTARGETTEST := $(filter $(GHSTARGETLIST),$(MAKECMDGOALS)) |
ifneq ($(GHSTARGETTEST),) | ifneq ($(GHSTARGETTEST),) |
GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR)) | GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR)) |
|
ifeq ($(GLOBALHS_TAG),) |
|
$(warning $(GHSWARNING3)) |
|
endif |
TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) | TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) |
ifeq ($(TAGCHECK),) | ifeq ($(TAGCHECK),) |
$(warning $(GHSWARNING1)) | $(warning $(GHSWARNING1)) |