Add a header to all build system files:
[ghc-hetmet.git] / utils / mkdependC / Makefile
index 9b07685..91a213c 100644 (file)
@@ -1,21 +1,15 @@
+# -----------------------------------------------------------------------------
 #
-# Boilerplate Makefile for building perl script that
-# needs some configured constants prepended to it.
+# (c) 2009 The University of Glasgow
 #
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-boot :: all
-
-SCRIPT_PROG=mkdependC
-SCRIPT_OBJS=mkdependC.prl
+# This file is part of the GHC build system.
 #
-# Prepend (perl) bindings for these Makefile variables
-# when creating `mkdependC' (a more flexible way of doing msub).
+# To understand how the build system works and how to modify it, see
+#      http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
+#      http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
 #
-SCRIPT_SUBST_VARS=DEFAULT_TMPDIR CPP BUILDPLATFORM
-
-CLEAN_FILES += $(SCRIPT_PROG)
-INTERP=perl
+# -----------------------------------------------------------------------------
 
-include $(TOP)/mk/target.mk
+dir = utils/mkdependC
+TOP = ../..
+include $(TOP)/mk/sub-makefile.mk