summaryrefslogtreecommitdiff
path: root/utils/mkdependC/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-04-26 11:42:15 +0000
committerIan Lynagh <igloo@earth.li>2009-04-26 11:42:15 +0000
commit34cc75e1a62638f2833815746ebce0a9114dc26b (patch)
treeef21e8fd7af1356beea9cce7d6efb8a65374e24c /utils/mkdependC/Makefile
parent74e1368d4688ee16f6decdf2cd3ebe27506b26ba (diff)
downloadhaskell-34cc75e1a62638f2833815746ebce0a9114dc26b.tar.gz
GHC new build system megapatch
Diffstat (limited to 'utils/mkdependC/Makefile')
-rw-r--r--utils/mkdependC/Makefile27
1 files changed, 3 insertions, 24 deletions
diff --git a/utils/mkdependC/Makefile b/utils/mkdependC/Makefile
index 432c8981e4..0a67928259 100644
--- a/utils/mkdependC/Makefile
+++ b/utils/mkdependC/Makefile
@@ -1,24 +1,3 @@
-#
-# Boilerplate Makefile for building perl script that
-# needs some configured constants prepended to it.
-#
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-boot :: all
-
-PROG=mkdependC
-CLEAN_FILES += $(PROG)
-all::
- $(RM) -f $(PROG)
- echo '#!$(PERL)' >> $(PROG)
- echo '$$DEFAULT_TMPDIR = "$(DEFAULT_TMPDIR)";' >> $(PROG)
- echo '$$CPP = "$(CPP)";' >> $(PROG)
- echo '$$BUILDPLATFORM = "$(BUILDPLATFORM)";' >> $(PROG)
- cat $(PROG).prl >> $(PROG)
- $(EXECUTABLE_FILE) $(PROG)
-
-binary-dist:
- @:
-
-include $(TOP)/mk/target.mk
+dir = utils/mkdependC
+TOP = ../..
+include $(TOP)/mk/sub-makefile.mk