[commit: ghc] master: Remove the kludgy TH dependencies (b8da5dd)

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/b8da5dd3c55d766f0229abb46a1e5c7819d2cd73

>---------------------------------------------------------------

commit b8da5dd3c55d766f0229abb46a1e5c7819d2cd73
Author: Ian Lynagh <[email protected]>
Date:   Wed Oct 24 15:57:01 2012 +0100

    Remove the kludgy TH dependencies
    
    There are better dependencies for this in the DPH package, where all
    the TH is.

>---------------------------------------------------------------

 rules/build-dependencies.mk |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk
index 903dc9c..edde237 100644
--- a/rules/build-dependencies.mk
+++ b/rules/build-dependencies.mk
@@ -38,15 +38,6 @@ ifneq "$$($1_$2_HS_SRCS)" ""
 	    $$(filter-out -split-objs, $$($1_$2_$$(firstword $$($1_$2_WAYS))_ALL_HC_OPTS)) \
 	    $$($1_$2_HS_SRCS)
 endif
-# We use the GHCI_WAY object files when doing TH for all ways. We
-# therefore need the GHCI_WAY object files available when compiling
-# the other ways, in case we're compiling something that uses TH.
-ifneq "$$(filter $$(GHCI_WAY),$$($1_$2_WAYS))" ""
-	$$(foreach w,$$(filter-out $$(GHCI_WAY),$$($1_$2_WAYS)),\
-	    $$(foreach o,$$($1_$2_$$w_HS_OBJS),\
-	        $$(call make-command,\
-	            echo "$$o: $$(basename $$o).$$($$(GHCI_WAY)_osuf)" >> [email protected])))
-endif
 	echo "$1_$2_depfile_haskell_EXISTS = YES" >> [email protected]
 ifneq "$$($1_$2_SLASH_MODS)" ""
 	for dir in $$(sort $$(foreach mod,$$($1_$2_SLASH_MODS),$1/$2/build/$$(dir $$(mod)))); do \
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.