[project @ 1997-03-14 07:52:06 by simonpj]
[ghc-hetmet.git] / glafp-utils / mk / boilerplate.mk
diff --git a/glafp-utils/mk/boilerplate.mk b/glafp-utils/mk/boilerplate.mk
new file mode 100644 (file)
index 0000000..f2129e5
--- /dev/null
@@ -0,0 +1,31 @@
+#################################################################################
+#
+#                          GHC boilerplate.mk
+#
+#              Boilerplate Makefile for an fptools project
+#
+#################################################################################
+
+# Begin by slurping in the boilerplate from one level up.
+# Remember, TOP is the top level of the innermost level
+# (FPTOOLS_TOP is the fptools top)
+
+# We need to set TOP to be the TOP that the next level up expects!
+GLAFP_UTILS_TOP := $(TOP)
+TOP:=$(GLAFP_UTILS_TOP)/..
+
+include $(TOP)/mk/boilerplate.mk
+
+# -----------------------------------------------------------------
+# Everything after this point
+# augments or overrides previously set variables.
+# (these files are optional, so `make' won't fret if
+#  cannot get to them).
+# -----------------------------------------------------------------
+
+#Not currently used: -include $(GLAFP_UTILS_TOP)/mk/paths.mk
+-include $(GLAFP_UTILS_TOP)/mk/opts.mk
+#Not currently used: -include $(GLAFP_UTILS_TOP)/mk/suffix.mk
+
+# No ways, please
+WAYS=