From 91b32b2e0c50c9a5e45f8e7743a2e95781b51ad8 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 1 Aug 2005 15:20:01 +0000 Subject: [PATCH] [project @ 2005-08-01 15:20:01 by simonmar] Add explicit dependency for Distribution.Compat.FilePath --- ghc/lib/compat/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghc/lib/compat/Makefile b/ghc/lib/compat/Makefile index 943b56c..95277c4 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 -- 1.7.10.4