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

 1 arta  1.5 # $Header: /home/cvsuser/cvsroot/JSOC/proj/globalhs/Rules.mk,v 1.4 2013/04/29 22:30:57 arta Exp $
 2 tplarson 1.2 
 3 tplarson 1.1 sp 		:= $(sp).x
 4              dirstack_$(sp)	:= $(d)
 5              d		:= $(dir)
 6              
 7 arta     1.4 doit		:=
 8              ifeq ($(findstring globalhs,$(MAKECMDGOALS)),globalhs)
 9                doit	:= yup
10 arta     1.5 else ifeq ($(findstring all,$(MAKECMDGOALS)),)
11                doit	:= yup
12 arta     1.4 else ifeq ($(findstring jretile,$(MAKECMDGOALS)),jretile)
13                doit  := yup
14              else ifeq ($(findstring jrebinsmooth,$(MAKECMDGOALS)),jrebinsmooth)
15                doit  := yup
16              else ifeq ($(findstring undistortmdi,$(MAKECMDGOALS)),undistortmdi)
17                doit  := yup
18              else ifeq ($(findstring jtsslice,$(MAKECMDGOALS)),jtsslice)
19                doit  := yup
20              else ifeq ($(findstring mkylms,$(MAKECMDGOALS)),mkylms)
21                doit  := yup
22              else ifeq ($(findstring jv2ts,$(MAKECMDGOALS)),jv2ts)
23                doit  := yup
24              else ifeq ($(findstring jtsfiddle,$(MAKECMDGOALS)),jtsfiddle)
25                doit  := yup
26              else ifeq ($(findstring jpkbgn,$(MAKECMDGOALS)),jpkbgn)
27                doit  := yup
28              else ifeq ($(findstring jv2ts_sock,$(MAKECMDGOALS)),jv2ts_sock)
29                doit  := yup
30              else ifeq ($(findstring jretile_sock,$(MAKECMDGOALS)),jretile_sock)
31                doit  := yup
32              else ifeq ($(findstring jtsfiddle_sock,$(MAKECMDGOALS)),jtsfiddle_sock)
33 arta     1.4   doit  := yup
34              else ifeq ($(findstring jtsslice_sock,$(MAKECMDGOALS)),jtsslice_sock)
35                doit  := yup
36              else ifeq ($(findstring jpkbgn_sock,$(MAKECMDGOALS)),jpkbgn_sock)
37                doit  := yup
38              else ifeq ($(findstring jrebinsmooth_sock,$(MAKECMDGOALS)),jrebinsmooth_sock)
39                doit  := yup
40              else ifeq ($(findstring undistortmdi_sock,$(MAKECMDGOALS)),undistortmdi_sock)
41                doit  := yup
42              else ifeq ($(findstring mkylms_sock,$(MAKECMDGOALS)),mkylms_sock)
43                doit  := yup
44              endif
45              
46              ifeq ($(doit),yup)
47                GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR) $(GLOBALHSTAGOVERRIDE))
48                TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG))
49                ifeq ($(TAGCHECK),)
50                  $(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)")
51                endif
52 tplarson 1.2 endif
53              
54 tplarson 1.1 # Subdirectories. Directory-specific rules are optional here. The
55 tplarson 1.2 # order does NOT matter.
56              dir	:= $(d)/libs
57              -include		$(SRCDIR)/$(dir)/Rules.mk
58 tplarson 1.1 dir	:= $(d)/apps
59              -include		$(SRCDIR)/$(dir)/Rules.mk
60              
61              # Standard things
62              d		:= $(dirstack_$(sp))
63              sp		:= $(basename $(sp))

Karen Tian
Powered by
ViewCVS 0.9.4