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

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

Karen Tian
Powered by
ViewCVS 0.9.4