From 3d5dd8dec20890b6141f108586d5f388334ffba1 Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 6 Jan 2005 15:10:24 +0000 Subject: [PATCH] [project @ 2005-01-06 15:10:21 by simonmar] Add Distribution.Compat to libghccompat --- ghc/compiler/Makefile | 1 + ghc/lib/compat/Distribution/GetOpt.hs | 3 +++ ghc/lib/compat/Makefile | 2 ++ ghc/utils/ghc-pkg/Makefile | 1 + 4 files changed, 7 insertions(+) create mode 100644 ghc/lib/compat/Distribution/GetOpt.hs diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 407ad66..26ed9fb 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -526,6 +526,7 @@ SRC_MKDEPENDHS_OPTS += \ -optdep--exclude-module=Distribution.Compat.Error \ -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 \ diff --git a/ghc/lib/compat/Distribution/GetOpt.hs b/ghc/lib/compat/Distribution/GetOpt.hs new file mode 100644 index 0000000..7da2e30 --- /dev/null +++ b/ghc/lib/compat/Distribution/GetOpt.hs @@ -0,0 +1,3 @@ +{-# OPTIONS -cpp #-} +#include "Cabal/Distribution/GetOpt.hs" +-- dummy comment diff --git a/ghc/lib/compat/Makefile b/ghc/lib/compat/Makefile index b23738c..db90361 100644 --- a/ghc/lib/compat/Makefile +++ b/ghc/lib/compat/Makefile @@ -25,6 +25,7 @@ EXCLUDED_SRCS += \ Distribution/Compat/Error.hs \ Distribution/Compat/ReadP.hs \ Distribution/Extension.hs \ + Distribution/GetOpt.hs \ Distribution/InstalledPackageInfo.hs \ Distribution/License.hs \ Distribution/Package.hs \ @@ -38,6 +39,7 @@ System/FilePath.$(way_)o : $(FPTOOLS_TOP)/libraries/base/System/FilePath.hs Distribution/Compat/Error.$(way_)o : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/Compat/Error.hs Distribution/Compat/ReadP.$(way_) : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/Compat/ReadP.hs Distribution/Extension.$(way_)o : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/Extension.hs +Distribution/GetOpt.$(way_)o : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/GetOpt.hs Distribution/InstalledPackageInfo.$(way_)o : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/InstalledPackageInfo.hs Distribution/License.$(way_)o : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/License.hs Distribution/Package.$(way_)o : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/Package.hs diff --git a/ghc/utils/ghc-pkg/Makefile b/ghc/utils/ghc-pkg/Makefile index 123d486..f48ce34 100644 --- a/ghc/utils/ghc-pkg/Makefile +++ b/ghc/utils/ghc-pkg/Makefile @@ -50,6 +50,7 @@ SRC_MKDEPENDHS_OPTS += \ -optdep--exclude-module=Distribution.Compat.Error \ -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 \ -- 1.7.10.4