1 tplarson 1.3 # $Header: /home/cvsuser/cvsroot/JSOC/proj/globalhs/Rules.mk,v 1.2 2013/04/28 07:43:16 tplarson Exp $
|
2 tplarson 1.2
|
3 tplarson 1.1 sp := $(sp).x
4 dirstack_$(sp) := $(d)
5 d := $(dir)
6
|
7 tplarson 1.3 GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR) $(GLOBALHSTAGOVERRIDE))
|
8 tplarson 1.2 TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG))
9 ifeq ($(TAGCHECK),)
10 $(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)")
11 endif
12
|
13 tplarson 1.1 # Subdirectories. Directory-specific rules are optional here. The
|
14 tplarson 1.2 # order does NOT matter.
15 dir := $(d)/libs
16 -include $(SRCDIR)/$(dir)/Rules.mk
|
17 tplarson 1.1 dir := $(d)/apps
18 -include $(SRCDIR)/$(dir)/Rules.mk
19
20 # Standard things
21 d := $(dirstack_$(sp))
22 sp := $(basename $(sp))
|