[project @ 2001-09-10 12:53:21 by simonmar]
[ghc-hetmet.git] / ghc / mk / boilerplate.mk
1 #################################################################################
2 #
3 #                           GHC boilerplate.mk
4 #
5 #               Boilerplate Makefile for an fptools project
6 #
7 #################################################################################
8
9 # Begin by slurping in the boilerplate from one level up.
10 # Remember, TOP is the top level of the innermost level
11 # (FPTOOLS_TOP is the fptools top)
12
13 -include $(TOP)/mk/version.mk
14
15 # We need to set TOP to be the TOP that the next level up expects!
16 # The TOP variable is reset after the inclusion of the fptools
17 # boilerplate, so we stash TOP away first:
18 GHC_TOP := $(TOP)
19 TOP:=$(TOP)/..
20
21 include $(TOP)/mk/boilerplate.mk
22
23 # Reset TOP
24 TOP:=$(GHC_TOP)
25
26 # -----------------------------------------------------------------
27 # Everything after this point
28 # augments or overrides previously set variables.
29 # -----------------------------------------------------------------
30
31 -include $(TOP)/mk/paths.mk
32 -include $(TOP)/mk/opts.mk
33 -include $(TOP)/mk/suffix.mk