X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Futils%2Fghc-pkg%2FMakefile;h=ac372b79ff8d476a75d70bb6080b015d6210132a;hb=547c57b7394489a627f1433fda160b180b5214b4;hp=d4b3d1430fc83b8dc42586a2a657f2e21aa8cba4;hpb=ab3a88f2dc64677df8fb92dacef47570ac3c5023;p=ghc-hetmet.git diff --git a/ghc/utils/ghc-pkg/Makefile b/ghc/utils/ghc-pkg/Makefile index d4b3d14..ac372b7 100644 --- a/ghc/utils/ghc-pkg/Makefile +++ b/ghc/utils/ghc-pkg/Makefile @@ -11,7 +11,7 @@ INSTALLING=1 ghc_ge_504 = $(shell if (test $(GhcCanonVersion) -ge 504); then echo YES; else echo NO; fi) -SRC_HC_OPTS += -cpp -Wall -fno-warn-name-shadowing -fno-warn-unused-matches +SRC_HC_OPTS += -cpp -Wall -fno-warn-name-shadowing -fno-warn-unused-matches SRC_HC_OPTS += -i$(GHC_LIB_COMPAT_DIR) SRC_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) -lghccompat @@ -37,6 +37,17 @@ HS_PROG = ghc-pkg.bin INSTALL_LIBEXECS += $(HS_PROG) endif +# This is horrible. We ought to be able to omit the entire directory +# from mkDependHS. +SRC_MKDEPENDHS_OPTS += \ + -optdep--exclude-module=Compat.Directory \ + -optdep--exclude-module=Distribution.Compat.ReadP \ + -optdep--exclude-module=Distribution.Package \ + -optdep--exclude-module=Distribution.InstalledPackageInfo \ + -optdep--exclude-module=Distribution.Package \ + -optdep--exclude-module=Distribution.License \ + -optdep--exclude-module=Distribution.Version + # -----------------------------------------------------------------------------= # Create the Version.hs file