TEST_TOP := $(TOP)
TOP := $(TOP)/..
+
include $(TOP)/mk/boilerplate.mk
TOP:=$(TEST_TOP)
+# By default, we're testing the GHC in the build tree.
+HC=$(GHC_INPLACE)
+
+# we don't want recompilation checking in here
+SRC_HC_OPTS += -no-recomp
# -----------------------------------------------------------------
# Everything after this point
# augments or overrides previously set variables.
-# (these files are optional, so `make' won't fret if it
-# cannot get to them).
# -----------------------------------------------------------------
-
-# Define TEST_PROG. In ..../nofib/imaginary/exp3_8, PROG is exp3_8 by default.
-#
-TEST_PROG = $(notdir $(shell pwd))$(_way)
-
-# Eventually, have the binary purged
-CLEAN_FILES += $(TEST_PROG)
-
+-include $(TOP)/mk/paths.mk
+-include $(TOP)/mk/opts.mk
+-include $(TOP)/mk/version.mk
+-include $(TOP)/mk/suffix.mk