[project @ 2005-08-01 15:20:01 by simonmar]
[ghc-hetmet.git] / ghc / lib / compat / Makefile
index 943b56c..95277c4 100644 (file)
@@ -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