projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a simple trace facility to the build system
[ghc-hetmet.git]
/
ghc.mk
diff --git
a/ghc.mk
b/ghc.mk
index
199e07a
..
4184e19
100644
(file)
--- a/
ghc.mk
+++ b/
ghc.mk
@@
-153,6
+153,7
@@
endif
# -----------------------------------------------------------------------------
# Utility definitions
# -----------------------------------------------------------------------------
# Utility definitions
+include rules/trace.mk
include rules/make-command.mk
# -----------------------------------------------------------------------------
include rules/make-command.mk
# -----------------------------------------------------------------------------
@@
-739,7
+740,9
@@
$(foreach pkg,$(BOOT_PKGS),$(eval libraries/$(pkg)_dist-boot_HC_OPTS += $$(GhcBo
GHCI_LIBS = $(foreach lib,$(PACKAGES),$(libraries/$(lib)_dist-install_GHCI_LIB)) \
$(compiler_stage2_GHCI_LIB)
GHCI_LIBS = $(foreach lib,$(PACKAGES),$(libraries/$(lib)_dist-install_GHCI_LIB)) \
$(compiler_stage2_GHCI_LIB)
+ifeq "$(UseArchivesForGhci)" "NO"
ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(GHCI_LIBS)
ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(GHCI_LIBS)
+endif
endif
endif