summaryrefslogtreecommitdiff
path: root/rules/build-dependencies.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-24 15:57:01 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-24 15:57:01 +0100
commitb8da5dd3c55d766f0229abb46a1e5c7819d2cd73 (patch)
treef9dc0b8e62951631d10194158a01a9d8b8854d2d /rules/build-dependencies.mk
parent935bf7c05516ea941b3b6158440e9fd626d0d892 (diff)
downloadhaskell-b8da5dd3c55d766f0229abb46a1e5c7819d2cd73.tar.gz
Remove the kludgy TH dependencies
There are better dependencies for this in the DPH package, where all the TH is.
Diffstat (limited to 'rules/build-dependencies.mk')
-rw-r--r--rules/build-dependencies.mk9
1 files changed, 0 insertions, 9 deletions
diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk
index 903dc9c2c8..edde237784 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)" >> $$@.tmp)))
-endif
echo "$1_$2_depfile_haskell_EXISTS = YES" >> $$@.tmp
ifneq "$$($1_$2_SLASH_MODS)" ""
for dir in $$(sort $$(foreach mod,$$($1_$2_SLASH_MODS),$1/$2/build/$$(dir $$(mod)))); do \