X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Flib%2Fcompat%2FMakefile;fp=ghc%2Flib%2Fcompat%2FMakefile;h=95277c4809e2232d39f70e7efafac9460fee0fcc;hb=91b32b2e0c50c9a5e45f8e7743a2e95781b51ad8;hp=943b56ce6d50a392e93de1c4690dd6b80f586a6d;hpb=b3de318bd2350bc3558e9e2f1bd3fe8df5b7e0cf;p=ghc-hetmet.git 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