[commit: nofib] master: Make the nofib build system independent of the GHC build system (6e02493)
Ian Lynagh
igloo at earth.li
Tue May 28 22:44:16 CEST 2013
Repository : ssh://darcs.haskell.org//srv/darcs/nofib
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/6e024937844ec22cff725758b48301a7cde27a52
>---------------------------------------------------------------
commit 6e024937844ec22cff725758b48301a7cde27a52
Author: Ian Lynagh <ian at well-typed.com>
Date: Tue May 28 20:36:03 2013 +0100
Make the nofib build system independent of the GHC build system
>---------------------------------------------------------------
mk/boilerplate.mk | 16 +++++-----------
mk/target.mk | 4 ++--
2 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/mk/boilerplate.mk b/mk/boilerplate.mk
index 86696f8..b838b94 100644
--- a/mk/boilerplate.mk
+++ b/mk/boilerplate.mk
@@ -15,12 +15,6 @@ default : all
show:
@echo '$(VALUE)="$($(VALUE))"'
-NOFIB_TOP := $(TOP)
-include $(NOFIB_TOP)/../mk/tree.mk
-include $(NOFIB_TOP)/../mk/config.mk
-include $(NOFIB_TOP)/../mk/custom-settings.mk
-TOP := $(NOFIB_TOP)
-
RM = rm -f
SIZE = size
STRIP = strip
@@ -120,11 +114,11 @@ endef
$(eval $(call ghc-ge,6,13))
-RUNTEST = $(NOFIB_TOP)/runstdtest/runstdtest
+RUNTEST = $(TOP)/runstdtest/runstdtest
-include $(NOFIB_TOP)/mk/ghc-paths.mk
-include $(NOFIB_TOP)/mk/ghc-opts.mk
-include $(NOFIB_TOP)/mk/paths.mk
-include $(NOFIB_TOP)/mk/opts.mk
+include $(TOP)/mk/ghc-paths.mk
+include $(TOP)/mk/ghc-opts.mk
+include $(TOP)/mk/paths.mk
+include $(TOP)/mk/opts.mk
-include .depend
diff --git a/mk/target.mk b/mk/target.mk
index 50455e7..a8c92a2 100644
--- a/mk/target.mk
+++ b/mk/target.mk
@@ -115,7 +115,7 @@ endif # GHCI
# We do this at the end for cosmetic reasons: it means that the "normal-way"
# runtests will precede the "other-way" recursive invocations of make
-include $(NOFIB_TOP)/mk/ghc-target.mk
+include $(TOP)/mk/ghc-target.mk
# Override suffix rules
-include $(NOFIB_TOP)/mk/suffix.mk
+include $(TOP)/mk/suffix.mk
More information about the ghc-commits
mailing list