(file) Return to Rules.mk CVS log (file) (dir) Up to [Development] / JSOC / proj / globalhs

Diff for /JSOC/proj/globalhs/Rules.mk between version 1.6 and 1.7

version 1.6, 2013/04/30 06:49:36 version 1.7, 2013/05/03 21:37:19
Line 4  sp := $(sp).x
Line 4  sp := $(sp).x
 dirstack_$(sp)  := $(d) dirstack_$(sp)  := $(d)
 d               := $(dir) d               := $(dir)
  
   # any modules specified in proj/globalhs/apps must appear in this list.
   # one might think to add the libraries in proj/globalhs/libs as well,
   # but it's actually unnecessary because they are forced to be recompiled
   # every time the modules that use them are recompiled, whether they are
   # out of date or not.  see the phony targets in the corresponding Rules.mk files.
   GLOBALHSMODLIST := jv2ts jretile jtsfiddle jtsslice jpkbgn jrebinsmooth undistortmdi mkylms
   
 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))
Line 12  ifeq ($(GLOBALHSTAGOVERRIDE),)
Line 19  ifeq ($(GLOBALHSTAGOVERRIDE),)
       $(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 WARNING: proj/globalhs is not tagged consistently. a build of any target in proj/globalhs will fail. output of script checkglobalhstags is "$(GLOBALHS_TAG)")
     endif     endif
   else   else
     GLOBALHSMODLIST := jv2ts jretile jtsfiddle jtsslice jpkbgn jrebinsmooth undistortmdi mkylms  
     GHSMODLIST_SOCK := $(GLOBALHSMODLIST:%=%_sock)     GHSMODLIST_SOCK := $(GLOBALHSMODLIST:%=%_sock)
     GHSTARGETLIST   := all universe targets globalhs $(GLOBALHSMODLIST) $(GHSMODLIST_SOCK)     GHSTARGETLIST   := all universe targets globalhs $(GLOBALHSMODLIST) $(GHSMODLIST_SOCK)
     GHSTARGETTEST   := $(filter $(MAKECMDGOALS),$(GHSTARGETLIST))  # 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.
   # 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))
     ifneq ($(GHSTARGETTEST),)     ifneq ($(GHSTARGETTEST),)
       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))


Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

Karen Tian
Powered by
ViewCVS 0.9.4