[project @ 2000-01-07 17:23:52 by simonmar]
[ghc-hetmet.git] / ghc / tests / mk / boilerplate.mk
1 #################################################################################
2 #
3 #                           ghc/tests/mk/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 # with standard TOP-mangling
11 # Remember, TOP is the top level of the innermost level
12 # ( FPTOOLS_TOP, which will be set while processing
13 #   toplevel boilerplate, is the fptools top )
14
15 TEST_TOP := $(TOP)
16 TOP := $(TOP)/..
17
18 include $(TOP)/mk/boilerplate.mk
19 TOP:=$(TEST_TOP)
20
21 # By default, we're testing the GHC in the build tree.
22 HC=$(GHC_INPLACE)
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/version.mk
32 -include $(TOP)/mk/suffix.mk