diff options
Diffstat (limited to 'mk/boilerplate.mk')
-rw-r--r-- | mk/boilerplate.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mk/boilerplate.mk b/mk/boilerplate.mk new file mode 100644 index 00000000..0f29d4ab --- /dev/null +++ b/mk/boilerplate.mk @@ -0,0 +1,28 @@ +#----------------------------------------------------------------------------- +# $Id: boilerplate.mk,v 1.1 2002/04/04 16:23:42 simonmar Exp $ + +# Begin by slurping in the boilerplate from one level up. +# Remember, TOP is the top level of the innermost level +# (FPTOOLS_TOP is the fptools top) + +-include $(TOP)/mk/version.mk + +# We need to set TOP to be the TOP that the next level up expects! +# The TOP variable is reset after the inclusion of the fptools +# boilerplate, so we stash TOP away first: +HADDOCK_TOP := $(TOP) +TOP:=$(TOP)/.. + +include $(TOP)/mk/boilerplate.mk + +# Reset TOP +TOP:=$(HADDOCK_TOP) + +# ----------------------------------------------------------------- +# Everything after this point +# augments or overrides previously set variables. +# ----------------------------------------------------------------- + +-include $(TOP)/mk/paths.mk +-include $(TOP)/mk/opts.mk +-include $(TOP)/mk/suffix.mk |