From: simonmar Date: Thu, 16 Jun 2005 09:40:27 +0000 (+0000) Subject: [project @ 2005-06-16 09:40:27 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~425 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=e8d07af14d22cc4be86960fe5cbdc7630a495836;p=ghc-hetmet.git [project @ 2005-06-16 09:40:27 by simonmar] Use -optdep--exclude-module to fix building HEAD with itself. --- diff --git a/ghc/lib/compat/Makefile b/ghc/lib/compat/Makefile index b34c900..5083e49 100644 --- a/ghc/lib/compat/Makefile +++ b/ghc/lib/compat/Makefile @@ -52,6 +52,18 @@ EXCLUDED_SRCS += \ Distribution/ParseUtils.hs \ Distribution/Compiler.hs \ Distribution/Version.hs + +SRC_MKDEPENDHS_OPTS += \ + -optdep--exclude-module=System.Directory.Internals \ + -optdep--exclude-module=Distribution.Compat.ReadP \ + -optdep--exclude-module=Distribution.Extension \ + -optdep--exclude-module=Distribution.GetOpt \ + -optdep--exclude-module=Distribution.InstalledPackageInfo \ + -optdep--exclude-module=Distribution.License \ + -optdep--exclude-module=Distribution.Package \ + -optdep--exclude-module=Distribution.ParseUtils \ + -optdep--exclude-module=Distribution.Compiler \ + -optdep--exclude-module=Distribution.Version endif # Some explicit dependencies