[project @ 1997-03-19 04:32:44 by sof]
[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 # We need to set TOP to be the TOP that the next level up expects!
14 # The TOP variable is reset after the inclusion of the fptools
15 # boilerplate, so we stash TOP away first:
16 GHC_TOP := $(TOP)
17 TOP:=$(TOP)/..
18
19 include $(TOP)/mk/boilerplate.mk
20
21 # Reset TOP
22 TOP:=$(GHC_TOP)
23
24 # -----------------------------------------------------------------
25 # Everything after this point
26 # augments or overrides previously set variables.
27 # -----------------------------------------------------------------
28
29 -include $(TOP)/mk/paths.mk
30 -include $(TOP)/mk/opts.mk
31 include $(TOP)/mk/suffix.mk
32