summaryrefslogtreecommitdiff
path: root/rules/hs-suffix-rules-srcdir.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-17 14:56:34 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-17 14:56:34 +0000
commitb8bf9a3b4096971803a1bd4c8c98a7d4d393d886 (patch)
tree3eacd8afdad9516a1df4337a0e29a2add5d327d2 /rules/hs-suffix-rules-srcdir.mk
parentffe795d92b1e0c385474100ecfb649fd40ae6b4d (diff)
downloadhaskell-b8bf9a3b4096971803a1bd4c8c98a7d4d393d886.tar.gz
Finish removing BootingFromHc
Diffstat (limited to 'rules/hs-suffix-rules-srcdir.mk')
-rw-r--r--rules/hs-suffix-rules-srcdir.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/rules/hs-suffix-rules-srcdir.mk b/rules/hs-suffix-rules-srcdir.mk
index 776d1ce0f6..2a0480f0c3 100644
--- a/rules/hs-suffix-rules-srcdir.mk
+++ b/rules/hs-suffix-rules-srcdir.mk
@@ -18,8 +18,6 @@ define hs-suffix-rules-srcdir
ifneq "$$(BINDIST)" "YES"
-ifneq "$$(BootingFromHc)" "YES"
-
$1/$2/build/%.hs : $1/$4/%.ly | $$$$(dir $$$$@)/.
$$(call cmd,HAPPY) $$($1_$2_$3_ALL_HAPPY_OPTS) $$< -o $$@
@@ -54,8 +52,6 @@ $1/$2/build/%.$$($3_hcsuf) : $1/$4/%.lhs $$(LAX_DEPS_FOLLOW) $$($1_$2_HC_DEP) $$
$(call hi-rule,$1/$4,$1/$2/build,$3)
-endif
-
# XXX: for some reason these get used in preference to the direct
# .hs->.o rule, I don't know why --SDM
@@ -88,12 +84,10 @@ $1/$2/build/%.$$($3_way_)o-boot : $1/$4/%.hs-boot $$(LAX_DEPS_FOLLOW) $$($1_$2_H
$1/$2/build/%.$$($3_way_)o-boot : $1/$4/%.lhs-boot $$(LAX_DEPS_FOLLOW) $$($1_$2_HC_DEP) $$($1_$2_PKGDATA_DEP)
$$(call cmd,$1_$2_HC) $$($1_$2_$3_ALL_HC_OPTS) -c $$< -o $$@
-ifneq "$$(BootingFromHc)" "YES"
# stubs are automatically generated and compiled by GHC
$1/$2/build/%_stub.$$($3_osuf): $1/$2/build/%.$$($3_osuf)
@:
-endif
endif