summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorsimonmar <unknown>2005-08-01 15:20:01 +0000
committersimonmar <unknown>2005-08-01 15:20:01 +0000
commit91b32b2e0c50c9a5e45f8e7743a2e95781b51ad8 (patch)
tree10d4c8fdf4f3086f6bbf8a5ae249246920122859 /ghc
parentb3de318bd2350bc3558e9e2f1bd3fe8df5b7e0cf (diff)
downloadhaskell-91b32b2e0c50c9a5e45f8e7743a2e95781b51ad8.tar.gz
[project @ 2005-08-01 15:20:01 by simonmar]
Add explicit dependency for Distribution.Compat.FilePath
Diffstat (limited to 'ghc')
-rw-r--r--ghc/lib/compat/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/ghc/lib/compat/Makefile b/ghc/lib/compat/Makefile
index 943b56ce6d..95277c4809 100644
--- a/ghc/lib/compat/Makefile
+++ b/ghc/lib/compat/Makefile
@@ -69,8 +69,10 @@ SRC_MKDEPENDHS_OPTS += \
-optdep--exclude-module=Language.Haskell.Extension
endif
-# Some explicit dependencies
+# Some explicit dependencies, needed because ghc -M can't discover the
+# true dependencies of these stub files.
System/Directory/Internals.$(way_)o : $(FPTOOLS_TOP)/libraries/base/System/Directory/Internals.hs
+Distribution/Compat/FilePath.$(way_) : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/Compat/FilePath.hs
Distribution/Compat/ReadP.$(way_) : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/Compat/ReadP.hs
Distribution/GetOpt.$(way_)o : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/GetOpt.hs
Distribution/InstalledPackageInfo.$(way_)o : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/InstalledPackageInfo.hs