3f15f8d2976795f9770e47ab56bf7b56fa82dd6e
[ghc-hetmet.git] / libraries / mk / boilerplate.mk
1 # Begin by slurping in the boilerplate from one level up.
2 # Remember, TOP is the top level of the innermost level
3 # (FPTOOLS_TOP is the fptools top)
4
5 # We need to set TOP to be the TOP that the next level up expects!
6 # The TOP variable is reset after the inclusion of the fptools
7 # boilerplate, so we stash TOP away first:
8 LIBRARIES_TOP := $(TOP)
9 TOP:=$(TOP)/..
10
11 # Pull in the fptools boilerplate
12 include $(TOP)/mk/boilerplate.mk
13
14 # Reset TOP
15 TOP:=$(LIBRARIES_TOP)
16
17 # -----------------------------------------------------------------
18 # Everything after this point
19 # augments or overrides previously set variables.
20
21 -include $(TOP)/mk/paths.mk
22 -include $(TOP)/mk/opts.mk
23 -include $(TOP)/mk/suffix.mk