summaryrefslogtreecommitdiff
path: root/rules/include-dependencies.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/include-dependencies.mk')
-rw-r--r--rules/include-dependencies.mk45
1 files changed, 0 insertions, 45 deletions
diff --git a/rules/include-dependencies.mk b/rules/include-dependencies.mk
deleted file mode 100644
index 7d4c38b73b..0000000000
--- a/rules/include-dependencies.mk
+++ /dev/null
@@ -1,45 +0,0 @@
-# -----------------------------------------------------------------------------
-#
-# (c) 2009 The University of Glasgow
-#
-# This file is part of the GHC build system.
-#
-# To understand how the build system works and how to modify it, see
-# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
-# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
-#
-# -----------------------------------------------------------------------------
-
-define include-dependencies
-$(call trace, include-dependencies($1,$2,$3))
-$(call profStart, include-dependencies($1,$2,$3))
-# $1 = dir
-# $2 = distdir
-# $3 = GHC stage to use (0 == bootstrapping compiler)
-
-$1_$2_INCLUDE_DEPFILES = YES
-ifeq "$$(NO_INCLUDE_DEPS)" "YES"
-$1_$2_INCLUDE_DEPFILES = NO
-endif
-ifneq "$$(ONLY_DEPS_FOR)" ""
-ifeq "$$(filter $1_$2,$$(ONLY_DEPS_FOR))" ""
-$1_$2_INCLUDE_DEPFILES = NO
-endif
-endif
-
-ifeq "$$($1_$2_INCLUDE_DEPFILES)" "YES"
-ifneq "$$(strip $$($1_$2_HS_SRCS) $$($1_$2_HS_BOOT_SRCS))" ""
-ifneq "$$(NO_STAGE$3_DEPS)" "YES"
-include $$($1_$2_depfile_haskell)
-endif
-endif
-include $$($1_$2_depfile_c_asm)
-else
-ifeq "$$(DEBUG)" "YES"
-$$(warning not building dependencies in $1)
-endif
-endif
-
-$(call profEnd, include-dependencies($1,$2,$3))
-endef
-