[project @ 2001-05-03 08:18:35 by simonpj]
[ghc-hetmet.git] / ghc / tests / mk / boilerplate.mk
index 8629c89..e0e590b 100644 (file)
 
 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