Reorganisation of the source tree
authorSimon Marlow <simonmar@microsoft.com>
Fri, 7 Apr 2006 02:05:11 +0000 (02:05 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Fri, 7 Apr 2006 02:05:11 +0000 (02:05 +0000)
Most of the other users of the fptools build system have migrated to
Cabal, and with the move to darcs we can now flatten the source tree
without losing history, so here goes.

The main change is that the ghc/ subdir is gone, and most of what it
contained is now at the top level.  The build system now makes no
pretense at being multi-project, it is just the GHC build system.

No doubt this will break many things, and there will be a period of
instability while we fix the dependencies.  A straightforward build
should work, but I haven't yet fixed binary/source distributions.
Changes to the Building Guide will follow, too.

1531 files changed:
ANNOUNCE [moved from ghc/ANNOUNCE with 100% similarity]
HACKING [moved from ghc/HACKING with 96% similarity]
InstallShield/Component Definitions/Default.cdf [moved from ghc/InstallShield/Component Definitions/Default.cdf with 100% similarity]
InstallShield/Component Definitions/Default.fgl [moved from ghc/InstallShield/Component Definitions/Default.fgl with 100% similarity]
InstallShield/File Groups/Default.fdf [moved from ghc/InstallShield/File Groups/Default.fdf with 100% similarity]
InstallShield/File Groups/HTML Help Files.fgl [moved from ghc/InstallShield/File Groups/HTML Help Files.fgl with 100% similarity]
InstallShield/File Groups/PDF Help Files.fgl [moved from ghc/InstallShield/File Groups/PDF Help Files.fgl with 100% similarity]
InstallShield/File Groups/Profiling Libraries.fgl [moved from ghc/InstallShield/File Groups/Profiling Libraries.fgl with 100% similarity]
InstallShield/File Groups/Program Executable Files.fgl [moved from ghc/InstallShield/File Groups/Program Executable Files.fgl with 100% similarity]
InstallShield/Glasgow Haskell Compiler.ipr [moved from ghc/InstallShield/Glasgow Haskell Compiler.ipr with 100% similarity]
InstallShield/README [moved from ghc/InstallShield/README with 100% similarity]
InstallShield/Registry Entries/Default.rge [moved from ghc/InstallShield/Registry Entries/Default.rge with 100% similarity]
InstallShield/Script Files/Setup.Inx [moved from ghc/InstallShield/Script Files/Setup.Inx with 100% similarity]
InstallShield/Script Files/Setup.Obs [moved from ghc/InstallShield/Script Files/Setup.Obs with 100% similarity]
InstallShield/Script Files/Setup.dbg [moved from ghc/InstallShield/Script Files/Setup.dbg with 100% similarity]
InstallShield/Script Files/Setup.ino [moved from ghc/InstallShield/Script Files/Setup.ino with 100% similarity]
InstallShield/Script Files/Setup.ins [moved from ghc/InstallShield/Script Files/Setup.ins with 100% similarity]
InstallShield/Script Files/Setup.map [moved from ghc/InstallShield/Script Files/Setup.map with 100% similarity]
InstallShield/Script Files/setup.rul [moved from ghc/InstallShield/Script Files/setup.rul with 100% similarity]
InstallShield/Setup Files/Compressed Files/Language Independent/OS Independent/ANNOUNCE [moved from ghc/InstallShield/Setup Files/Compressed Files/Language Independent/OS Independent/ANNOUNCE with 100% similarity]
InstallShield/Setup Files/Compressed Files/Language Independent/OS Independent/_IsUser.dll [moved from ghc/InstallShield/Setup Files/Compressed Files/Language Independent/OS Independent/_IsUser.dll with 100% similarity]
InstallShield/Setup Files/Uncompressed Files/Language Independent/OS Independent/setup.bmp [moved from ghc/InstallShield/Setup Files/Uncompressed Files/Language Independent/OS Independent/setup.bmp with 100% similarity]
InstallShield/Shell Objects/Default.shl [moved from ghc/InstallShield/Shell Objects/Default.shl with 100% similarity]
InstallShield/String Tables/0009-English/value.shl [moved from ghc/InstallShield/String Tables/0009-English/value.shl with 100% similarity]
InstallShield/String Tables/Default.shl [moved from ghc/InstallShield/String Tables/Default.shl with 100% similarity]
InstallShield/Text Substitutions/Build.tsb [moved from ghc/InstallShield/Text Substitutions/Build.tsb with 100% similarity]
InstallShield/Text Substitutions/Setup.tsb [moved from ghc/InstallShield/Text Substitutions/Setup.tsb with 100% similarity]
InstallShield/decyg.pl [moved from ghc/InstallShield/decyg.pl with 100% similarity]
InstallShield/runexe.c [moved from ghc/InstallShield/runexe.c with 100% similarity]
LICENSE [moved from ghc/LICENSE with 100% similarity]
Makefile
README
WindowsInstaller/Glasgow Haskell Compiler.ism [moved from ghc/WindowsInstaller/Glasgow Haskell Compiler.ism with 100% similarity]
WindowsInstaller/License.rtf [moved from ghc/WindowsInstaller/License.rtf with 100% similarity]
WindowsInstaller/MakeInstaller.txt [moved from ghc/WindowsInstaller/MakeInstaller.txt with 100% similarity]
WindowsInstaller/announce.rtf [moved from ghc/WindowsInstaller/announce.rtf with 100% similarity]
aclocal.m4
compat/Compat/Directory.hs [moved from ghc/lib/compat/Compat/Directory.hs with 100% similarity]
compat/Compat/RawSystem.hs [moved from ghc/lib/compat/Compat/RawSystem.hs with 100% similarity]
compat/Compat/Unicode.hs [moved from ghc/lib/compat/Compat/Unicode.hs with 100% similarity]
compat/Distribution/Compat/FilePath.hs [moved from ghc/lib/compat/Distribution/Compat/FilePath.hs with 100% similarity]
compat/Distribution/Compat/ReadP.hs [moved from ghc/lib/compat/Distribution/Compat/ReadP.hs with 100% similarity]
compat/Distribution/Compiler.hs [moved from ghc/lib/compat/Distribution/Compiler.hs with 100% similarity]
compat/Distribution/GetOpt.hs [moved from ghc/lib/compat/Distribution/GetOpt.hs with 100% similarity]
compat/Distribution/InstalledPackageInfo.hs [moved from ghc/lib/compat/Distribution/InstalledPackageInfo.hs with 100% similarity]
compat/Distribution/License.hs [moved from ghc/lib/compat/Distribution/License.hs with 100% similarity]
compat/Distribution/Package.hs [moved from ghc/lib/compat/Distribution/Package.hs with 100% similarity]
compat/Distribution/ParseUtils.hs [moved from ghc/lib/compat/Distribution/ParseUtils.hs with 100% similarity]
compat/Distribution/Version.hs [moved from ghc/lib/compat/Distribution/Version.hs with 100% similarity]
compat/Language/Haskell/Extension.hs [moved from ghc/lib/compat/Language/Haskell/Extension.hs with 100% similarity]
compat/Makefile [moved from ghc/lib/compat/Makefile with 99% similarity]
compat/README [moved from ghc/lib/compat/README with 100% similarity]
compat/System/Directory/Internals.hs [moved from ghc/lib/compat/System/Directory/Internals.hs with 100% similarity]
compat/cbits/directory.c [moved from ghc/lib/compat/cbits/directory.c with 100% similarity]
compat/cbits/rawSystem.c [moved from ghc/lib/compat/cbits/rawSystem.c with 100% similarity]
compat/cbits/unicode.c [moved from ghc/lib/compat/cbits/unicode.c with 100% similarity]
compat/compat.mk [moved from ghc/lib/compat/compat.mk with 87% similarity]
compat/include/directory.h [moved from ghc/lib/compat/include/directory.h with 100% similarity]
compiler/DEPEND-NOTES [moved from ghc/compiler/DEPEND-NOTES with 100% similarity]
compiler/DLL-NOTES [moved from ghc/compiler/DLL-NOTES with 100% similarity]
compiler/HsVersions.h [moved from ghc/compiler/HsVersions.h with 100% similarity]
compiler/Makefile [moved from ghc/compiler/Makefile with 97% similarity]
compiler/NOTES [moved from ghc/compiler/NOTES with 100% similarity]
compiler/README [moved from ghc/compiler/README with 100% similarity]
compiler/Simon-log [moved from ghc/compiler/Simon-log with 100% similarity]
compiler/basicTypes/BasicTypes.lhs [moved from ghc/compiler/basicTypes/BasicTypes.lhs with 100% similarity]
compiler/basicTypes/DataCon.hi-boot-5 [moved from ghc/compiler/basicTypes/DataCon.hi-boot-5 with 100% similarity]
compiler/basicTypes/DataCon.hi-boot-6 [moved from ghc/compiler/basicTypes/DataCon.hi-boot-6 with 100% similarity]
compiler/basicTypes/DataCon.lhs [moved from ghc/compiler/basicTypes/DataCon.lhs with 100% similarity]
compiler/basicTypes/DataCon.lhs-boot [moved from ghc/compiler/basicTypes/DataCon.lhs-boot with 100% similarity]
compiler/basicTypes/Demand.lhs [moved from ghc/compiler/basicTypes/Demand.lhs with 100% similarity]
compiler/basicTypes/FieldLabel.lhs [moved from ghc/compiler/basicTypes/FieldLabel.lhs with 100% similarity]
compiler/basicTypes/Id.lhs [moved from ghc/compiler/basicTypes/Id.lhs with 100% similarity]
compiler/basicTypes/IdInfo.hi-boot-5 [moved from ghc/compiler/basicTypes/IdInfo.hi-boot-5 with 100% similarity]
compiler/basicTypes/IdInfo.hi-boot-6 [moved from ghc/compiler/basicTypes/IdInfo.hi-boot-6 with 100% similarity]
compiler/basicTypes/IdInfo.lhs [moved from ghc/compiler/basicTypes/IdInfo.lhs with 100% similarity]
compiler/basicTypes/IdInfo.lhs-boot [moved from ghc/compiler/basicTypes/IdInfo.lhs-boot with 100% similarity]
compiler/basicTypes/Literal.lhs [moved from ghc/compiler/basicTypes/Literal.lhs with 100% similarity]
compiler/basicTypes/MkId.hi-boot-5 [moved from ghc/compiler/basicTypes/MkId.hi-boot-5 with 100% similarity]
compiler/basicTypes/MkId.hi-boot-6 [moved from ghc/compiler/basicTypes/MkId.hi-boot-6 with 100% similarity]
compiler/basicTypes/MkId.lhs [moved from ghc/compiler/basicTypes/MkId.lhs with 100% similarity]
compiler/basicTypes/MkId.lhs-boot [moved from ghc/compiler/basicTypes/MkId.lhs-boot with 100% similarity]
compiler/basicTypes/Module.hi-boot-5 [moved from ghc/compiler/basicTypes/Module.hi-boot-5 with 100% similarity]
compiler/basicTypes/Module.hi-boot-6 [moved from ghc/compiler/basicTypes/Module.hi-boot-6 with 100% similarity]
compiler/basicTypes/Module.lhs [moved from ghc/compiler/basicTypes/Module.lhs with 100% similarity]
compiler/basicTypes/Module.lhs-boot [moved from ghc/compiler/basicTypes/Module.lhs-boot with 100% similarity]
compiler/basicTypes/Name.hi-boot-5 [moved from ghc/compiler/basicTypes/Name.hi-boot-5 with 100% similarity]
compiler/basicTypes/Name.hi-boot-6 [moved from ghc/compiler/basicTypes/Name.hi-boot-6 with 100% similarity]
compiler/basicTypes/Name.lhs [moved from ghc/compiler/basicTypes/Name.lhs with 100% similarity]
compiler/basicTypes/Name.lhs-boot [moved from ghc/compiler/basicTypes/Name.lhs-boot with 100% similarity]
compiler/basicTypes/NameEnv.lhs [moved from ghc/compiler/basicTypes/NameEnv.lhs with 100% similarity]
compiler/basicTypes/NameSet.lhs [moved from ghc/compiler/basicTypes/NameSet.lhs with 100% similarity]
compiler/basicTypes/NewDemand.lhs [moved from ghc/compiler/basicTypes/NewDemand.lhs with 100% similarity]
compiler/basicTypes/OccName.hi-boot-6 [moved from ghc/compiler/basicTypes/OccName.hi-boot-6 with 100% similarity]
compiler/basicTypes/OccName.lhs [moved from ghc/compiler/basicTypes/OccName.lhs with 100% similarity]
compiler/basicTypes/OccName.lhs-boot [moved from ghc/compiler/basicTypes/OccName.lhs-boot with 100% similarity]
compiler/basicTypes/RdrName.lhs [moved from ghc/compiler/basicTypes/RdrName.lhs with 100% similarity]
compiler/basicTypes/SrcLoc.lhs [moved from ghc/compiler/basicTypes/SrcLoc.lhs with 100% similarity]
compiler/basicTypes/UniqSupply.lhs [moved from ghc/compiler/basicTypes/UniqSupply.lhs with 100% similarity]
compiler/basicTypes/Unique.lhs [moved from ghc/compiler/basicTypes/Unique.lhs with 100% similarity]
compiler/basicTypes/Var.lhs [moved from ghc/compiler/basicTypes/Var.lhs with 100% similarity]
compiler/basicTypes/VarEnv.lhs [moved from ghc/compiler/basicTypes/VarEnv.lhs with 100% similarity]
compiler/basicTypes/VarSet.lhs [moved from ghc/compiler/basicTypes/VarSet.lhs with 100% similarity]
compiler/cbits/rawSystem.c [moved from ghc/compiler/cbits/rawSystem.c with 100% similarity]
compiler/cmm/CLabel.hs [moved from ghc/compiler/cmm/CLabel.hs with 100% similarity]
compiler/cmm/Cmm.hs [moved from ghc/compiler/cmm/Cmm.hs with 100% similarity]
compiler/cmm/CmmLex.x [moved from ghc/compiler/cmm/CmmLex.x with 100% similarity]
compiler/cmm/CmmLint.hs [moved from ghc/compiler/cmm/CmmLint.hs with 100% similarity]
compiler/cmm/CmmOpt.hs [moved from ghc/compiler/cmm/CmmOpt.hs with 100% similarity]
compiler/cmm/CmmParse.y [moved from ghc/compiler/cmm/CmmParse.y with 100% similarity]
compiler/cmm/CmmUtils.hs [moved from ghc/compiler/cmm/CmmUtils.hs with 100% similarity]
compiler/cmm/MachOp.hs [moved from ghc/compiler/cmm/MachOp.hs with 100% similarity]
compiler/cmm/PprC.hs [moved from ghc/compiler/cmm/PprC.hs with 100% similarity]
compiler/cmm/PprCmm.hs [moved from ghc/compiler/cmm/PprCmm.hs with 100% similarity]
compiler/codeGen/Bitmap.hs [moved from ghc/compiler/codeGen/Bitmap.hs with 100% similarity]
compiler/codeGen/CgBindery.hi-boot-5 [moved from ghc/compiler/codeGen/CgBindery.hi-boot-5 with 100% similarity]
compiler/codeGen/CgBindery.hi-boot-6 [moved from ghc/compiler/codeGen/CgBindery.hi-boot-6 with 100% similarity]
compiler/codeGen/CgBindery.lhs [moved from ghc/compiler/codeGen/CgBindery.lhs with 100% similarity]
compiler/codeGen/CgBindery.lhs-boot [moved from ghc/compiler/codeGen/CgBindery.lhs-boot with 100% similarity]
compiler/codeGen/CgCallConv.hs [moved from ghc/compiler/codeGen/CgCallConv.hs with 100% similarity]
compiler/codeGen/CgCase.lhs [moved from ghc/compiler/codeGen/CgCase.lhs with 100% similarity]
compiler/codeGen/CgClosure.lhs [moved from ghc/compiler/codeGen/CgClosure.lhs with 100% similarity]
compiler/codeGen/CgCon.lhs [moved from ghc/compiler/codeGen/CgCon.lhs with 100% similarity]
compiler/codeGen/CgExpr.hi-boot-5 [moved from ghc/compiler/codeGen/CgExpr.hi-boot-5 with 100% similarity]
compiler/codeGen/CgExpr.hi-boot-6 [moved from ghc/compiler/codeGen/CgExpr.hi-boot-6 with 100% similarity]
compiler/codeGen/CgExpr.lhs [moved from ghc/compiler/codeGen/CgExpr.lhs with 100% similarity]
compiler/codeGen/CgExpr.lhs-boot [moved from ghc/compiler/codeGen/CgExpr.lhs-boot with 100% similarity]
compiler/codeGen/CgForeignCall.hs [moved from ghc/compiler/codeGen/CgForeignCall.hs with 100% similarity]
compiler/codeGen/CgHeapery.lhs [moved from ghc/compiler/codeGen/CgHeapery.lhs with 100% similarity]
compiler/codeGen/CgInfoTbls.hs [moved from ghc/compiler/codeGen/CgInfoTbls.hs with 100% similarity]
compiler/codeGen/CgLetNoEscape.lhs [moved from ghc/compiler/codeGen/CgLetNoEscape.lhs with 100% similarity]
compiler/codeGen/CgMonad.lhs [moved from ghc/compiler/codeGen/CgMonad.lhs with 100% similarity]
compiler/codeGen/CgParallel.hs [moved from ghc/compiler/codeGen/CgParallel.hs with 100% similarity]
compiler/codeGen/CgPrimOp.hs [moved from ghc/compiler/codeGen/CgPrimOp.hs with 100% similarity]
compiler/codeGen/CgProf.hs [moved from ghc/compiler/codeGen/CgProf.hs with 100% similarity]
compiler/codeGen/CgStackery.lhs [moved from ghc/compiler/codeGen/CgStackery.lhs with 100% similarity]
compiler/codeGen/CgTailCall.lhs [moved from ghc/compiler/codeGen/CgTailCall.lhs with 100% similarity]
compiler/codeGen/CgTicky.hs [moved from ghc/compiler/codeGen/CgTicky.hs with 100% similarity]
compiler/codeGen/CgUsages.hi-boot-5 [moved from ghc/compiler/codeGen/CgUsages.hi-boot-5 with 100% similarity]
compiler/codeGen/CgUsages.hi-boot-6 [moved from ghc/compiler/codeGen/CgUsages.hi-boot-6 with 100% similarity]
compiler/codeGen/CgUtils.hs [moved from ghc/compiler/codeGen/CgUtils.hs with 100% similarity]
compiler/codeGen/ClosureInfo.hi-boot-5 [moved from ghc/compiler/codeGen/ClosureInfo.hi-boot-5 with 100% similarity]
compiler/codeGen/ClosureInfo.hi-boot-6 [moved from ghc/compiler/codeGen/ClosureInfo.hi-boot-6 with 100% similarity]
compiler/codeGen/ClosureInfo.lhs [moved from ghc/compiler/codeGen/ClosureInfo.lhs with 100% similarity]
compiler/codeGen/ClosureInfo.lhs-boot [moved from ghc/compiler/codeGen/ClosureInfo.lhs-boot with 100% similarity]
compiler/codeGen/CodeGen.lhs [moved from ghc/compiler/codeGen/CodeGen.lhs with 100% similarity]
compiler/codeGen/SMRep.lhs [moved from ghc/compiler/codeGen/SMRep.lhs with 100% similarity]
compiler/coreSyn/CoreFVs.lhs [moved from ghc/compiler/coreSyn/CoreFVs.lhs with 100% similarity]
compiler/coreSyn/CoreLint.lhs [moved from ghc/compiler/coreSyn/CoreLint.lhs with 100% similarity]
compiler/coreSyn/CorePrep.lhs [moved from ghc/compiler/coreSyn/CorePrep.lhs with 100% similarity]
compiler/coreSyn/CoreSubst.lhs [moved from ghc/compiler/coreSyn/CoreSubst.lhs with 100% similarity]
compiler/coreSyn/CoreSyn.hi-boot-5 [moved from ghc/compiler/coreSyn/CoreSyn.hi-boot-5 with 100% similarity]
compiler/coreSyn/CoreSyn.hi-boot-6 [moved from ghc/compiler/coreSyn/CoreSyn.hi-boot-6 with 100% similarity]
compiler/coreSyn/CoreSyn.lhs [moved from ghc/compiler/coreSyn/CoreSyn.lhs with 100% similarity]
compiler/coreSyn/CoreTidy.lhs [moved from ghc/compiler/coreSyn/CoreTidy.lhs with 100% similarity]
compiler/coreSyn/CoreUnfold.lhs [moved from ghc/compiler/coreSyn/CoreUnfold.lhs with 100% similarity]
compiler/coreSyn/CoreUtils.lhs [moved from ghc/compiler/coreSyn/CoreUtils.lhs with 100% similarity]
compiler/coreSyn/ExternalCore.lhs [moved from ghc/compiler/coreSyn/ExternalCore.lhs with 100% similarity]
compiler/coreSyn/MkExternalCore.lhs [moved from ghc/compiler/coreSyn/MkExternalCore.lhs with 100% similarity]
compiler/coreSyn/PprCore.lhs [moved from ghc/compiler/coreSyn/PprCore.lhs with 100% similarity]
compiler/coreSyn/PprExternalCore.lhs [moved from ghc/compiler/coreSyn/PprExternalCore.lhs with 100% similarity]
compiler/count_bytes [moved from ghc/compiler/count_bytes with 100% similarity]
compiler/count_lines [moved from ghc/compiler/count_lines with 100% similarity]
compiler/cprAnalysis/CprAnalyse.lhs [moved from ghc/compiler/cprAnalysis/CprAnalyse.lhs with 100% similarity]
compiler/deSugar/Check.lhs [moved from ghc/compiler/deSugar/Check.lhs with 100% similarity]
compiler/deSugar/Desugar.lhs [moved from ghc/compiler/deSugar/Desugar.lhs with 100% similarity]
compiler/deSugar/DsArrows.lhs [moved from ghc/compiler/deSugar/DsArrows.lhs with 100% similarity]
compiler/deSugar/DsBinds.lhs [moved from ghc/compiler/deSugar/DsBinds.lhs with 100% similarity]
compiler/deSugar/DsCCall.lhs [moved from ghc/compiler/deSugar/DsCCall.lhs with 100% similarity]
compiler/deSugar/DsExpr.hi-boot-5 [moved from ghc/compiler/deSugar/DsExpr.hi-boot-5 with 100% similarity]
compiler/deSugar/DsExpr.hi-boot-6 [moved from ghc/compiler/deSugar/DsExpr.hi-boot-6 with 100% similarity]
compiler/deSugar/DsExpr.lhs [moved from ghc/compiler/deSugar/DsExpr.lhs with 100% similarity]
compiler/deSugar/DsExpr.lhs-boot [moved from ghc/compiler/deSugar/DsExpr.lhs-boot with 100% similarity]
compiler/deSugar/DsForeign.lhs [moved from ghc/compiler/deSugar/DsForeign.lhs with 100% similarity]
compiler/deSugar/DsGRHSs.lhs [moved from ghc/compiler/deSugar/DsGRHSs.lhs with 100% similarity]
compiler/deSugar/DsListComp.lhs [moved from ghc/compiler/deSugar/DsListComp.lhs with 100% similarity]
compiler/deSugar/DsMeta.hs [moved from ghc/compiler/deSugar/DsMeta.hs with 100% similarity]
compiler/deSugar/DsMonad.lhs [moved from ghc/compiler/deSugar/DsMonad.lhs with 100% similarity]
compiler/deSugar/DsUtils.lhs [moved from ghc/compiler/deSugar/DsUtils.lhs with 100% similarity]
compiler/deSugar/Match.hi-boot-5 [moved from ghc/compiler/deSugar/Match.hi-boot-5 with 100% similarity]
compiler/deSugar/Match.hi-boot-6 [moved from ghc/compiler/deSugar/Match.hi-boot-6 with 100% similarity]
compiler/deSugar/Match.lhs [moved from ghc/compiler/deSugar/Match.lhs with 100% similarity]
compiler/deSugar/Match.lhs-boot [moved from ghc/compiler/deSugar/Match.lhs-boot with 100% similarity]
compiler/deSugar/MatchCon.lhs [moved from ghc/compiler/deSugar/MatchCon.lhs with 100% similarity]
compiler/deSugar/MatchLit.lhs [moved from ghc/compiler/deSugar/MatchLit.lhs with 100% similarity]
compiler/deSugar/deSugar.tex [moved from ghc/compiler/deSugar/deSugar.tex with 100% similarity]
compiler/ghci/ByteCodeAsm.lhs [moved from ghc/compiler/ghci/ByteCodeAsm.lhs with 100% similarity]
compiler/ghci/ByteCodeFFI.lhs [moved from ghc/compiler/ghci/ByteCodeFFI.lhs with 100% similarity]
compiler/ghci/ByteCodeGen.lhs [moved from ghc/compiler/ghci/ByteCodeGen.lhs with 100% similarity]
compiler/ghci/ByteCodeInstr.lhs [moved from ghc/compiler/ghci/ByteCodeInstr.lhs with 100% similarity]
compiler/ghci/ByteCodeItbls.lhs [moved from ghc/compiler/ghci/ByteCodeItbls.lhs with 100% similarity]
compiler/ghci/ByteCodeLink.lhs [moved from ghc/compiler/ghci/ByteCodeLink.lhs with 100% similarity]
compiler/ghci/InteractiveUI.hs [moved from ghc/compiler/ghci/InteractiveUI.hs with 100% similarity]
compiler/ghci/Linker.lhs [moved from ghc/compiler/ghci/Linker.lhs with 100% similarity]
compiler/ghci/ObjLink.lhs [moved from ghc/compiler/ghci/ObjLink.lhs with 100% similarity]
compiler/ghci/keepCAFsForGHCi.c [moved from ghc/compiler/ghci/keepCAFsForGHCi.c with 100% similarity]
compiler/hsSyn/Convert.lhs [moved from ghc/compiler/hsSyn/Convert.lhs with 100% similarity]
compiler/hsSyn/HsBinds.lhs [moved from ghc/compiler/hsSyn/HsBinds.lhs with 100% similarity]
compiler/hsSyn/HsDecls.lhs [moved from ghc/compiler/hsSyn/HsDecls.lhs with 100% similarity]
compiler/hsSyn/HsExpr.hi-boot-5 [moved from ghc/compiler/hsSyn/HsExpr.hi-boot-5 with 100% similarity]
compiler/hsSyn/HsExpr.hi-boot-6 [moved from ghc/compiler/hsSyn/HsExpr.hi-boot-6 with 100% similarity]
compiler/hsSyn/HsExpr.lhs [moved from ghc/compiler/hsSyn/HsExpr.lhs with 100% similarity]
compiler/hsSyn/HsExpr.lhs-boot [moved from ghc/compiler/hsSyn/HsExpr.lhs-boot with 100% similarity]
compiler/hsSyn/HsImpExp.lhs [moved from ghc/compiler/hsSyn/HsImpExp.lhs with 100% similarity]
compiler/hsSyn/HsLit.lhs [moved from ghc/compiler/hsSyn/HsLit.lhs with 100% similarity]
compiler/hsSyn/HsPat.hi-boot-5 [moved from ghc/compiler/hsSyn/HsPat.hi-boot-5 with 100% similarity]
compiler/hsSyn/HsPat.hi-boot-6 [moved from ghc/compiler/hsSyn/HsPat.hi-boot-6 with 100% similarity]
compiler/hsSyn/HsPat.lhs [moved from ghc/compiler/hsSyn/HsPat.lhs with 100% similarity]
compiler/hsSyn/HsPat.lhs-boot [moved from ghc/compiler/hsSyn/HsPat.lhs-boot with 100% similarity]
compiler/hsSyn/HsSyn.lhs [moved from ghc/compiler/hsSyn/HsSyn.lhs with 100% similarity]
compiler/hsSyn/HsTypes.lhs [moved from ghc/compiler/hsSyn/HsTypes.lhs with 100% similarity]
compiler/hsSyn/HsUtils.lhs [moved from ghc/compiler/hsSyn/HsUtils.lhs with 100% similarity]
compiler/iface/BinIface.hs [moved from ghc/compiler/iface/BinIface.hs with 100% similarity]
compiler/iface/BuildTyCl.lhs [moved from ghc/compiler/iface/BuildTyCl.lhs with 100% similarity]
compiler/iface/IfaceEnv.lhs [moved from ghc/compiler/iface/IfaceEnv.lhs with 100% similarity]
compiler/iface/IfaceSyn.lhs [moved from ghc/compiler/iface/IfaceSyn.lhs with 100% similarity]
compiler/iface/IfaceType.lhs [moved from ghc/compiler/iface/IfaceType.lhs with 100% similarity]
compiler/iface/LoadIface.lhs [moved from ghc/compiler/iface/LoadIface.lhs with 100% similarity]
compiler/iface/MkIface.lhs [moved from ghc/compiler/iface/MkIface.lhs with 100% similarity]
compiler/iface/TcIface.hi-boot-5 [moved from ghc/compiler/iface/TcIface.hi-boot-5 with 100% similarity]
compiler/iface/TcIface.hi-boot-6 [moved from ghc/compiler/iface/TcIface.hi-boot-6 with 100% similarity]
compiler/iface/TcIface.lhs [moved from ghc/compiler/iface/TcIface.lhs with 100% similarity]
compiler/iface/TcIface.lhs-boot [moved from ghc/compiler/iface/TcIface.lhs-boot with 100% similarity]
compiler/ilxGen/Entry.ilx [moved from ghc/compiler/ilxGen/Entry.ilx with 100% similarity]
compiler/ilxGen/IlxGen.lhs [moved from ghc/compiler/ilxGen/IlxGen.lhs with 100% similarity]
compiler/ilxGen/Makefile.stdlib [moved from ghc/compiler/ilxGen/Makefile.stdlib with 100% similarity]
compiler/ilxGen/tests/Makefile [moved from ghc/compiler/ilxGen/tests/Makefile with 100% similarity]
compiler/ilxGen/tests/PrelNum.hs [moved from ghc/compiler/ilxGen/tests/PrelNum.hs with 100% similarity]
compiler/ilxGen/tests/build.mk [moved from ghc/compiler/ilxGen/tests/build.mk with 100% similarity]
compiler/ilxGen/tests/foo.hs [moved from ghc/compiler/ilxGen/tests/foo.hs with 100% similarity]
compiler/ilxGen/tests/life.hs [moved from ghc/compiler/ilxGen/tests/life.hs with 100% similarity]
compiler/ilxGen/tests/reduce.ml [moved from ghc/compiler/ilxGen/tests/reduce.ml with 100% similarity]
compiler/ilxGen/tests/test1-nostdlib.hs [moved from ghc/compiler/ilxGen/tests/test1-nostdlib.hs with 100% similarity]
compiler/ilxGen/tests/test1.hs [moved from ghc/compiler/ilxGen/tests/test1.hs with 100% similarity]
compiler/ilxGen/tests/test10.hs [moved from ghc/compiler/ilxGen/tests/test10.hs with 100% similarity]
compiler/ilxGen/tests/test11.hs [moved from ghc/compiler/ilxGen/tests/test11.hs with 100% similarity]
compiler/ilxGen/tests/test12.hs [moved from ghc/compiler/ilxGen/tests/test12.hs with 100% similarity]
compiler/ilxGen/tests/test13.hs [moved from ghc/compiler/ilxGen/tests/test13.hs with 100% similarity]
compiler/ilxGen/tests/test14.hs [moved from ghc/compiler/ilxGen/tests/test14.hs with 100% similarity]
compiler/ilxGen/tests/test15.hs [moved from ghc/compiler/ilxGen/tests/test15.hs with 100% similarity]
compiler/ilxGen/tests/test16.hs [moved from ghc/compiler/ilxGen/tests/test16.hs with 100% similarity]
compiler/ilxGen/tests/test17.hs [moved from ghc/compiler/ilxGen/tests/test17.hs with 100% similarity]
compiler/ilxGen/tests/test18.hs [moved from ghc/compiler/ilxGen/tests/test18.hs with 100% similarity]
compiler/ilxGen/tests/test19.hs [moved from ghc/compiler/ilxGen/tests/test19.hs with 100% similarity]
compiler/ilxGen/tests/test1b.hs [moved from ghc/compiler/ilxGen/tests/test1b.hs with 100% similarity]
compiler/ilxGen/tests/test2.hs [moved from ghc/compiler/ilxGen/tests/test2.hs with 100% similarity]
compiler/ilxGen/tests/test20.hs [moved from ghc/compiler/ilxGen/tests/test20.hs with 100% similarity]
compiler/ilxGen/tests/test21.hs [moved from ghc/compiler/ilxGen/tests/test21.hs with 100% similarity]
compiler/ilxGen/tests/test2b.hs [moved from ghc/compiler/ilxGen/tests/test2b.hs with 100% similarity]
compiler/ilxGen/tests/test2c.hs [moved from ghc/compiler/ilxGen/tests/test2c.hs with 100% similarity]
compiler/ilxGen/tests/test2d.hs [moved from ghc/compiler/ilxGen/tests/test2d.hs with 100% similarity]
compiler/ilxGen/tests/test3.hs [moved from ghc/compiler/ilxGen/tests/test3.hs with 100% similarity]
compiler/ilxGen/tests/test4.hs [moved from ghc/compiler/ilxGen/tests/test4.hs with 100% similarity]
compiler/ilxGen/tests/test5.hs [moved from ghc/compiler/ilxGen/tests/test5.hs with 100% similarity]
compiler/ilxGen/tests/test6.hs [moved from ghc/compiler/ilxGen/tests/test6.hs with 100% similarity]
compiler/ilxGen/tests/test7.hs [moved from ghc/compiler/ilxGen/tests/test7.hs with 100% similarity]
compiler/ilxGen/tests/test8.hs [moved from ghc/compiler/ilxGen/tests/test8.hs with 100% similarity]
compiler/ilxGen/tests/test9.hs [moved from ghc/compiler/ilxGen/tests/test9.hs with 100% similarity]
compiler/ilxGen/tests/yes.hs [moved from ghc/compiler/ilxGen/tests/yes.hs with 100% similarity]
compiler/ilxGen/tests/yes2.hs [moved from ghc/compiler/ilxGen/tests/yes2.hs with 100% similarity]
compiler/javaGen/Java.lhs [moved from ghc/compiler/javaGen/Java.lhs with 100% similarity]
compiler/javaGen/JavaGen.lhs [moved from ghc/compiler/javaGen/JavaGen.lhs with 100% similarity]
compiler/javaGen/PrintJava.lhs [moved from ghc/compiler/javaGen/PrintJava.lhs with 100% similarity]
compiler/main/CmdLineParser.hs [moved from ghc/compiler/main/CmdLineParser.hs with 100% similarity]
compiler/main/CodeOutput.lhs [moved from ghc/compiler/main/CodeOutput.lhs with 100% similarity]
compiler/main/Constants.lhs [moved from ghc/compiler/main/Constants.lhs with 100% similarity]
compiler/main/DriverMkDepend.hs [moved from ghc/compiler/main/DriverMkDepend.hs with 100% similarity]
compiler/main/DriverPhases.hs [moved from ghc/compiler/main/DriverPhases.hs with 100% similarity]
compiler/main/DriverPipeline.hs [moved from ghc/compiler/main/DriverPipeline.hs with 100% similarity]
compiler/main/DynFlags.hs [moved from ghc/compiler/main/DynFlags.hs with 100% similarity]
compiler/main/ErrUtils.hi-boot-6 [moved from ghc/compiler/main/ErrUtils.hi-boot-6 with 100% similarity]
compiler/main/ErrUtils.lhs [moved from ghc/compiler/main/ErrUtils.lhs with 100% similarity]
compiler/main/ErrUtils.lhs-boot [moved from ghc/compiler/main/ErrUtils.lhs-boot with 100% similarity]
compiler/main/Finder.lhs [moved from ghc/compiler/main/Finder.lhs with 100% similarity]
compiler/main/GHC.hs [moved from ghc/compiler/main/GHC.hs with 100% similarity]
compiler/main/HeaderInfo.hs [moved from ghc/compiler/main/HeaderInfo.hs with 100% similarity]
compiler/main/HscMain.lhs [moved from ghc/compiler/main/HscMain.lhs with 100% similarity]
compiler/main/HscStats.lhs [moved from ghc/compiler/main/HscStats.lhs with 100% similarity]
compiler/main/HscTypes.lhs [moved from ghc/compiler/main/HscTypes.lhs with 100% similarity]
compiler/main/Main.hs [moved from ghc/compiler/main/Main.hs with 100% similarity]
compiler/main/PackageConfig.hs [moved from ghc/compiler/main/PackageConfig.hs with 100% similarity]
compiler/main/Packages.hi-boot-5 [moved from ghc/compiler/main/Packages.hi-boot-5 with 100% similarity]
compiler/main/Packages.hi-boot-6 [moved from ghc/compiler/main/Packages.hi-boot-6 with 100% similarity]
compiler/main/Packages.lhs [moved from ghc/compiler/main/Packages.lhs with 100% similarity]
compiler/main/Packages.lhs-boot [moved from ghc/compiler/main/Packages.lhs-boot with 100% similarity]
compiler/main/ParsePkgConf.y [moved from ghc/compiler/main/ParsePkgConf.y with 100% similarity]
compiler/main/PprTyThing.hs [moved from ghc/compiler/main/PprTyThing.hs with 100% similarity]
compiler/main/StaticFlags.hs [moved from ghc/compiler/main/StaticFlags.hs with 100% similarity]
compiler/main/SysTools.lhs [moved from ghc/compiler/main/SysTools.lhs with 100% similarity]
compiler/main/TidyPgm.lhs [moved from ghc/compiler/main/TidyPgm.lhs with 100% similarity]
compiler/nativeGen/AsmCodeGen.lhs [moved from ghc/compiler/nativeGen/AsmCodeGen.lhs with 100% similarity]
compiler/nativeGen/MachCodeGen.hs [moved from ghc/compiler/nativeGen/MachCodeGen.hs with 100% similarity]
compiler/nativeGen/MachInstrs.hs [moved from ghc/compiler/nativeGen/MachInstrs.hs with 100% similarity]
compiler/nativeGen/MachRegs.lhs [moved from ghc/compiler/nativeGen/MachRegs.lhs with 100% similarity]
compiler/nativeGen/NCG.h [moved from ghc/compiler/nativeGen/NCG.h with 100% similarity]
compiler/nativeGen/NCGMonad.hs [moved from ghc/compiler/nativeGen/NCGMonad.hs with 100% similarity]
compiler/nativeGen/NOTES [moved from ghc/compiler/nativeGen/NOTES with 100% similarity]
compiler/nativeGen/PositionIndependentCode.hs [moved from ghc/compiler/nativeGen/PositionIndependentCode.hs with 100% similarity]
compiler/nativeGen/PprMach.hs [moved from ghc/compiler/nativeGen/PprMach.hs with 100% similarity]
compiler/nativeGen/RegAllocInfo.hs [moved from ghc/compiler/nativeGen/RegAllocInfo.hs with 100% similarity]
compiler/nativeGen/RegisterAlloc.hs [moved from ghc/compiler/nativeGen/RegisterAlloc.hs with 100% similarity]
compiler/ndpFlatten/FlattenInfo.hs [moved from ghc/compiler/ndpFlatten/FlattenInfo.hs with 100% similarity]
compiler/ndpFlatten/FlattenMonad.hs [moved from ghc/compiler/ndpFlatten/FlattenMonad.hs with 100% similarity]
compiler/ndpFlatten/Flattening.hs [moved from ghc/compiler/ndpFlatten/Flattening.hs with 100% similarity]
compiler/ndpFlatten/NDPCoreUtils.hs [moved from ghc/compiler/ndpFlatten/NDPCoreUtils.hs with 100% similarity]
compiler/ndpFlatten/PArrAnal.hs [moved from ghc/compiler/ndpFlatten/PArrAnal.hs with 100% similarity]
compiler/ndpFlatten/TODO [moved from ghc/compiler/ndpFlatten/TODO with 100% similarity]
compiler/package.conf.in [moved from ghc/compiler/package.conf.in with 100% similarity]
compiler/parser/Ctype.lhs [moved from ghc/compiler/parser/Ctype.lhs with 100% similarity]
compiler/parser/LexCore.hs [moved from ghc/compiler/parser/LexCore.hs with 100% similarity]
compiler/parser/Lexer.x [moved from ghc/compiler/parser/Lexer.x with 100% similarity]
compiler/parser/Parser.y.pp [moved from ghc/compiler/parser/Parser.y.pp with 100% similarity]
compiler/parser/ParserCore.y [moved from ghc/compiler/parser/ParserCore.y with 100% similarity]
compiler/parser/ParserCoreUtils.hs [moved from ghc/compiler/parser/ParserCoreUtils.hs with 100% similarity]
compiler/parser/RdrHsSyn.lhs [moved from ghc/compiler/parser/RdrHsSyn.lhs with 100% similarity]
compiler/parser/cutils.c [moved from ghc/compiler/parser/cutils.c with 100% similarity]
compiler/parser/cutils.h [moved from ghc/compiler/parser/cutils.h with 100% similarity]
compiler/parser/hschooks.c [moved from ghc/compiler/parser/hschooks.c with 100% similarity]
compiler/parser/hschooks.h [moved from ghc/compiler/parser/hschooks.h with 100% similarity]
compiler/prelude/ForeignCall.lhs [moved from ghc/compiler/prelude/ForeignCall.lhs with 100% similarity]
compiler/prelude/PrelInfo.lhs [moved from ghc/compiler/prelude/PrelInfo.lhs with 100% similarity]
compiler/prelude/PrelNames.lhs [moved from ghc/compiler/prelude/PrelNames.lhs with 100% similarity]
compiler/prelude/PrelRules.lhs [moved from ghc/compiler/prelude/PrelRules.lhs with 100% similarity]
compiler/prelude/PrimOp.lhs [moved from ghc/compiler/prelude/PrimOp.lhs with 100% similarity]
compiler/prelude/TysPrim.lhs [moved from ghc/compiler/prelude/TysPrim.lhs with 100% similarity]
compiler/prelude/TysWiredIn.lhs [moved from ghc/compiler/prelude/TysWiredIn.lhs with 100% similarity]
compiler/prelude/primops.txt.pp [moved from ghc/compiler/prelude/primops.txt.pp with 100% similarity]
compiler/profiling/CostCentre.lhs [moved from ghc/compiler/profiling/CostCentre.lhs with 100% similarity]
compiler/profiling/NOTES [moved from ghc/compiler/profiling/NOTES with 100% similarity]
compiler/profiling/SCCfinal.lhs [moved from ghc/compiler/profiling/SCCfinal.lhs with 100% similarity]
compiler/rename/RnBinds.lhs [moved from ghc/compiler/rename/RnBinds.lhs with 100% similarity]
compiler/rename/RnEnv.lhs [moved from ghc/compiler/rename/RnEnv.lhs with 100% similarity]
compiler/rename/RnExpr.hi-boot-6 [moved from ghc/compiler/rename/RnExpr.hi-boot-6 with 100% similarity]
compiler/rename/RnExpr.lhs [moved from ghc/compiler/rename/RnExpr.lhs with 100% similarity]
compiler/rename/RnExpr.lhs-boot [moved from ghc/compiler/rename/RnExpr.lhs-boot with 100% similarity]
compiler/rename/RnHsSyn.lhs [moved from ghc/compiler/rename/RnHsSyn.lhs with 100% similarity]
compiler/rename/RnNames.lhs [moved from ghc/compiler/rename/RnNames.lhs with 100% similarity]
compiler/rename/RnSource.hi-boot-5 [moved from ghc/compiler/rename/RnSource.hi-boot-5 with 100% similarity]
compiler/rename/RnSource.lhs [moved from ghc/compiler/rename/RnSource.lhs with 100% similarity]
compiler/rename/RnTypes.lhs [moved from ghc/compiler/rename/RnTypes.lhs with 100% similarity]
compiler/rename/rename.tex [moved from ghc/compiler/rename/rename.tex with 100% similarity]
compiler/simplCore/CSE.lhs [moved from ghc/compiler/simplCore/CSE.lhs with 100% similarity]
compiler/simplCore/FloatIn.lhs [moved from ghc/compiler/simplCore/FloatIn.lhs with 100% similarity]
compiler/simplCore/FloatOut.lhs [moved from ghc/compiler/simplCore/FloatOut.lhs with 100% similarity]
compiler/simplCore/LiberateCase.lhs [moved from ghc/compiler/simplCore/LiberateCase.lhs with 100% similarity]
compiler/simplCore/OccurAnal.lhs [moved from ghc/compiler/simplCore/OccurAnal.lhs with 100% similarity]
compiler/simplCore/SAT.lhs [moved from ghc/compiler/simplCore/SAT.lhs with 100% similarity]
compiler/simplCore/SATMonad.lhs [moved from ghc/compiler/simplCore/SATMonad.lhs with 100% similarity]
compiler/simplCore/SetLevels.lhs [moved from ghc/compiler/simplCore/SetLevels.lhs with 100% similarity]
compiler/simplCore/SimplCore.lhs [moved from ghc/compiler/simplCore/SimplCore.lhs with 100% similarity]
compiler/simplCore/SimplEnv.lhs [moved from ghc/compiler/simplCore/SimplEnv.lhs with 100% similarity]
compiler/simplCore/SimplMonad.lhs [moved from ghc/compiler/simplCore/SimplMonad.lhs with 100% similarity]
compiler/simplCore/SimplUtils.lhs [moved from ghc/compiler/simplCore/SimplUtils.lhs with 100% similarity]
compiler/simplCore/Simplify.lhs [moved from ghc/compiler/simplCore/Simplify.lhs with 100% similarity]
compiler/simplCore/simplifier.tib [moved from ghc/compiler/simplCore/simplifier.tib with 100% similarity]
compiler/simplStg/SRT.lhs [moved from ghc/compiler/simplStg/SRT.lhs with 100% similarity]
compiler/simplStg/SimplStg.lhs [moved from ghc/compiler/simplStg/SimplStg.lhs with 100% similarity]
compiler/simplStg/StgStats.lhs [moved from ghc/compiler/simplStg/StgStats.lhs with 100% similarity]
compiler/specialise/Rules.lhs [moved from ghc/compiler/specialise/Rules.lhs with 100% similarity]
compiler/specialise/SpecConstr.lhs [moved from ghc/compiler/specialise/SpecConstr.lhs with 100% similarity]
compiler/specialise/Specialise.lhs [moved from ghc/compiler/specialise/Specialise.lhs with 100% similarity]
compiler/stgSyn/CoreToStg.lhs [moved from ghc/compiler/stgSyn/CoreToStg.lhs with 100% similarity]
compiler/stgSyn/StgLint.lhs [moved from ghc/compiler/stgSyn/StgLint.lhs with 100% similarity]
compiler/stgSyn/StgSyn.lhs [moved from ghc/compiler/stgSyn/StgSyn.lhs with 100% similarity]
compiler/stranal/DmdAnal.lhs [moved from ghc/compiler/stranal/DmdAnal.lhs with 100% similarity]
compiler/stranal/SaAbsInt.lhs [moved from ghc/compiler/stranal/SaAbsInt.lhs with 100% similarity]
compiler/stranal/SaLib.lhs [moved from ghc/compiler/stranal/SaLib.lhs with 100% similarity]
compiler/stranal/StrictAnal.lhs [moved from ghc/compiler/stranal/StrictAnal.lhs with 100% similarity]
compiler/stranal/WorkWrap.lhs [moved from ghc/compiler/stranal/WorkWrap.lhs with 100% similarity]
compiler/stranal/WwLib.lhs [moved from ghc/compiler/stranal/WwLib.lhs with 100% similarity]
compiler/typecheck/Inst.lhs [moved from ghc/compiler/typecheck/Inst.lhs with 100% similarity]
compiler/typecheck/TcArrows.lhs [moved from ghc/compiler/typecheck/TcArrows.lhs with 100% similarity]
compiler/typecheck/TcBinds.lhs [moved from ghc/compiler/typecheck/TcBinds.lhs with 100% similarity]
compiler/typecheck/TcClassDcl.lhs [moved from ghc/compiler/typecheck/TcClassDcl.lhs with 100% similarity]
compiler/typecheck/TcDefaults.lhs [moved from ghc/compiler/typecheck/TcDefaults.lhs with 100% similarity]
compiler/typecheck/TcDeriv.lhs [moved from ghc/compiler/typecheck/TcDeriv.lhs with 100% similarity]
compiler/typecheck/TcEnv.lhs [moved from ghc/compiler/typecheck/TcEnv.lhs with 100% similarity]
compiler/typecheck/TcExpr.hi-boot-5 [moved from ghc/compiler/typecheck/TcExpr.hi-boot-5 with 100% similarity]
compiler/typecheck/TcExpr.hi-boot-6 [moved from ghc/compiler/typecheck/TcExpr.hi-boot-6 with 100% similarity]
compiler/typecheck/TcExpr.lhs [moved from ghc/compiler/typecheck/TcExpr.lhs with 100% similarity]
compiler/typecheck/TcExpr.lhs-boot [moved from ghc/compiler/typecheck/TcExpr.lhs-boot with 100% similarity]
compiler/typecheck/TcForeign.lhs [moved from ghc/compiler/typecheck/TcForeign.lhs with 100% similarity]
compiler/typecheck/TcGenDeriv.lhs [moved from ghc/compiler/typecheck/TcGenDeriv.lhs with 100% similarity]
compiler/typecheck/TcHsSyn.lhs [moved from ghc/compiler/typecheck/TcHsSyn.lhs with 100% similarity]
compiler/typecheck/TcHsType.lhs [moved from ghc/compiler/typecheck/TcHsType.lhs with 100% similarity]
compiler/typecheck/TcInstDcls.lhs [moved from ghc/compiler/typecheck/TcInstDcls.lhs with 100% similarity]
compiler/typecheck/TcMType.lhs [moved from ghc/compiler/typecheck/TcMType.lhs with 100% similarity]
compiler/typecheck/TcMatches.hi-boot-5 [moved from ghc/compiler/typecheck/TcMatches.hi-boot-5 with 100% similarity]
compiler/typecheck/TcMatches.hi-boot-6 [moved from ghc/compiler/typecheck/TcMatches.hi-boot-6 with 100% similarity]
compiler/typecheck/TcMatches.lhs [moved from ghc/compiler/typecheck/TcMatches.lhs with 100% similarity]
compiler/typecheck/TcMatches.lhs-boot [moved from ghc/compiler/typecheck/TcMatches.lhs-boot with 100% similarity]
compiler/typecheck/TcPat.lhs [moved from ghc/compiler/typecheck/TcPat.lhs with 100% similarity]
compiler/typecheck/TcRnDriver.lhs [moved from ghc/compiler/typecheck/TcRnDriver.lhs with 100% similarity]
compiler/typecheck/TcRnMonad.lhs [moved from ghc/compiler/typecheck/TcRnMonad.lhs with 100% similarity]
compiler/typecheck/TcRnTypes.lhs [moved from ghc/compiler/typecheck/TcRnTypes.lhs with 100% similarity]
compiler/typecheck/TcRules.lhs [moved from ghc/compiler/typecheck/TcRules.lhs with 100% similarity]
compiler/typecheck/TcSimplify.lhs [moved from ghc/compiler/typecheck/TcSimplify.lhs with 100% similarity]
compiler/typecheck/TcSplice.hi-boot-6 [moved from ghc/compiler/typecheck/TcSplice.hi-boot-6 with 100% similarity]
compiler/typecheck/TcSplice.lhs [moved from ghc/compiler/typecheck/TcSplice.lhs with 100% similarity]
compiler/typecheck/TcSplice.lhs-boot [moved from ghc/compiler/typecheck/TcSplice.lhs-boot with 100% similarity]
compiler/typecheck/TcTyClsDecls.lhs [moved from ghc/compiler/typecheck/TcTyClsDecls.lhs with 100% similarity]
compiler/typecheck/TcTyDecls.lhs [moved from ghc/compiler/typecheck/TcTyDecls.lhs with 100% similarity]
compiler/typecheck/TcType.hi-boot-5 [moved from ghc/compiler/typecheck/TcType.hi-boot-5 with 100% similarity]
compiler/typecheck/TcType.hi-boot-6 [moved from ghc/compiler/typecheck/TcType.hi-boot-6 with 100% similarity]
compiler/typecheck/TcType.lhs [moved from ghc/compiler/typecheck/TcType.lhs with 100% similarity]
compiler/typecheck/TcType.lhs-boot [moved from ghc/compiler/typecheck/TcType.lhs-boot with 100% similarity]
compiler/typecheck/TcUnify.hi-boot-5 [moved from ghc/compiler/typecheck/TcUnify.hi-boot-5 with 100% similarity]
compiler/typecheck/TcUnify.hi-boot-6 [moved from ghc/compiler/typecheck/TcUnify.hi-boot-6 with 100% similarity]
compiler/typecheck/TcUnify.lhs [moved from ghc/compiler/typecheck/TcUnify.lhs with 100% similarity]
compiler/typecheck/TcUnify.lhs-boot [moved from ghc/compiler/typecheck/TcUnify.lhs-boot with 100% similarity]
compiler/types/Class.lhs [moved from ghc/compiler/types/Class.lhs with 100% similarity]
compiler/types/FunDeps.lhs [moved from ghc/compiler/types/FunDeps.lhs with 100% similarity]
compiler/types/Generics.lhs [moved from ghc/compiler/types/Generics.lhs with 100% similarity]
compiler/types/InstEnv.lhs [moved from ghc/compiler/types/InstEnv.lhs with 100% similarity]
compiler/types/Kind.lhs [moved from ghc/compiler/types/Kind.lhs with 100% similarity]
compiler/types/TyCon.hi-boot-5 [moved from ghc/compiler/types/TyCon.hi-boot-5 with 100% similarity]
compiler/types/TyCon.hi-boot-6 [moved from ghc/compiler/types/TyCon.hi-boot-6 with 100% similarity]
compiler/types/TyCon.lhs [moved from ghc/compiler/types/TyCon.lhs with 100% similarity]
compiler/types/TyCon.lhs-boot [moved from ghc/compiler/types/TyCon.lhs-boot with 100% similarity]
compiler/types/Type.lhs [moved from ghc/compiler/types/Type.lhs with 100% similarity]
compiler/types/TypeRep.hi-boot-5 [moved from ghc/compiler/types/TypeRep.hi-boot-5 with 100% similarity]
compiler/types/TypeRep.hi-boot-6 [moved from ghc/compiler/types/TypeRep.hi-boot-6 with 100% similarity]
compiler/types/TypeRep.lhs [moved from ghc/compiler/types/TypeRep.lhs with 100% similarity]
compiler/types/TypeRep.lhs-boot [moved from ghc/compiler/types/TypeRep.lhs-boot with 100% similarity]
compiler/types/Unify.lhs [moved from ghc/compiler/types/Unify.lhs with 100% similarity]
compiler/utils/Bag.lhs [moved from ghc/compiler/utils/Bag.lhs with 100% similarity]
compiler/utils/Binary.hs [moved from ghc/compiler/utils/Binary.hs with 100% similarity]
compiler/utils/BitSet.lhs [moved from ghc/compiler/utils/BitSet.lhs with 100% similarity]
compiler/utils/BufWrite.hs [moved from ghc/compiler/utils/BufWrite.hs with 100% similarity]
compiler/utils/Digraph.lhs [moved from ghc/compiler/utils/Digraph.lhs with 100% similarity]
compiler/utils/Encoding.hs [moved from ghc/compiler/utils/Encoding.hs with 100% similarity]
compiler/utils/FastMutInt.lhs [moved from ghc/compiler/utils/FastMutInt.lhs with 100% similarity]
compiler/utils/FastString.lhs [moved from ghc/compiler/utils/FastString.lhs with 100% similarity]
compiler/utils/FastTypes.lhs [moved from ghc/compiler/utils/FastTypes.lhs with 100% similarity]
compiler/utils/FiniteMap.lhs [moved from ghc/compiler/utils/FiniteMap.lhs with 100% similarity]
compiler/utils/IOEnv.hs [moved from ghc/compiler/utils/IOEnv.hs with 100% similarity]
compiler/utils/ListSetOps.lhs [moved from ghc/compiler/utils/ListSetOps.lhs with 100% similarity]
compiler/utils/Maybes.lhs [moved from ghc/compiler/utils/Maybes.lhs with 100% similarity]
compiler/utils/OrdList.lhs [moved from ghc/compiler/utils/OrdList.lhs with 100% similarity]
compiler/utils/Outputable.lhs [moved from ghc/compiler/utils/Outputable.lhs with 100% similarity]
compiler/utils/Panic.lhs [moved from ghc/compiler/utils/Panic.lhs with 100% similarity]
compiler/utils/Pretty.lhs [moved from ghc/compiler/utils/Pretty.lhs with 100% similarity]
compiler/utils/StringBuffer.lhs [moved from ghc/compiler/utils/StringBuffer.lhs with 100% similarity]
compiler/utils/UniqFM.lhs [moved from ghc/compiler/utils/UniqFM.lhs with 100% similarity]
compiler/utils/UniqSet.lhs [moved from ghc/compiler/utils/UniqSet.lhs with 100% similarity]
compiler/utils/Util.lhs [moved from ghc/compiler/utils/Util.lhs with 100% similarity]
configure.ac
distrib/hc-build
docs/Makefile
docs/building/Makefile [moved from ghc/docs/building/Makefile with 100% similarity]
docs/building/building.xml [moved from ghc/docs/building/building.xml with 100% similarity]
docs/comm/exts/ndp.html [moved from ghc/docs/comm/exts/ndp.html with 100% similarity]
docs/comm/exts/th.html [moved from ghc/docs/comm/exts/th.html with 100% similarity]
docs/comm/feedback.html [moved from ghc/docs/comm/feedback.html with 100% similarity]
docs/comm/genesis/genesis.html [moved from ghc/docs/comm/genesis/genesis.html with 100% similarity]
docs/comm/genesis/makefiles.html [moved from ghc/docs/comm/genesis/makefiles.html with 100% similarity]
docs/comm/genesis/modules.html [moved from ghc/docs/comm/genesis/modules.html with 100% similarity]
docs/comm/index.html [moved from ghc/docs/comm/index.html with 100% similarity]
docs/comm/others.html [moved from ghc/docs/comm/others.html with 100% similarity]
docs/comm/rts-libs/coding-style.html [moved from ghc/docs/comm/rts-libs/coding-style.html with 100% similarity]
docs/comm/rts-libs/foreignptr.html [moved from ghc/docs/comm/rts-libs/foreignptr.html with 100% similarity]
docs/comm/rts-libs/multi-thread.html [moved from ghc/docs/comm/rts-libs/multi-thread.html with 100% similarity]
docs/comm/rts-libs/non-blocking.html [moved from ghc/docs/comm/rts-libs/non-blocking.html with 100% similarity]
docs/comm/rts-libs/prelfound.html [moved from ghc/docs/comm/rts-libs/prelfound.html with 100% similarity]
docs/comm/rts-libs/prelude.html [moved from ghc/docs/comm/rts-libs/prelude.html with 100% similarity]
docs/comm/rts-libs/primitives.html [moved from ghc/docs/comm/rts-libs/primitives.html with 100% similarity]
docs/comm/rts-libs/stgc.html [moved from ghc/docs/comm/rts-libs/stgc.html with 100% similarity]
docs/comm/rts-libs/threaded-rts.html [moved from ghc/docs/comm/rts-libs/threaded-rts.html with 100% similarity]
docs/comm/the-beast/alien.html [moved from ghc/docs/comm/the-beast/alien.html with 100% similarity]
docs/comm/the-beast/basicTypes.html [moved from ghc/docs/comm/the-beast/basicTypes.html with 100% similarity]
docs/comm/the-beast/coding-style.html [moved from ghc/docs/comm/the-beast/coding-style.html with 100% similarity]
docs/comm/the-beast/data-types.html [moved from ghc/docs/comm/the-beast/data-types.html with 100% similarity]
docs/comm/the-beast/desugar.html [moved from ghc/docs/comm/the-beast/desugar.html with 100% similarity]
docs/comm/the-beast/driver.html [moved from ghc/docs/comm/the-beast/driver.html with 100% similarity]
docs/comm/the-beast/fexport.html [moved from ghc/docs/comm/the-beast/fexport.html with 100% similarity]
docs/comm/the-beast/ghci.html [moved from ghc/docs/comm/the-beast/ghci.html with 100% similarity]
docs/comm/the-beast/main.html [moved from ghc/docs/comm/the-beast/main.html with 100% similarity]
docs/comm/the-beast/mangler.html [moved from ghc/docs/comm/the-beast/mangler.html with 100% similarity]
docs/comm/the-beast/modules.html [moved from ghc/docs/comm/the-beast/modules.html with 100% similarity]
docs/comm/the-beast/names.html [moved from ghc/docs/comm/the-beast/names.html with 100% similarity]
docs/comm/the-beast/ncg.html [moved from ghc/docs/comm/the-beast/ncg.html with 100% similarity]
docs/comm/the-beast/optimistic.html [moved from ghc/docs/comm/the-beast/optimistic.html with 100% similarity]
docs/comm/the-beast/prelude.html [moved from ghc/docs/comm/the-beast/prelude.html with 100% similarity]
docs/comm/the-beast/renamer.html [moved from ghc/docs/comm/the-beast/renamer.html with 100% similarity]
docs/comm/the-beast/simplifier.html [moved from ghc/docs/comm/the-beast/simplifier.html with 100% similarity]
docs/comm/the-beast/stg.html [moved from ghc/docs/comm/the-beast/stg.html with 100% similarity]
docs/comm/the-beast/syntax.html [moved from ghc/docs/comm/the-beast/syntax.html with 100% similarity]
docs/comm/the-beast/typecheck.html [moved from ghc/docs/comm/the-beast/typecheck.html with 100% similarity]
docs/comm/the-beast/types.html [moved from ghc/docs/comm/the-beast/types.html with 100% similarity]
docs/comm/the-beast/vars.html [moved from ghc/docs/comm/the-beast/vars.html with 100% similarity]
docs/ext-core/Makefile [moved from ghc/docs/ext-core/Makefile with 100% similarity]
docs/ext-core/a4wide.sty [moved from ghc/docs/ext-core/a4wide.sty with 100% similarity]
docs/ext-core/code.sty [moved from ghc/docs/ext-core/code.sty with 100% similarity]
docs/ext-core/core.tex [moved from ghc/docs/ext-core/core.tex with 100% similarity]
docs/ghci/ghci.tex [moved from ghc/docs/ghci/ghci.tex with 100% similarity]
docs/rts/closure.ps [moved from ghc/docs/rts/closure.ps with 100% similarity]
docs/rts/closure.tex [moved from ghc/docs/rts/closure.tex with 100% similarity]
docs/rts/hugs_ret.pstex [moved from ghc/docs/rts/hugs_ret.pstex with 100% similarity]
docs/rts/hugs_ret.pstex_t [moved from ghc/docs/rts/hugs_ret.pstex_t with 100% similarity]
docs/rts/hugs_ret2.pstex [moved from ghc/docs/rts/hugs_ret2.pstex with 100% similarity]
docs/rts/hugs_ret2.pstex_t [moved from ghc/docs/rts/hugs_ret2.pstex_t with 100% similarity]
docs/rts/rts.tex [moved from ghc/docs/rts/rts.tex with 100% similarity]
docs/storage-mgt/Makefile [moved from ghc/docs/storage-mgt/Makefile with 100% similarity]
docs/storage-mgt/architecture.eepic [moved from ghc/docs/storage-mgt/architecture.eepic with 100% similarity]
docs/storage-mgt/architecture.fig [moved from ghc/docs/storage-mgt/architecture.fig with 100% similarity]
docs/storage-mgt/cacheprof_p.eps [moved from ghc/docs/storage-mgt/cacheprof_p.eps with 100% similarity]
docs/storage-mgt/code.sty [moved from ghc/docs/storage-mgt/code.sty with 100% similarity]
docs/storage-mgt/freelist.eepic [moved from ghc/docs/storage-mgt/freelist.eepic with 100% similarity]
docs/storage-mgt/freelist.fig [moved from ghc/docs/storage-mgt/freelist.fig with 100% similarity]
docs/storage-mgt/gen.eepic [moved from ghc/docs/storage-mgt/gen.eepic with 100% similarity]
docs/storage-mgt/gen.fig [moved from ghc/docs/storage-mgt/gen.fig with 100% similarity]
docs/storage-mgt/generation.eepic [moved from ghc/docs/storage-mgt/generation.eepic with 100% similarity]
docs/storage-mgt/generation.fig [moved from ghc/docs/storage-mgt/generation.fig with 100% similarity]
docs/storage-mgt/largeobjectpool.eepic [moved from ghc/docs/storage-mgt/largeobjectpool.eepic with 100% similarity]
docs/storage-mgt/largeobjectpool.fig [moved from ghc/docs/storage-mgt/largeobjectpool.fig with 100% similarity]
docs/storage-mgt/ldv.eepic [moved from ghc/docs/storage-mgt/ldv.eepic with 100% similarity]
docs/storage-mgt/ldv.fig [moved from ghc/docs/storage-mgt/ldv.fig with 100% similarity]
docs/storage-mgt/ldv.tex [moved from ghc/docs/storage-mgt/ldv.tex with 100% similarity]
docs/storage-mgt/megablock.eepic [moved from ghc/docs/storage-mgt/megablock.eepic with 100% similarity]
docs/storage-mgt/megablock.fig [moved from ghc/docs/storage-mgt/megablock.fig with 100% similarity]
docs/storage-mgt/nursery.eepic [moved from ghc/docs/storage-mgt/nursery.eepic with 100% similarity]
docs/storage-mgt/nursery.fig [moved from ghc/docs/storage-mgt/nursery.fig with 100% similarity]
docs/storage-mgt/reference.bib [moved from ghc/docs/storage-mgt/reference.bib with 100% similarity]
docs/storage-mgt/rp.tex [moved from ghc/docs/storage-mgt/rp.tex with 100% similarity]
docs/storage-mgt/sm.tex [moved from ghc/docs/storage-mgt/sm.tex with 100% similarity]
docs/storage-mgt/smallobjectpool.eepic [moved from ghc/docs/storage-mgt/smallobjectpool.eepic with 100% similarity]
docs/storage-mgt/smallobjectpool.fig [moved from ghc/docs/storage-mgt/smallobjectpool.fig with 100% similarity]
docs/storage-mgt/step.eepic [moved from ghc/docs/storage-mgt/step.eepic with 100% similarity]
docs/storage-mgt/step.fig [moved from ghc/docs/storage-mgt/step.fig with 100% similarity]
docs/users_guide/5-00-notes.xml [moved from ghc/docs/users_guide/5-00-notes.xml with 100% similarity]
docs/users_guide/5-02-notes.xml [moved from ghc/docs/users_guide/5-02-notes.xml with 100% similarity]
docs/users_guide/5-04-notes.xml [moved from ghc/docs/users_guide/5-04-notes.xml with 100% similarity]
docs/users_guide/6.0-notes.xml [moved from ghc/docs/users_guide/6.0-notes.xml with 100% similarity]
docs/users_guide/Makefile [moved from ghc/docs/users_guide/Makefile with 100% similarity]
docs/users_guide/bugs.xml [moved from ghc/docs/users_guide/bugs.xml with 100% similarity]
docs/users_guide/debugging.xml [moved from ghc/docs/users_guide/debugging.xml with 100% similarity]
docs/users_guide/ffi-chap.xml [moved from ghc/docs/users_guide/ffi-chap.xml with 100% similarity]
docs/users_guide/flags.xml [moved from ghc/docs/users_guide/flags.xml with 100% similarity]
docs/users_guide/ghci.xml [moved from ghc/docs/users_guide/ghci.xml with 100% similarity]
docs/users_guide/glasgow_exts.xml [moved from ghc/docs/users_guide/glasgow_exts.xml with 100% similarity]
docs/users_guide/gone_wrong.xml [moved from ghc/docs/users_guide/gone_wrong.xml with 100% similarity]
docs/users_guide/installing.xml [moved from ghc/docs/users_guide/installing.xml with 100% similarity]
docs/users_guide/intro.xml [moved from ghc/docs/users_guide/intro.xml with 100% similarity]
docs/users_guide/lang.xml [moved from ghc/docs/users_guide/lang.xml with 100% similarity]
docs/users_guide/license.xml [moved from ghc/docs/users_guide/license.xml with 100% similarity]
docs/users_guide/packages.xml [moved from ghc/docs/users_guide/packages.xml with 100% similarity]
docs/users_guide/parallel.xml [moved from ghc/docs/users_guide/parallel.xml with 100% similarity]
docs/users_guide/phases.xml [moved from ghc/docs/users_guide/phases.xml with 100% similarity]
docs/users_guide/primitives.xml [moved from ghc/docs/users_guide/primitives.xml with 100% similarity]
docs/users_guide/profiling.xml [moved from ghc/docs/users_guide/profiling.xml with 100% similarity]
docs/users_guide/runtime_control.xml [moved from ghc/docs/users_guide/runtime_control.xml with 100% similarity]
docs/users_guide/separate_compilation.xml [moved from ghc/docs/users_guide/separate_compilation.xml with 100% similarity]
docs/users_guide/sooner.xml [moved from ghc/docs/users_guide/sooner.xml with 100% similarity]
docs/users_guide/ug-book.xml.in [moved from ghc/docs/users_guide/ug-book.xml.in with 100% similarity]
docs/users_guide/ug-ent.xml [moved from ghc/docs/users_guide/ug-ent.xml with 100% similarity]
docs/users_guide/users_guide.xml [moved from ghc/docs/users_guide/users_guide.xml with 100% similarity]
docs/users_guide/using.xml [moved from ghc/docs/users_guide/using.xml with 100% similarity]
docs/users_guide/utils.xml [moved from ghc/docs/users_guide/utils.xml with 100% similarity]
docs/users_guide/win32-dlls.xml [moved from ghc/docs/users_guide/win32-dlls.xml with 100% similarity]
docs/vh/Makefile [moved from ghc/docs/vh/Makefile with 100% similarity]
docs/vh/vh.xml [moved from ghc/docs/vh/vh.xml with 100% similarity]
driver/Makefile [moved from ghc/driver/Makefile with 100% similarity]
driver/ghc-usage.txt [moved from ghc/driver/ghc-usage.txt with 100% similarity]
driver/ghc/Makefile [moved from ghc/driver/ghc/Makefile with 100% similarity]
driver/ghc/ghc.sh [moved from ghc/driver/ghc/ghc.sh with 100% similarity]
driver/ghci-usage.txt [moved from ghc/driver/ghci-usage.txt with 100% similarity]
driver/ghci/Makefile [moved from ghc/driver/ghci/Makefile with 95% similarity]
driver/ghci/ghci.c [moved from ghc/driver/ghci/ghci.c with 100% similarity]
driver/ghci/ghci.ico [moved from ghc/driver/ghci/ghci.ico with 100% similarity]
driver/ghci/ghci.rc [moved from ghc/driver/ghci/ghci.rc with 100% similarity]
driver/ghci/ghci.sh [moved from ghc/driver/ghci/ghci.sh with 100% similarity]
driver/ghci/ghcii.sh [moved from ghc/driver/ghci/ghcii.sh with 100% similarity]
driver/mangler/Makefile [moved from ghc/driver/mangler/Makefile with 100% similarity]
driver/mangler/ghc-asm.lprl [moved from ghc/driver/mangler/ghc-asm.lprl with 100% similarity]
driver/ordering-passes [moved from ghc/driver/ordering-passes with 100% similarity]
driver/split/Makefile [moved from ghc/driver/split/Makefile with 100% similarity]
driver/split/ghc-split.lprl [moved from ghc/driver/split/ghc-split.lprl with 100% similarity]
driver/test_mangler [moved from ghc/driver/test_mangler with 100% similarity]
ghc.spec.in [moved from ghc/ghc.spec.in with 100% similarity]
ghc/Makefile
ghc/README [deleted file]
ghc/VERSION.in [deleted file]
ghc/aclocal.m4 [deleted file]
ghc/lib/Makefile [deleted file]
ghc/mk/boilerplate.mk [deleted file]
ghc/mk/config.mk.in [deleted file]
ghc/mk/paths.mk [deleted file]
ghc/mk/target.mk [deleted file]
ghc/mk/version.mk.in [deleted file]
ghc/utils/prof/cgprof/Makefile [deleted file]
ghc/utils/prof/icons/Makefile [deleted file]
glafp-utils/Makefile [deleted file]
glafp-utils/PATCHLEVEL [deleted file]
glafp-utils/README [deleted file]
glafp-utils/mk/boilerplate.mk [deleted file]
glafp-utils/mk/target.mk [deleted file]
glafp-utils/sgmlverb/Makefile [deleted file]
glafp-utils/sgmlverb/sgmlverb.lex [deleted file]
includes/Block.h [moved from ghc/includes/Block.h with 100% similarity]
includes/Bytecodes.h [moved from ghc/includes/Bytecodes.h with 100% similarity]
includes/ClosureMacros.h [moved from ghc/includes/ClosureMacros.h with 100% similarity]
includes/ClosureTypes.h [moved from ghc/includes/ClosureTypes.h with 100% similarity]
includes/Closures.h [moved from ghc/includes/Closures.h with 100% similarity]
includes/Cmm.h [moved from ghc/includes/Cmm.h with 100% similarity]
includes/Constants.h [moved from ghc/includes/Constants.h with 100% similarity]
includes/DNInvoke.h [moved from ghc/includes/DNInvoke.h with 100% similarity]
includes/Dotnet.h [moved from ghc/includes/Dotnet.h with 100% similarity]
includes/GranSim.h [moved from ghc/includes/GranSim.h with 100% similarity]
includes/Hooks.h [moved from ghc/includes/Hooks.h with 100% similarity]
includes/HsFFI.h [moved from ghc/includes/HsFFI.h with 100% similarity]
includes/InfoTables.h [moved from ghc/includes/InfoTables.h with 100% similarity]
includes/Linker.h [moved from ghc/includes/Linker.h with 100% similarity]
includes/Liveness.h [moved from ghc/includes/Liveness.h with 100% similarity]
includes/MachDeps.h [moved from ghc/includes/MachDeps.h with 100% similarity]
includes/MachRegs.h [moved from ghc/includes/MachRegs.h with 100% similarity]
includes/Makefile [moved from ghc/includes/Makefile with 99% similarity]
includes/OSThreads.h [moved from ghc/includes/OSThreads.h with 100% similarity]
includes/Parallel.h [moved from ghc/includes/Parallel.h with 100% similarity]
includes/README [moved from ghc/includes/README with 100% similarity]
includes/Regs.h [moved from ghc/includes/Regs.h with 100% similarity]
includes/Rts.h [moved from ghc/includes/Rts.h with 100% similarity]
includes/RtsAPI.h [moved from ghc/includes/RtsAPI.h with 100% similarity]
includes/RtsConfig.h [moved from ghc/includes/RtsConfig.h with 100% similarity]
includes/RtsExternal.h [moved from ghc/includes/RtsExternal.h with 100% similarity]
includes/RtsFlags.h [moved from ghc/includes/RtsFlags.h with 100% similarity]
includes/RtsMessages.h [moved from ghc/includes/RtsMessages.h with 100% similarity]
includes/RtsTypes.h [moved from ghc/includes/RtsTypes.h with 100% similarity]
includes/SMP.h [moved from ghc/includes/SMP.h with 100% similarity]
includes/STM.h [moved from ghc/includes/STM.h with 100% similarity]
includes/SchedAPI.h [moved from ghc/includes/SchedAPI.h with 100% similarity]
includes/Signals.h [moved from ghc/includes/Signals.h with 100% similarity]
includes/Stable.h [moved from ghc/includes/Stable.h with 100% similarity]
includes/Stg.h [moved from ghc/includes/Stg.h with 100% similarity]
includes/StgDLL.h [moved from ghc/includes/StgDLL.h with 100% similarity]
includes/StgFun.h [moved from ghc/includes/StgFun.h with 100% similarity]
includes/StgLdvProf.h [moved from ghc/includes/StgLdvProf.h with 100% similarity]
includes/StgMiscClosures.h [moved from ghc/includes/StgMiscClosures.h with 100% similarity]
includes/StgProf.h [moved from ghc/includes/StgProf.h with 100% similarity]
includes/StgTicky.h [moved from ghc/includes/StgTicky.h with 100% similarity]
includes/StgTypes.h [moved from ghc/includes/StgTypes.h with 100% similarity]
includes/Storage.h [moved from ghc/includes/Storage.h with 100% similarity]
includes/TSO.h [moved from ghc/includes/TSO.h with 100% similarity]
includes/TailCalls.h [moved from ghc/includes/TailCalls.h with 100% similarity]
includes/config.h [moved from ghc/includes/config.h with 100% similarity]
includes/ghcconfig.h [moved from ghc/includes/ghcconfig.h with 100% similarity]
includes/ieee-flpt.h [moved from ghc/includes/ieee-flpt.h with 100% similarity]
includes/mkDerivedConstants.c [moved from ghc/includes/mkDerivedConstants.c with 100% similarity]
libraries/mk/boilerplate.mk
mk/boilerplate.mk
mk/bootstrap.mk
mk/config.mk.in
mk/package.mk
mk/paths.mk
mk/suffix.mk
mk/target.mk
rts/Adjustor.c [moved from ghc/rts/Adjustor.c with 100% similarity]
rts/AdjustorAsm.S [moved from ghc/rts/AdjustorAsm.S with 100% similarity]
rts/Apply.cmm [moved from ghc/rts/Apply.cmm with 100% similarity]
rts/Apply.h [moved from ghc/rts/Apply.h with 100% similarity]
rts/Arena.c [moved from ghc/rts/Arena.c with 100% similarity]
rts/Arena.h [moved from ghc/rts/Arena.h with 100% similarity]
rts/AutoApply.h [moved from ghc/rts/AutoApply.h with 100% similarity]
rts/AwaitEvent.h [moved from ghc/rts/AwaitEvent.h with 100% similarity]
rts/BlockAlloc.c [moved from ghc/rts/BlockAlloc.c with 100% similarity]
rts/BlockAlloc.h [moved from ghc/rts/BlockAlloc.h with 100% similarity]
rts/Capability.c [moved from ghc/rts/Capability.c with 100% similarity]
rts/Capability.h [moved from ghc/rts/Capability.h with 100% similarity]
rts/ClosureFlags.c [moved from ghc/rts/ClosureFlags.c with 100% similarity]
rts/Disassembler.c [moved from ghc/rts/Disassembler.c with 100% similarity]
rts/Disassembler.h [moved from ghc/rts/Disassembler.h with 100% similarity]
rts/Exception.cmm [moved from ghc/rts/Exception.cmm with 100% similarity]
rts/Exception.h [moved from ghc/rts/Exception.h with 100% similarity]
rts/FrontPanel.c [moved from ghc/rts/FrontPanel.c with 100% similarity]
rts/FrontPanel.h [moved from ghc/rts/FrontPanel.h with 100% similarity]
rts/GC.c [moved from ghc/rts/GC.c with 100% similarity]
rts/GCCompact.c [moved from ghc/rts/GCCompact.c with 100% similarity]
rts/GCCompact.h [moved from ghc/rts/GCCompact.h with 100% similarity]
rts/GetTime.h [moved from ghc/rts/GetTime.h with 100% similarity]
rts/HSprel.def [moved from ghc/rts/HSprel.def with 100% similarity]
rts/Hash.c [moved from ghc/rts/Hash.c with 100% similarity]
rts/Hash.h [moved from ghc/rts/Hash.h with 100% similarity]
rts/HeapStackCheck.cmm [moved from ghc/rts/HeapStackCheck.cmm with 100% similarity]
rts/HsFFI.c [moved from ghc/rts/HsFFI.c with 100% similarity]
rts/Interpreter.c [moved from ghc/rts/Interpreter.c with 100% similarity]
rts/Interpreter.h [moved from ghc/rts/Interpreter.h with 100% similarity]
rts/LdvProfile.c [moved from ghc/rts/LdvProfile.c with 100% similarity]
rts/LdvProfile.h [moved from ghc/rts/LdvProfile.h with 100% similarity]
rts/Linker.c [moved from ghc/rts/Linker.c with 100% similarity]
rts/LinkerInternals.h [moved from ghc/rts/LinkerInternals.h with 100% similarity]
rts/MBlock.c [moved from ghc/rts/MBlock.c with 100% similarity]
rts/MBlock.h [moved from ghc/rts/MBlock.h with 100% similarity]
rts/Main.c [moved from ghc/rts/Main.c with 100% similarity]
rts/Makefile [moved from ghc/rts/Makefile with 99% similarity]
rts/PosixSource.h [moved from ghc/rts/PosixSource.h with 100% similarity]
rts/Prelude.h [moved from ghc/rts/Prelude.h with 100% similarity]
rts/PrimOps.cmm [moved from ghc/rts/PrimOps.cmm with 100% similarity]
rts/Printer.c [moved from ghc/rts/Printer.c with 100% similarity]
rts/Printer.h [moved from ghc/rts/Printer.h with 100% similarity]
rts/ProfHeap.c [moved from ghc/rts/ProfHeap.c with 100% similarity]
rts/ProfHeap.h [moved from ghc/rts/ProfHeap.h with 100% similarity]
rts/Profiling.c [moved from ghc/rts/Profiling.c with 100% similarity]
rts/Profiling.h [moved from ghc/rts/Profiling.h with 100% similarity]
rts/Proftimer.c [moved from ghc/rts/Proftimer.c with 100% similarity]
rts/Proftimer.h [moved from ghc/rts/Proftimer.h with 100% similarity]
rts/RetainerProfile.c [moved from ghc/rts/RetainerProfile.c with 100% similarity]
rts/RetainerProfile.h [moved from ghc/rts/RetainerProfile.h with 100% similarity]
rts/RetainerSet.c [moved from ghc/rts/RetainerSet.c with 100% similarity]
rts/RetainerSet.h [moved from ghc/rts/RetainerSet.h with 100% similarity]
rts/RtsAPI.c [moved from ghc/rts/RtsAPI.c with 100% similarity]
rts/RtsDllMain.c [moved from ghc/rts/RtsDllMain.c with 100% similarity]
rts/RtsFlags.c [moved from ghc/rts/RtsFlags.c with 100% similarity]
rts/RtsMessages.c [moved from ghc/rts/RtsMessages.c with 100% similarity]
rts/RtsSignals.h [moved from ghc/rts/RtsSignals.h with 100% similarity]
rts/RtsStartup.c [moved from ghc/rts/RtsStartup.c with 100% similarity]
rts/RtsUtils.c [moved from ghc/rts/RtsUtils.c with 100% similarity]
rts/RtsUtils.h [moved from ghc/rts/RtsUtils.h with 100% similarity]
rts/STM.c [moved from ghc/rts/STM.c with 100% similarity]
rts/Sanity.c [moved from ghc/rts/Sanity.c with 100% similarity]
rts/Sanity.h [moved from ghc/rts/Sanity.h with 100% similarity]
rts/Schedule.c [moved from ghc/rts/Schedule.c with 100% similarity]
rts/Schedule.h [moved from ghc/rts/Schedule.h with 100% similarity]
rts/Sparks.c [moved from ghc/rts/Sparks.c with 100% similarity]
rts/Sparks.h [moved from ghc/rts/Sparks.h with 100% similarity]
rts/Stable.c [moved from ghc/rts/Stable.c with 100% similarity]
rts/Stats.c [moved from ghc/rts/Stats.c with 100% similarity]
rts/Stats.h [moved from ghc/rts/Stats.h with 100% similarity]
rts/StgCRun.c [moved from ghc/rts/StgCRun.c with 100% similarity]
rts/StgMiscClosures.cmm [moved from ghc/rts/StgMiscClosures.cmm with 100% similarity]
rts/StgPrimFloat.c [moved from ghc/rts/StgPrimFloat.c with 100% similarity]
rts/StgRun.h [moved from ghc/rts/StgRun.h with 100% similarity]
rts/StgStartup.cmm [moved from ghc/rts/StgStartup.cmm with 100% similarity]
rts/StgStdThunks.cmm [moved from ghc/rts/StgStdThunks.cmm with 100% similarity]
rts/Storage.c [moved from ghc/rts/Storage.c with 100% similarity]
rts/Task.c [moved from ghc/rts/Task.c with 100% similarity]
rts/Task.h [moved from ghc/rts/Task.h with 100% similarity]
rts/ThreadLabels.c [moved from ghc/rts/ThreadLabels.c with 100% similarity]
rts/ThreadLabels.h [moved from ghc/rts/ThreadLabels.h with 100% similarity]
rts/Ticker.h [moved from ghc/rts/Ticker.h with 100% similarity]
rts/Ticky.c [moved from ghc/rts/Ticky.c with 100% similarity]
rts/Ticky.h [moved from ghc/rts/Ticky.h with 100% similarity]
rts/Timer.c [moved from ghc/rts/Timer.c with 100% similarity]
rts/Timer.h [moved from ghc/rts/Timer.h with 100% similarity]
rts/Updates.cmm [moved from ghc/rts/Updates.cmm with 100% similarity]
rts/Updates.h [moved from ghc/rts/Updates.h with 100% similarity]
rts/VisCallbacks.c [moved from ghc/rts/VisCallbacks.c with 100% similarity]
rts/VisCallbacks.h [moved from ghc/rts/VisCallbacks.h with 100% similarity]
rts/VisSupport.c [moved from ghc/rts/VisSupport.c with 100% similarity]
rts/VisSupport.h [moved from ghc/rts/VisSupport.h with 100% similarity]
rts/VisWindow.c [moved from ghc/rts/VisWindow.c with 100% similarity]
rts/VisWindow.h [moved from ghc/rts/VisWindow.h with 100% similarity]
rts/Weak.c [moved from ghc/rts/Weak.c with 100% similarity]
rts/Weak.h [moved from ghc/rts/Weak.h with 100% similarity]
rts/dotnet/Invoke.c [moved from ghc/rts/dotnet/Invoke.c with 100% similarity]
rts/dotnet/Invoker.cpp [moved from ghc/rts/dotnet/Invoker.cpp with 100% similarity]
rts/dotnet/Invoker.h [moved from ghc/rts/dotnet/Invoker.h with 100% similarity]
rts/dotnet/InvokerClient.h [moved from ghc/rts/dotnet/InvokerClient.h with 100% similarity]
rts/dotnet/Makefile [moved from ghc/rts/dotnet/Makefile with 100% similarity]
rts/dotnet/invoker.snk [moved from ghc/rts/dotnet/invoker.snk with 100% similarity]
rts/ghc-frontpanel.glade [moved from ghc/rts/ghc-frontpanel.glade with 100% similarity]
rts/gmp/.gdbinit [moved from ghc/rts/gmp/.gdbinit with 100% similarity]
rts/gmp/AUTHORS [moved from ghc/rts/gmp/AUTHORS with 100% similarity]
rts/gmp/COPYING [moved from ghc/rts/gmp/COPYING with 100% similarity]
rts/gmp/COPYING.LIB [moved from ghc/rts/gmp/COPYING.LIB with 100% similarity]
rts/gmp/INSTALL [moved from ghc/rts/gmp/INSTALL with 100% similarity]
rts/gmp/Makefile.am [moved from ghc/rts/gmp/Makefile.am with 100% similarity]
rts/gmp/Makefile.in [moved from ghc/rts/gmp/Makefile.in with 100% similarity]
rts/gmp/NEWS [moved from ghc/rts/gmp/NEWS with 100% similarity]
rts/gmp/README [moved from ghc/rts/gmp/README with 100% similarity]
rts/gmp/acconfig.h [moved from ghc/rts/gmp/acconfig.h with 100% similarity]
rts/gmp/acinclude.m4 [moved from ghc/rts/gmp/acinclude.m4 with 100% similarity]
rts/gmp/aclocal.m4 [moved from ghc/rts/gmp/aclocal.m4 with 100% similarity]
rts/gmp/ansi2knr.1 [moved from ghc/rts/gmp/ansi2knr.1 with 100% similarity]
rts/gmp/ansi2knr.c [moved from ghc/rts/gmp/ansi2knr.c with 100% similarity]
rts/gmp/assert.c [moved from ghc/rts/gmp/assert.c with 100% similarity]
rts/gmp/compat.c [moved from ghc/rts/gmp/compat.c with 100% similarity]
rts/gmp/config.guess [moved from ghc/rts/gmp/config.guess with 100% similarity]
rts/gmp/config.in [moved from ghc/rts/gmp/config.in with 100% similarity]
rts/gmp/config.sub [moved from ghc/rts/gmp/config.sub with 100% similarity]
rts/gmp/configure [moved from ghc/rts/gmp/configure with 100% similarity]
rts/gmp/configure.in [moved from ghc/rts/gmp/configure.in with 100% similarity]
rts/gmp/depcomp [moved from ghc/rts/gmp/depcomp with 100% similarity]
rts/gmp/errno.c [moved from ghc/rts/gmp/errno.c with 100% similarity]
rts/gmp/extract-dbl.c [moved from ghc/rts/gmp/extract-dbl.c with 100% similarity]
rts/gmp/gmp-impl.h [moved from ghc/rts/gmp/gmp-impl.h with 100% similarity]
rts/gmp/gmp.h [moved from ghc/rts/gmp/gmp.h with 100% similarity]
rts/gmp/insert-dbl.c [moved from ghc/rts/gmp/insert-dbl.c with 100% similarity]
rts/gmp/install-sh [moved from ghc/rts/gmp/install-sh with 100% similarity]
rts/gmp/longlong.h [moved from ghc/rts/gmp/longlong.h with 100% similarity]
rts/gmp/ltconfig [moved from ghc/rts/gmp/ltconfig with 100% similarity]
rts/gmp/ltmain.sh [moved from ghc/rts/gmp/ltmain.sh with 100% similarity]
rts/gmp/mdate-sh [moved from ghc/rts/gmp/mdate-sh with 100% similarity]
rts/gmp/memory.c [moved from ghc/rts/gmp/memory.c with 100% similarity]
rts/gmp/missing [moved from ghc/rts/gmp/missing with 100% similarity]
rts/gmp/mkinstalldirs [moved from ghc/rts/gmp/mkinstalldirs with 100% similarity]
rts/gmp/mp.h [moved from ghc/rts/gmp/mp.h with 100% similarity]
rts/gmp/mp_bpl.c [moved from ghc/rts/gmp/mp_bpl.c with 100% similarity]
rts/gmp/mp_clz_tab.c [moved from ghc/rts/gmp/mp_clz_tab.c with 100% similarity]
rts/gmp/mp_minv_tab.c [moved from ghc/rts/gmp/mp_minv_tab.c with 100% similarity]
rts/gmp/mp_set_fns.c [moved from ghc/rts/gmp/mp_set_fns.c with 100% similarity]
rts/gmp/mpn/Makefile.am [moved from ghc/rts/gmp/mpn/Makefile.am with 100% similarity]
rts/gmp/mpn/Makefile.in [moved from ghc/rts/gmp/mpn/Makefile.in with 100% similarity]
rts/gmp/mpn/README [moved from ghc/rts/gmp/mpn/README with 100% similarity]
rts/gmp/mpn/a29k/add_n.s [moved from ghc/rts/gmp/mpn/a29k/add_n.s with 100% similarity]
rts/gmp/mpn/a29k/addmul_1.s [moved from ghc/rts/gmp/mpn/a29k/addmul_1.s with 100% similarity]
rts/gmp/mpn/a29k/lshift.s [moved from ghc/rts/gmp/mpn/a29k/lshift.s with 100% similarity]
rts/gmp/mpn/a29k/mul_1.s [moved from ghc/rts/gmp/mpn/a29k/mul_1.s with 100% similarity]
rts/gmp/mpn/a29k/rshift.s [moved from ghc/rts/gmp/mpn/a29k/rshift.s with 100% similarity]
rts/gmp/mpn/a29k/sub_n.s [moved from ghc/rts/gmp/mpn/a29k/sub_n.s with 100% similarity]
rts/gmp/mpn/a29k/submul_1.s [moved from ghc/rts/gmp/mpn/a29k/submul_1.s with 100% similarity]
rts/gmp/mpn/a29k/udiv.s [moved from ghc/rts/gmp/mpn/a29k/udiv.s with 100% similarity]
rts/gmp/mpn/a29k/umul.s [moved from ghc/rts/gmp/mpn/a29k/umul.s with 100% similarity]
rts/gmp/mpn/alpha/README [moved from ghc/rts/gmp/mpn/alpha/README with 100% similarity]
rts/gmp/mpn/alpha/add_n.asm [moved from ghc/rts/gmp/mpn/alpha/add_n.asm with 100% similarity]
rts/gmp/mpn/alpha/addmul_1.asm [moved from ghc/rts/gmp/mpn/alpha/addmul_1.asm with 100% similarity]
rts/gmp/mpn/alpha/cntlz.asm [moved from ghc/rts/gmp/mpn/alpha/cntlz.asm with 100% similarity]
rts/gmp/mpn/alpha/default.m4 [moved from ghc/rts/gmp/mpn/alpha/default.m4 with 100% similarity]
rts/gmp/mpn/alpha/ev5/add_n.asm [moved from ghc/rts/gmp/mpn/alpha/ev5/add_n.asm with 100% similarity]
rts/gmp/mpn/alpha/ev5/lshift.asm [moved from ghc/rts/gmp/mpn/alpha/ev5/lshift.asm with 100% similarity]
rts/gmp/mpn/alpha/ev5/rshift.asm [moved from ghc/rts/gmp/mpn/alpha/ev5/rshift.asm with 100% similarity]
rts/gmp/mpn/alpha/ev5/sub_n.asm [moved from ghc/rts/gmp/mpn/alpha/ev5/sub_n.asm with 100% similarity]
rts/gmp/mpn/alpha/ev6/addmul_1.asm [moved from ghc/rts/gmp/mpn/alpha/ev6/addmul_1.asm with 100% similarity]
rts/gmp/mpn/alpha/ev6/gmp-mparam.h [moved from ghc/rts/gmp/mpn/alpha/ev6/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/alpha/gmp-mparam.h [moved from ghc/rts/gmp/mpn/alpha/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/alpha/invert_limb.asm [moved from ghc/rts/gmp/mpn/alpha/invert_limb.asm with 100% similarity]
rts/gmp/mpn/alpha/lshift.asm [moved from ghc/rts/gmp/mpn/alpha/lshift.asm with 100% similarity]
rts/gmp/mpn/alpha/mul_1.asm [moved from ghc/rts/gmp/mpn/alpha/mul_1.asm with 100% similarity]
rts/gmp/mpn/alpha/rshift.asm [moved from ghc/rts/gmp/mpn/alpha/rshift.asm with 100% similarity]
rts/gmp/mpn/alpha/sub_n.asm [moved from ghc/rts/gmp/mpn/alpha/sub_n.asm with 100% similarity]
rts/gmp/mpn/alpha/submul_1.asm [moved from ghc/rts/gmp/mpn/alpha/submul_1.asm with 100% similarity]
rts/gmp/mpn/alpha/udiv_qrnnd.S [moved from ghc/rts/gmp/mpn/alpha/udiv_qrnnd.S with 100% similarity]
rts/gmp/mpn/alpha/umul.asm [moved from ghc/rts/gmp/mpn/alpha/umul.asm with 100% similarity]
rts/gmp/mpn/alpha/unicos.m4 [moved from ghc/rts/gmp/mpn/alpha/unicos.m4 with 100% similarity]
rts/gmp/mpn/arm/add_n.S [moved from ghc/rts/gmp/mpn/arm/add_n.S with 100% similarity]
rts/gmp/mpn/arm/addmul_1.S [moved from ghc/rts/gmp/mpn/arm/addmul_1.S with 100% similarity]
rts/gmp/mpn/arm/gmp-mparam.h [moved from ghc/rts/gmp/mpn/arm/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/arm/mul_1.S [moved from ghc/rts/gmp/mpn/arm/mul_1.S with 100% similarity]
rts/gmp/mpn/arm/sub_n.S [moved from ghc/rts/gmp/mpn/arm/sub_n.S with 100% similarity]
rts/gmp/mpn/asm-defs.m4 [moved from ghc/rts/gmp/mpn/asm-defs.m4 with 100% similarity]
rts/gmp/mpn/clipper/add_n.s [moved from ghc/rts/gmp/mpn/clipper/add_n.s with 100% similarity]
rts/gmp/mpn/clipper/mul_1.s [moved from ghc/rts/gmp/mpn/clipper/mul_1.s with 100% similarity]
rts/gmp/mpn/clipper/sub_n.s [moved from ghc/rts/gmp/mpn/clipper/sub_n.s with 100% similarity]
rts/gmp/mpn/cray/README [moved from ghc/rts/gmp/mpn/cray/README with 100% similarity]
rts/gmp/mpn/cray/add_n.c [moved from ghc/rts/gmp/mpn/cray/add_n.c with 100% similarity]
rts/gmp/mpn/cray/addmul_1.c [moved from ghc/rts/gmp/mpn/cray/addmul_1.c with 100% similarity]
rts/gmp/mpn/cray/gmp-mparam.h [moved from ghc/rts/gmp/mpn/cray/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/cray/mul_1.c [moved from ghc/rts/gmp/mpn/cray/mul_1.c with 100% similarity]
rts/gmp/mpn/cray/mulww.f [moved from ghc/rts/gmp/mpn/cray/mulww.f with 100% similarity]
rts/gmp/mpn/cray/mulww.s [moved from ghc/rts/gmp/mpn/cray/mulww.s with 100% similarity]
rts/gmp/mpn/cray/sub_n.c [moved from ghc/rts/gmp/mpn/cray/sub_n.c with 100% similarity]
rts/gmp/mpn/cray/submul_1.c [moved from ghc/rts/gmp/mpn/cray/submul_1.c with 100% similarity]
rts/gmp/mpn/generic/add_n.c [moved from ghc/rts/gmp/mpn/generic/add_n.c with 100% similarity]
rts/gmp/mpn/generic/addmul_1.c [moved from ghc/rts/gmp/mpn/generic/addmul_1.c with 100% similarity]
rts/gmp/mpn/generic/addsub_n.c [moved from ghc/rts/gmp/mpn/generic/addsub_n.c with 100% similarity]
rts/gmp/mpn/generic/bdivmod.c [moved from ghc/rts/gmp/mpn/generic/bdivmod.c with 100% similarity]
rts/gmp/mpn/generic/bz_divrem_n.c [moved from ghc/rts/gmp/mpn/generic/bz_divrem_n.c with 100% similarity]
rts/gmp/mpn/generic/cmp.c [moved from ghc/rts/gmp/mpn/generic/cmp.c with 100% similarity]
rts/gmp/mpn/generic/diveby3.c [moved from ghc/rts/gmp/mpn/generic/diveby3.c with 100% similarity]
rts/gmp/mpn/generic/divrem.c [moved from ghc/rts/gmp/mpn/generic/divrem.c with 100% similarity]
rts/gmp/mpn/generic/divrem_1.c [moved from ghc/rts/gmp/mpn/generic/divrem_1.c with 100% similarity]
rts/gmp/mpn/generic/divrem_2.c [moved from ghc/rts/gmp/mpn/generic/divrem_2.c with 100% similarity]
rts/gmp/mpn/generic/dump.c [moved from ghc/rts/gmp/mpn/generic/dump.c with 100% similarity]
rts/gmp/mpn/generic/gcd.c [moved from ghc/rts/gmp/mpn/generic/gcd.c with 100% similarity]
rts/gmp/mpn/generic/gcd_1.c [moved from ghc/rts/gmp/mpn/generic/gcd_1.c with 100% similarity]
rts/gmp/mpn/generic/gcdext.c [moved from ghc/rts/gmp/mpn/generic/gcdext.c with 100% similarity]
rts/gmp/mpn/generic/get_str.c [moved from ghc/rts/gmp/mpn/generic/get_str.c with 100% similarity]
rts/gmp/mpn/generic/gmp-mparam.h [moved from ghc/rts/gmp/mpn/generic/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/generic/hamdist.c [moved from ghc/rts/gmp/mpn/generic/hamdist.c with 100% similarity]
rts/gmp/mpn/generic/inlines.c [moved from ghc/rts/gmp/mpn/generic/inlines.c with 100% similarity]
rts/gmp/mpn/generic/jacbase.c [moved from ghc/rts/gmp/mpn/generic/jacbase.c with 100% similarity]
rts/gmp/mpn/generic/lshift.c [moved from ghc/rts/gmp/mpn/generic/lshift.c with 100% similarity]
rts/gmp/mpn/generic/mod_1.c [moved from ghc/rts/gmp/mpn/generic/mod_1.c with 100% similarity]
rts/gmp/mpn/generic/mod_1_rs.c [moved from ghc/rts/gmp/mpn/generic/mod_1_rs.c with 100% similarity]
rts/gmp/mpn/generic/mul.c [moved from ghc/rts/gmp/mpn/generic/mul.c with 100% similarity]
rts/gmp/mpn/generic/mul_1.c [moved from ghc/rts/gmp/mpn/generic/mul_1.c with 100% similarity]
rts/gmp/mpn/generic/mul_basecase.c [moved from ghc/rts/gmp/mpn/generic/mul_basecase.c with 100% similarity]
rts/gmp/mpn/generic/mul_fft.c [moved from ghc/rts/gmp/mpn/generic/mul_fft.c with 100% similarity]
rts/gmp/mpn/generic/mul_n.c [moved from ghc/rts/gmp/mpn/generic/mul_n.c with 100% similarity]
rts/gmp/mpn/generic/perfsqr.c [moved from ghc/rts/gmp/mpn/generic/perfsqr.c with 100% similarity]
rts/gmp/mpn/generic/popcount.c [moved from ghc/rts/gmp/mpn/generic/popcount.c with 100% similarity]
rts/gmp/mpn/generic/pre_mod_1.c [moved from ghc/rts/gmp/mpn/generic/pre_mod_1.c with 100% similarity]
rts/gmp/mpn/generic/random.c [moved from ghc/rts/gmp/mpn/generic/random.c with 100% similarity]
rts/gmp/mpn/generic/random2.c [moved from ghc/rts/gmp/mpn/generic/random2.c with 100% similarity]
rts/gmp/mpn/generic/rshift.c [moved from ghc/rts/gmp/mpn/generic/rshift.c with 100% similarity]
rts/gmp/mpn/generic/sb_divrem_mn.c [moved from ghc/rts/gmp/mpn/generic/sb_divrem_mn.c with 100% similarity]
rts/gmp/mpn/generic/scan0.c [moved from ghc/rts/gmp/mpn/generic/scan0.c with 100% similarity]
rts/gmp/mpn/generic/scan1.c [moved from ghc/rts/gmp/mpn/generic/scan1.c with 100% similarity]
rts/gmp/mpn/generic/set_str.c [moved from ghc/rts/gmp/mpn/generic/set_str.c with 100% similarity]
rts/gmp/mpn/generic/sqr_basecase.c [moved from ghc/rts/gmp/mpn/generic/sqr_basecase.c with 100% similarity]
rts/gmp/mpn/generic/sqrtrem.c [moved from ghc/rts/gmp/mpn/generic/sqrtrem.c with 100% similarity]
rts/gmp/mpn/generic/sub_n.c [moved from ghc/rts/gmp/mpn/generic/sub_n.c with 100% similarity]
rts/gmp/mpn/generic/submul_1.c [moved from ghc/rts/gmp/mpn/generic/submul_1.c with 100% similarity]
rts/gmp/mpn/generic/tdiv_qr.c [moved from ghc/rts/gmp/mpn/generic/tdiv_qr.c with 100% similarity]
rts/gmp/mpn/generic/udiv_w_sdiv.c [moved from ghc/rts/gmp/mpn/generic/udiv_w_sdiv.c with 100% similarity]
rts/gmp/mpn/hppa/README [moved from ghc/rts/gmp/mpn/hppa/README with 100% similarity]
rts/gmp/mpn/hppa/add_n.s [moved from ghc/rts/gmp/mpn/hppa/add_n.s with 100% similarity]
rts/gmp/mpn/hppa/gmp-mparam.h [moved from ghc/rts/gmp/mpn/hppa/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/hppa/hppa1_1/addmul_1.s [moved from ghc/rts/gmp/mpn/hppa/hppa1_1/addmul_1.s with 100% similarity]
rts/gmp/mpn/hppa/hppa1_1/mul_1.s [moved from ghc/rts/gmp/mpn/hppa/hppa1_1/mul_1.s with 100% similarity]
rts/gmp/mpn/hppa/hppa1_1/pa7100/add_n.s [moved from ghc/rts/gmp/mpn/hppa/hppa1_1/pa7100/add_n.s with 100% similarity]
rts/gmp/mpn/hppa/hppa1_1/pa7100/addmul_1.S [moved from ghc/rts/gmp/mpn/hppa/hppa1_1/pa7100/addmul_1.S with 100% similarity]
rts/gmp/mpn/hppa/hppa1_1/pa7100/lshift.s [moved from ghc/rts/gmp/mpn/hppa/hppa1_1/pa7100/lshift.s with 100% similarity]
rts/gmp/mpn/hppa/hppa1_1/pa7100/rshift.s [moved from ghc/rts/gmp/mpn/hppa/hppa1_1/pa7100/rshift.s with 100% similarity]
rts/gmp/mpn/hppa/hppa1_1/pa7100/sub_n.s [moved from ghc/rts/gmp/mpn/hppa/hppa1_1/pa7100/sub_n.s with 100% similarity]
rts/gmp/mpn/hppa/hppa1_1/pa7100/submul_1.S [moved from ghc/rts/gmp/mpn/hppa/hppa1_1/pa7100/submul_1.S with 100% similarity]
rts/gmp/mpn/hppa/hppa1_1/submul_1.s [moved from ghc/rts/gmp/mpn/hppa/hppa1_1/submul_1.s with 100% similarity]
rts/gmp/mpn/hppa/hppa1_1/udiv_qrnnd.S [moved from ghc/rts/gmp/mpn/hppa/hppa1_1/udiv_qrnnd.S with 100% similarity]
rts/gmp/mpn/hppa/hppa1_1/umul.s [moved from ghc/rts/gmp/mpn/hppa/hppa1_1/umul.s with 100% similarity]
rts/gmp/mpn/hppa/hppa2_0/add_n.s [moved from ghc/rts/gmp/mpn/hppa/hppa2_0/add_n.s with 100% similarity]
rts/gmp/mpn/hppa/hppa2_0/sub_n.s [moved from ghc/rts/gmp/mpn/hppa/hppa2_0/sub_n.s with 100% similarity]
rts/gmp/mpn/hppa/lshift.s [moved from ghc/rts/gmp/mpn/hppa/lshift.s with 100% similarity]
rts/gmp/mpn/hppa/rshift.s [moved from ghc/rts/gmp/mpn/hppa/rshift.s with 100% similarity]
rts/gmp/mpn/hppa/sub_n.s [moved from ghc/rts/gmp/mpn/hppa/sub_n.s with 100% similarity]
rts/gmp/mpn/hppa/udiv_qrnnd.s [moved from ghc/rts/gmp/mpn/hppa/udiv_qrnnd.s with 100% similarity]
rts/gmp/mpn/i960/README [moved from ghc/rts/gmp/mpn/i960/README with 100% similarity]
rts/gmp/mpn/i960/add_n.s [moved from ghc/rts/gmp/mpn/i960/add_n.s with 100% similarity]
rts/gmp/mpn/i960/addmul_1.s [moved from ghc/rts/gmp/mpn/i960/addmul_1.s with 100% similarity]
rts/gmp/mpn/i960/mul_1.s [moved from ghc/rts/gmp/mpn/i960/mul_1.s with 100% similarity]
rts/gmp/mpn/i960/sub_n.s [moved from ghc/rts/gmp/mpn/i960/sub_n.s with 100% similarity]
rts/gmp/mpn/lisp/gmpasm-mode.el [moved from ghc/rts/gmp/mpn/lisp/gmpasm-mode.el with 100% similarity]
rts/gmp/mpn/m68k/add_n.S [moved from ghc/rts/gmp/mpn/m68k/add_n.S with 100% similarity]
rts/gmp/mpn/m68k/lshift.S [moved from ghc/rts/gmp/mpn/m68k/lshift.S with 100% similarity]
rts/gmp/mpn/m68k/mc68020/addmul_1.S [moved from ghc/rts/gmp/mpn/m68k/mc68020/addmul_1.S with 100% similarity]
rts/gmp/mpn/m68k/mc68020/mul_1.S [moved from ghc/rts/gmp/mpn/m68k/mc68020/mul_1.S with 100% similarity]
rts/gmp/mpn/m68k/mc68020/submul_1.S [moved from ghc/rts/gmp/mpn/m68k/mc68020/submul_1.S with 100% similarity]
rts/gmp/mpn/m68k/mc68020/udiv.S [moved from ghc/rts/gmp/mpn/m68k/mc68020/udiv.S with 100% similarity]
rts/gmp/mpn/m68k/mc68020/umul.S [moved from ghc/rts/gmp/mpn/m68k/mc68020/umul.S with 100% similarity]
rts/gmp/mpn/m68k/rshift.S [moved from ghc/rts/gmp/mpn/m68k/rshift.S with 100% similarity]
rts/gmp/mpn/m68k/sub_n.S [moved from ghc/rts/gmp/mpn/m68k/sub_n.S with 100% similarity]
rts/gmp/mpn/m68k/syntax.h [moved from ghc/rts/gmp/mpn/m68k/syntax.h with 100% similarity]
rts/gmp/mpn/m88k/add_n.s [moved from ghc/rts/gmp/mpn/m88k/add_n.s with 100% similarity]
rts/gmp/mpn/m88k/mc88110/add_n.S [moved from ghc/rts/gmp/mpn/m88k/mc88110/add_n.S with 100% similarity]
rts/gmp/mpn/m88k/mc88110/addmul_1.s [moved from ghc/rts/gmp/mpn/m88k/mc88110/addmul_1.s with 100% similarity]
rts/gmp/mpn/m88k/mc88110/mul_1.s [moved from ghc/rts/gmp/mpn/m88k/mc88110/mul_1.s with 100% similarity]
rts/gmp/mpn/m88k/mc88110/sub_n.S [moved from ghc/rts/gmp/mpn/m88k/mc88110/sub_n.S with 100% similarity]
rts/gmp/mpn/m88k/mul_1.s [moved from ghc/rts/gmp/mpn/m88k/mul_1.s with 100% similarity]
rts/gmp/mpn/m88k/sub_n.s [moved from ghc/rts/gmp/mpn/m88k/sub_n.s with 100% similarity]
rts/gmp/mpn/mips2/add_n.s [moved from ghc/rts/gmp/mpn/mips2/add_n.s with 100% similarity]
rts/gmp/mpn/mips2/addmul_1.s [moved from ghc/rts/gmp/mpn/mips2/addmul_1.s with 100% similarity]
rts/gmp/mpn/mips2/lshift.s [moved from ghc/rts/gmp/mpn/mips2/lshift.s with 100% similarity]
rts/gmp/mpn/mips2/mul_1.s [moved from ghc/rts/gmp/mpn/mips2/mul_1.s with 100% similarity]
rts/gmp/mpn/mips2/rshift.s [moved from ghc/rts/gmp/mpn/mips2/rshift.s with 100% similarity]
rts/gmp/mpn/mips2/sub_n.s [moved from ghc/rts/gmp/mpn/mips2/sub_n.s with 100% similarity]
rts/gmp/mpn/mips2/submul_1.s [moved from ghc/rts/gmp/mpn/mips2/submul_1.s with 100% similarity]
rts/gmp/mpn/mips2/umul.s [moved from ghc/rts/gmp/mpn/mips2/umul.s with 100% similarity]
rts/gmp/mpn/mips3/README [moved from ghc/rts/gmp/mpn/mips3/README with 100% similarity]
rts/gmp/mpn/mips3/add_n.s [moved from ghc/rts/gmp/mpn/mips3/add_n.s with 100% similarity]
rts/gmp/mpn/mips3/addmul_1.s [moved from ghc/rts/gmp/mpn/mips3/addmul_1.s with 100% similarity]
rts/gmp/mpn/mips3/gmp-mparam.h [moved from ghc/rts/gmp/mpn/mips3/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/mips3/lshift.s [moved from ghc/rts/gmp/mpn/mips3/lshift.s with 100% similarity]
rts/gmp/mpn/mips3/mul_1.s [moved from ghc/rts/gmp/mpn/mips3/mul_1.s with 100% similarity]
rts/gmp/mpn/mips3/rshift.s [moved from ghc/rts/gmp/mpn/mips3/rshift.s with 100% similarity]
rts/gmp/mpn/mips3/sub_n.s [moved from ghc/rts/gmp/mpn/mips3/sub_n.s with 100% similarity]
rts/gmp/mpn/mips3/submul_1.s [moved from ghc/rts/gmp/mpn/mips3/submul_1.s with 100% similarity]
rts/gmp/mpn/mp_bases.c [moved from ghc/rts/gmp/mpn/mp_bases.c with 100% similarity]
rts/gmp/mpn/ns32k/add_n.s [moved from ghc/rts/gmp/mpn/ns32k/add_n.s with 100% similarity]
rts/gmp/mpn/ns32k/addmul_1.s [moved from ghc/rts/gmp/mpn/ns32k/addmul_1.s with 100% similarity]
rts/gmp/mpn/ns32k/mul_1.s [moved from ghc/rts/gmp/mpn/ns32k/mul_1.s with 100% similarity]
rts/gmp/mpn/ns32k/sub_n.s [moved from ghc/rts/gmp/mpn/ns32k/sub_n.s with 100% similarity]
rts/gmp/mpn/ns32k/submul_1.s [moved from ghc/rts/gmp/mpn/ns32k/submul_1.s with 100% similarity]
rts/gmp/mpn/pa64/README [moved from ghc/rts/gmp/mpn/pa64/README with 100% similarity]
rts/gmp/mpn/pa64/add_n.s [moved from ghc/rts/gmp/mpn/pa64/add_n.s with 100% similarity]
rts/gmp/mpn/pa64/addmul_1.S [moved from ghc/rts/gmp/mpn/pa64/addmul_1.S with 100% similarity]
rts/gmp/mpn/pa64/gmp-mparam.h [moved from ghc/rts/gmp/mpn/pa64/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/pa64/lshift.s [moved from ghc/rts/gmp/mpn/pa64/lshift.s with 100% similarity]
rts/gmp/mpn/pa64/mul_1.S [moved from ghc/rts/gmp/mpn/pa64/mul_1.S with 100% similarity]
rts/gmp/mpn/pa64/rshift.s [moved from ghc/rts/gmp/mpn/pa64/rshift.s with 100% similarity]
rts/gmp/mpn/pa64/sub_n.s [moved from ghc/rts/gmp/mpn/pa64/sub_n.s with 100% similarity]
rts/gmp/mpn/pa64/submul_1.S [moved from ghc/rts/gmp/mpn/pa64/submul_1.S with 100% similarity]
rts/gmp/mpn/pa64/udiv_qrnnd.c [moved from ghc/rts/gmp/mpn/pa64/udiv_qrnnd.c with 100% similarity]
rts/gmp/mpn/pa64/umul_ppmm.S [moved from ghc/rts/gmp/mpn/pa64/umul_ppmm.S with 100% similarity]
rts/gmp/mpn/pa64w/README [moved from ghc/rts/gmp/mpn/pa64w/README with 100% similarity]
rts/gmp/mpn/pa64w/add_n.s [moved from ghc/rts/gmp/mpn/pa64w/add_n.s with 100% similarity]
rts/gmp/mpn/pa64w/addmul_1.S [moved from ghc/rts/gmp/mpn/pa64w/addmul_1.S with 100% similarity]
rts/gmp/mpn/pa64w/gmp-mparam.h [moved from ghc/rts/gmp/mpn/pa64w/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/pa64w/lshift.s [moved from ghc/rts/gmp/mpn/pa64w/lshift.s with 100% similarity]
rts/gmp/mpn/pa64w/mul_1.S [moved from ghc/rts/gmp/mpn/pa64w/mul_1.S with 100% similarity]
rts/gmp/mpn/pa64w/rshift.s [moved from ghc/rts/gmp/mpn/pa64w/rshift.s with 100% similarity]
rts/gmp/mpn/pa64w/sub_n.s [moved from ghc/rts/gmp/mpn/pa64w/sub_n.s with 100% similarity]
rts/gmp/mpn/pa64w/submul_1.S [moved from ghc/rts/gmp/mpn/pa64w/submul_1.S with 100% similarity]
rts/gmp/mpn/pa64w/udiv_qrnnd.c [moved from ghc/rts/gmp/mpn/pa64w/udiv_qrnnd.c with 100% similarity]
rts/gmp/mpn/pa64w/umul_ppmm.S [moved from ghc/rts/gmp/mpn/pa64w/umul_ppmm.S with 100% similarity]
rts/gmp/mpn/power/add_n.s [moved from ghc/rts/gmp/mpn/power/add_n.s with 100% similarity]
rts/gmp/mpn/power/addmul_1.s [moved from ghc/rts/gmp/mpn/power/addmul_1.s with 100% similarity]
rts/gmp/mpn/power/lshift.s [moved from ghc/rts/gmp/mpn/power/lshift.s with 100% similarity]
rts/gmp/mpn/power/mul_1.s [moved from ghc/rts/gmp/mpn/power/mul_1.s with 100% similarity]
rts/gmp/mpn/power/rshift.s [moved from ghc/rts/gmp/mpn/power/rshift.s with 100% similarity]
rts/gmp/mpn/power/sdiv.s [moved from ghc/rts/gmp/mpn/power/sdiv.s with 100% similarity]
rts/gmp/mpn/power/sub_n.s [moved from ghc/rts/gmp/mpn/power/sub_n.s with 100% similarity]
rts/gmp/mpn/power/submul_1.s [moved from ghc/rts/gmp/mpn/power/submul_1.s with 100% similarity]
rts/gmp/mpn/power/umul.s [moved from ghc/rts/gmp/mpn/power/umul.s with 100% similarity]
rts/gmp/mpn/powerpc32/add_n.asm [moved from ghc/rts/gmp/mpn/powerpc32/add_n.asm with 100% similarity]
rts/gmp/mpn/powerpc32/addmul_1.asm [moved from ghc/rts/gmp/mpn/powerpc32/addmul_1.asm with 100% similarity]
rts/gmp/mpn/powerpc32/aix.m4 [moved from ghc/rts/gmp/mpn/powerpc32/aix.m4 with 100% similarity]
rts/gmp/mpn/powerpc32/gmp-mparam.h [moved from ghc/rts/gmp/mpn/powerpc32/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/powerpc32/lshift.asm [moved from ghc/rts/gmp/mpn/powerpc32/lshift.asm with 100% similarity]
rts/gmp/mpn/powerpc32/mul_1.asm [moved from ghc/rts/gmp/mpn/powerpc32/mul_1.asm with 100% similarity]
rts/gmp/mpn/powerpc32/regmap.m4 [moved from ghc/rts/gmp/mpn/powerpc32/regmap.m4 with 100% similarity]
rts/gmp/mpn/powerpc32/rshift.asm [moved from ghc/rts/gmp/mpn/powerpc32/rshift.asm with 100% similarity]
rts/gmp/mpn/powerpc32/sub_n.asm [moved from ghc/rts/gmp/mpn/powerpc32/sub_n.asm with 100% similarity]
rts/gmp/mpn/powerpc32/submul_1.asm [moved from ghc/rts/gmp/mpn/powerpc32/submul_1.asm with 100% similarity]
rts/gmp/mpn/powerpc32/umul.asm [moved from ghc/rts/gmp/mpn/powerpc32/umul.asm with 100% similarity]
rts/gmp/mpn/powerpc64/README [moved from ghc/rts/gmp/mpn/powerpc64/README with 100% similarity]
rts/gmp/mpn/powerpc64/add_n.asm [moved from ghc/rts/gmp/mpn/powerpc64/add_n.asm with 100% similarity]
rts/gmp/mpn/powerpc64/addmul_1.asm [moved from ghc/rts/gmp/mpn/powerpc64/addmul_1.asm with 100% similarity]
rts/gmp/mpn/powerpc64/addsub_n.asm [moved from ghc/rts/gmp/mpn/powerpc64/addsub_n.asm with 100% similarity]
rts/gmp/mpn/powerpc64/aix.m4 [moved from ghc/rts/gmp/mpn/powerpc64/aix.m4 with 100% similarity]
rts/gmp/mpn/powerpc64/copyd.asm [moved from ghc/rts/gmp/mpn/powerpc64/copyd.asm with 100% similarity]
rts/gmp/mpn/powerpc64/copyi.asm [moved from ghc/rts/gmp/mpn/powerpc64/copyi.asm with 100% similarity]
rts/gmp/mpn/powerpc64/gmp-mparam.h [moved from ghc/rts/gmp/mpn/powerpc64/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/powerpc64/lshift.asm [moved from ghc/rts/gmp/mpn/powerpc64/lshift.asm with 100% similarity]
rts/gmp/mpn/powerpc64/mul_1.asm [moved from ghc/rts/gmp/mpn/powerpc64/mul_1.asm with 100% similarity]
rts/gmp/mpn/powerpc64/rshift.asm [moved from ghc/rts/gmp/mpn/powerpc64/rshift.asm with 100% similarity]
rts/gmp/mpn/powerpc64/sub_n.asm [moved from ghc/rts/gmp/mpn/powerpc64/sub_n.asm with 100% similarity]
rts/gmp/mpn/powerpc64/submul_1.asm [moved from ghc/rts/gmp/mpn/powerpc64/submul_1.asm with 100% similarity]
rts/gmp/mpn/pyr/add_n.s [moved from ghc/rts/gmp/mpn/pyr/add_n.s with 100% similarity]
rts/gmp/mpn/pyr/addmul_1.s [moved from ghc/rts/gmp/mpn/pyr/addmul_1.s with 100% similarity]
rts/gmp/mpn/pyr/mul_1.s [moved from ghc/rts/gmp/mpn/pyr/mul_1.s with 100% similarity]
rts/gmp/mpn/pyr/sub_n.s [moved from ghc/rts/gmp/mpn/pyr/sub_n.s with 100% similarity]
rts/gmp/mpn/sh/add_n.s [moved from ghc/rts/gmp/mpn/sh/add_n.s with 100% similarity]
rts/gmp/mpn/sh/sh2/addmul_1.s [moved from ghc/rts/gmp/mpn/sh/sh2/addmul_1.s with 100% similarity]
rts/gmp/mpn/sh/sh2/mul_1.s [moved from ghc/rts/gmp/mpn/sh/sh2/mul_1.s with 100% similarity]
rts/gmp/mpn/sh/sh2/submul_1.s [moved from ghc/rts/gmp/mpn/sh/sh2/submul_1.s with 100% similarity]
rts/gmp/mpn/sh/sub_n.s [moved from ghc/rts/gmp/mpn/sh/sub_n.s with 100% similarity]
rts/gmp/mpn/sparc32/README [moved from ghc/rts/gmp/mpn/sparc32/README with 100% similarity]
rts/gmp/mpn/sparc32/add_n.asm [moved from ghc/rts/gmp/mpn/sparc32/add_n.asm with 100% similarity]
rts/gmp/mpn/sparc32/addmul_1.asm [moved from ghc/rts/gmp/mpn/sparc32/addmul_1.asm with 100% similarity]
rts/gmp/mpn/sparc32/lshift.asm [moved from ghc/rts/gmp/mpn/sparc32/lshift.asm with 100% similarity]
rts/gmp/mpn/sparc32/mul_1.asm [moved from ghc/rts/gmp/mpn/sparc32/mul_1.asm with 100% similarity]
rts/gmp/mpn/sparc32/rshift.asm [moved from ghc/rts/gmp/mpn/sparc32/rshift.asm with 100% similarity]
rts/gmp/mpn/sparc32/sub_n.asm [moved from ghc/rts/gmp/mpn/sparc32/sub_n.asm with 100% similarity]
rts/gmp/mpn/sparc32/submul_1.asm [moved from ghc/rts/gmp/mpn/sparc32/submul_1.asm with 100% similarity]
rts/gmp/mpn/sparc32/udiv_fp.asm [moved from ghc/rts/gmp/mpn/sparc32/udiv_fp.asm with 100% similarity]
rts/gmp/mpn/sparc32/udiv_nfp.asm [moved from ghc/rts/gmp/mpn/sparc32/udiv_nfp.asm with 100% similarity]
rts/gmp/mpn/sparc32/umul.asm [moved from ghc/rts/gmp/mpn/sparc32/umul.asm with 100% similarity]
rts/gmp/mpn/sparc32/v8/addmul_1.asm [moved from ghc/rts/gmp/mpn/sparc32/v8/addmul_1.asm with 100% similarity]
rts/gmp/mpn/sparc32/v8/mul_1.asm [moved from ghc/rts/gmp/mpn/sparc32/v8/mul_1.asm with 100% similarity]
rts/gmp/mpn/sparc32/v8/submul_1.asm [moved from ghc/rts/gmp/mpn/sparc32/v8/submul_1.asm with 100% similarity]
rts/gmp/mpn/sparc32/v8/supersparc/udiv.asm [moved from ghc/rts/gmp/mpn/sparc32/v8/supersparc/udiv.asm with 100% similarity]
rts/gmp/mpn/sparc32/v8/umul.asm [moved from ghc/rts/gmp/mpn/sparc32/v8/umul.asm with 100% similarity]
rts/gmp/mpn/sparc32/v9/README [moved from ghc/rts/gmp/mpn/sparc32/v9/README with 100% similarity]
rts/gmp/mpn/sparc32/v9/addmul_1.asm [moved from ghc/rts/gmp/mpn/sparc32/v9/addmul_1.asm with 100% similarity]
rts/gmp/mpn/sparc32/v9/gmp-mparam.h [moved from ghc/rts/gmp/mpn/sparc32/v9/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/sparc32/v9/mul_1.asm [moved from ghc/rts/gmp/mpn/sparc32/v9/mul_1.asm with 100% similarity]
rts/gmp/mpn/sparc32/v9/submul_1.asm [moved from ghc/rts/gmp/mpn/sparc32/v9/submul_1.asm with 100% similarity]
rts/gmp/mpn/sparc64/README [moved from ghc/rts/gmp/mpn/sparc64/README with 100% similarity]
rts/gmp/mpn/sparc64/add_n.asm [moved from ghc/rts/gmp/mpn/sparc64/add_n.asm with 100% similarity]
rts/gmp/mpn/sparc64/addmul1h.asm [moved from ghc/rts/gmp/mpn/sparc64/addmul1h.asm with 100% similarity]
rts/gmp/mpn/sparc64/addmul_1.asm [moved from ghc/rts/gmp/mpn/sparc64/addmul_1.asm with 100% similarity]
rts/gmp/mpn/sparc64/copyi.asm [moved from ghc/rts/gmp/mpn/sparc64/copyi.asm with 100% similarity]
rts/gmp/mpn/sparc64/gmp-mparam.h [moved from ghc/rts/gmp/mpn/sparc64/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/sparc64/lshift.asm [moved from ghc/rts/gmp/mpn/sparc64/lshift.asm with 100% similarity]
rts/gmp/mpn/sparc64/mul_1.asm [moved from ghc/rts/gmp/mpn/sparc64/mul_1.asm with 100% similarity]
rts/gmp/mpn/sparc64/mul_1h.asm [moved from ghc/rts/gmp/mpn/sparc64/mul_1h.asm with 100% similarity]
rts/gmp/mpn/sparc64/rshift.asm [moved from ghc/rts/gmp/mpn/sparc64/rshift.asm with 100% similarity]
rts/gmp/mpn/sparc64/sub_n.asm [moved from ghc/rts/gmp/mpn/sparc64/sub_n.asm with 100% similarity]
rts/gmp/mpn/sparc64/submul1h.asm [moved from ghc/rts/gmp/mpn/sparc64/submul1h.asm with 100% similarity]
rts/gmp/mpn/sparc64/submul_1.asm [moved from ghc/rts/gmp/mpn/sparc64/submul_1.asm with 100% similarity]
rts/gmp/mpn/thumb/add_n.s [moved from ghc/rts/gmp/mpn/thumb/add_n.s with 100% similarity]
rts/gmp/mpn/thumb/sub_n.s [moved from ghc/rts/gmp/mpn/thumb/sub_n.s with 100% similarity]
rts/gmp/mpn/underscore.h [moved from ghc/rts/gmp/mpn/underscore.h with 100% similarity]
rts/gmp/mpn/vax/add_n.s [moved from ghc/rts/gmp/mpn/vax/add_n.s with 100% similarity]
rts/gmp/mpn/vax/addmul_1.s [moved from ghc/rts/gmp/mpn/vax/addmul_1.s with 100% similarity]
rts/gmp/mpn/vax/lshift.s [moved from ghc/rts/gmp/mpn/vax/lshift.s with 100% similarity]
rts/gmp/mpn/vax/mul_1.s [moved from ghc/rts/gmp/mpn/vax/mul_1.s with 100% similarity]
rts/gmp/mpn/vax/rshift.s [moved from ghc/rts/gmp/mpn/vax/rshift.s with 100% similarity]
rts/gmp/mpn/vax/sub_n.s [moved from ghc/rts/gmp/mpn/vax/sub_n.s with 100% similarity]
rts/gmp/mpn/vax/submul_1.s [moved from ghc/rts/gmp/mpn/vax/submul_1.s with 100% similarity]
rts/gmp/mpn/x86/README [moved from ghc/rts/gmp/mpn/x86/README with 100% similarity]
rts/gmp/mpn/x86/README.family [moved from ghc/rts/gmp/mpn/x86/README.family with 100% similarity]
rts/gmp/mpn/x86/addsub_n.S [moved from ghc/rts/gmp/mpn/x86/addsub_n.S with 100% similarity]
rts/gmp/mpn/x86/aors_n.asm [moved from ghc/rts/gmp/mpn/x86/aors_n.asm with 100% similarity]
rts/gmp/mpn/x86/aorsmul_1.asm [moved from ghc/rts/gmp/mpn/x86/aorsmul_1.asm with 100% similarity]
rts/gmp/mpn/x86/copyd.asm [moved from ghc/rts/gmp/mpn/x86/copyd.asm with 100% similarity]
rts/gmp/mpn/x86/copyi.asm [moved from ghc/rts/gmp/mpn/x86/copyi.asm with 100% similarity]
rts/gmp/mpn/x86/diveby3.asm [moved from ghc/rts/gmp/mpn/x86/diveby3.asm with 100% similarity]
rts/gmp/mpn/x86/divrem_1.asm [moved from ghc/rts/gmp/mpn/x86/divrem_1.asm with 100% similarity]
rts/gmp/mpn/x86/k6/README [moved from ghc/rts/gmp/mpn/x86/k6/README with 100% similarity]
rts/gmp/mpn/x86/k6/aors_n.asm [moved from ghc/rts/gmp/mpn/x86/k6/aors_n.asm with 100% similarity]
rts/gmp/mpn/x86/k6/aorsmul_1.asm [moved from ghc/rts/gmp/mpn/x86/k6/aorsmul_1.asm with 100% similarity]
rts/gmp/mpn/x86/k6/cross.pl [moved from ghc/rts/gmp/mpn/x86/k6/cross.pl with 100% similarity]
rts/gmp/mpn/x86/k6/diveby3.asm [moved from ghc/rts/gmp/mpn/x86/k6/diveby3.asm with 100% similarity]
rts/gmp/mpn/x86/k6/gmp-mparam.h [moved from ghc/rts/gmp/mpn/x86/k6/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/x86/k6/k62mmx/copyd.asm [moved from ghc/rts/gmp/mpn/x86/k6/k62mmx/copyd.asm with 100% similarity]
rts/gmp/mpn/x86/k6/k62mmx/copyi.asm [moved from ghc/rts/gmp/mpn/x86/k6/k62mmx/copyi.asm with 100% similarity]
rts/gmp/mpn/x86/k6/k62mmx/lshift.asm [moved from ghc/rts/gmp/mpn/x86/k6/k62mmx/lshift.asm with 100% similarity]
rts/gmp/mpn/x86/k6/k62mmx/rshift.asm [moved from ghc/rts/gmp/mpn/x86/k6/k62mmx/rshift.asm with 100% similarity]
rts/gmp/mpn/x86/k6/mmx/com_n.asm [moved from ghc/rts/gmp/mpn/x86/k6/mmx/com_n.asm with 100% similarity]
rts/gmp/mpn/x86/k6/mmx/logops_n.asm [moved from ghc/rts/gmp/mpn/x86/k6/mmx/logops_n.asm with 100% similarity]
rts/gmp/mpn/x86/k6/mmx/lshift.asm [moved from ghc/rts/gmp/mpn/x86/k6/mmx/lshift.asm with 100% similarity]
rts/gmp/mpn/x86/k6/mmx/popham.asm [moved from ghc/rts/gmp/mpn/x86/k6/mmx/popham.asm with 100% similarity]
rts/gmp/mpn/x86/k6/mmx/rshift.asm [moved from ghc/rts/gmp/mpn/x86/k6/mmx/rshift.asm with 100% similarity]
rts/gmp/mpn/x86/k6/mul_1.asm [moved from ghc/rts/gmp/mpn/x86/k6/mul_1.asm with 100% similarity]
rts/gmp/mpn/x86/k6/mul_basecase.asm [moved from ghc/rts/gmp/mpn/x86/k6/mul_basecase.asm with 100% similarity]
rts/gmp/mpn/x86/k6/sqr_basecase.asm [moved from ghc/rts/gmp/mpn/x86/k6/sqr_basecase.asm with 100% similarity]
rts/gmp/mpn/x86/k7/README [moved from ghc/rts/gmp/mpn/x86/k7/README with 100% similarity]
rts/gmp/mpn/x86/k7/aors_n.asm [moved from ghc/rts/gmp/mpn/x86/k7/aors_n.asm with 100% similarity]
rts/gmp/mpn/x86/k7/aorsmul_1.asm [moved from ghc/rts/gmp/mpn/x86/k7/aorsmul_1.asm with 100% similarity]
rts/gmp/mpn/x86/k7/diveby3.asm [moved from ghc/rts/gmp/mpn/x86/k7/diveby3.asm with 100% similarity]
rts/gmp/mpn/x86/k7/gmp-mparam.h [moved from ghc/rts/gmp/mpn/x86/k7/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/x86/k7/mmx/copyd.asm [moved from ghc/rts/gmp/mpn/x86/k7/mmx/copyd.asm with 100% similarity]
rts/gmp/mpn/x86/k7/mmx/copyi.asm [moved from ghc/rts/gmp/mpn/x86/k7/mmx/copyi.asm with 100% similarity]
rts/gmp/mpn/x86/k7/mmx/divrem_1.asm [moved from ghc/rts/gmp/mpn/x86/k7/mmx/divrem_1.asm with 100% similarity]
rts/gmp/mpn/x86/k7/mmx/lshift.asm [moved from ghc/rts/gmp/mpn/x86/k7/mmx/lshift.asm with 100% similarity]
rts/gmp/mpn/x86/k7/mmx/mod_1.asm [moved from ghc/rts/gmp/mpn/x86/k7/mmx/mod_1.asm with 100% similarity]
rts/gmp/mpn/x86/k7/mmx/popham.asm [moved from ghc/rts/gmp/mpn/x86/k7/mmx/popham.asm with 100% similarity]
rts/gmp/mpn/x86/k7/mmx/rshift.asm [moved from ghc/rts/gmp/mpn/x86/k7/mmx/rshift.asm with 100% similarity]
rts/gmp/mpn/x86/k7/mul_1.asm [moved from ghc/rts/gmp/mpn/x86/k7/mul_1.asm with 100% similarity]
rts/gmp/mpn/x86/k7/mul_basecase.asm [moved from ghc/rts/gmp/mpn/x86/k7/mul_basecase.asm with 100% similarity]
rts/gmp/mpn/x86/k7/sqr_basecase.asm [moved from ghc/rts/gmp/mpn/x86/k7/sqr_basecase.asm with 100% similarity]
rts/gmp/mpn/x86/lshift.asm [moved from ghc/rts/gmp/mpn/x86/lshift.asm with 100% similarity]
rts/gmp/mpn/x86/mod_1.asm [moved from ghc/rts/gmp/mpn/x86/mod_1.asm with 100% similarity]
rts/gmp/mpn/x86/mul_1.asm [moved from ghc/rts/gmp/mpn/x86/mul_1.asm with 100% similarity]
rts/gmp/mpn/x86/mul_basecase.asm [moved from ghc/rts/gmp/mpn/x86/mul_basecase.asm with 100% similarity]
rts/gmp/mpn/x86/p6/README [moved from ghc/rts/gmp/mpn/x86/p6/README with 100% similarity]
rts/gmp/mpn/x86/p6/aorsmul_1.asm [moved from ghc/rts/gmp/mpn/x86/p6/aorsmul_1.asm with 100% similarity]
rts/gmp/mpn/x86/p6/diveby3.asm [moved from ghc/rts/gmp/mpn/x86/p6/diveby3.asm with 100% similarity]
rts/gmp/mpn/x86/p6/gmp-mparam.h [moved from ghc/rts/gmp/mpn/x86/p6/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/x86/p6/mmx/divrem_1.asm [moved from ghc/rts/gmp/mpn/x86/p6/mmx/divrem_1.asm with 100% similarity]
rts/gmp/mpn/x86/p6/mmx/mod_1.asm [moved from ghc/rts/gmp/mpn/x86/p6/mmx/mod_1.asm with 100% similarity]
rts/gmp/mpn/x86/p6/mmx/popham.asm [moved from ghc/rts/gmp/mpn/x86/p6/mmx/popham.asm with 100% similarity]
rts/gmp/mpn/x86/p6/p3mmx/popham.asm [moved from ghc/rts/gmp/mpn/x86/p6/p3mmx/popham.asm with 100% similarity]
rts/gmp/mpn/x86/p6/sqr_basecase.asm [moved from ghc/rts/gmp/mpn/x86/p6/sqr_basecase.asm with 100% similarity]
rts/gmp/mpn/x86/pentium/README [moved from ghc/rts/gmp/mpn/x86/pentium/README with 100% similarity]
rts/gmp/mpn/x86/pentium/aors_n.asm [moved from ghc/rts/gmp/mpn/x86/pentium/aors_n.asm with 100% similarity]
rts/gmp/mpn/x86/pentium/aorsmul_1.asm [moved from ghc/rts/gmp/mpn/x86/pentium/aorsmul_1.asm with 100% similarity]
rts/gmp/mpn/x86/pentium/diveby3.asm [moved from ghc/rts/gmp/mpn/x86/pentium/diveby3.asm with 100% similarity]
rts/gmp/mpn/x86/pentium/gmp-mparam.h [moved from ghc/rts/gmp/mpn/x86/pentium/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/x86/pentium/lshift.asm [moved from ghc/rts/gmp/mpn/x86/pentium/lshift.asm with 100% similarity]
rts/gmp/mpn/x86/pentium/mmx/gmp-mparam.h [moved from ghc/rts/gmp/mpn/x86/pentium/mmx/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/x86/pentium/mmx/lshift.asm [moved from ghc/rts/gmp/mpn/x86/pentium/mmx/lshift.asm with 100% similarity]
rts/gmp/mpn/x86/pentium/mmx/popham.asm [moved from ghc/rts/gmp/mpn/x86/pentium/mmx/popham.asm with 100% similarity]
rts/gmp/mpn/x86/pentium/mmx/rshift.asm [moved from ghc/rts/gmp/mpn/x86/pentium/mmx/rshift.asm with 100% similarity]
rts/gmp/mpn/x86/pentium/mul_1.asm [moved from ghc/rts/gmp/mpn/x86/pentium/mul_1.asm with 100% similarity]
rts/gmp/mpn/x86/pentium/mul_basecase.asm [moved from ghc/rts/gmp/mpn/x86/pentium/mul_basecase.asm with 100% similarity]
rts/gmp/mpn/x86/pentium/rshift.asm [moved from ghc/rts/gmp/mpn/x86/pentium/rshift.asm with 100% similarity]
rts/gmp/mpn/x86/pentium/sqr_basecase.asm [moved from ghc/rts/gmp/mpn/x86/pentium/sqr_basecase.asm with 100% similarity]
rts/gmp/mpn/x86/rshift.asm [moved from ghc/rts/gmp/mpn/x86/rshift.asm with 100% similarity]
rts/gmp/mpn/x86/udiv.asm [moved from ghc/rts/gmp/mpn/x86/udiv.asm with 100% similarity]
rts/gmp/mpn/x86/umul.asm [moved from ghc/rts/gmp/mpn/x86/umul.asm with 100% similarity]
rts/gmp/mpn/x86/x86-defs.m4 [moved from ghc/rts/gmp/mpn/x86/x86-defs.m4 with 100% similarity]
rts/gmp/mpn/z8000/add_n.s [moved from ghc/rts/gmp/mpn/z8000/add_n.s with 100% similarity]
rts/gmp/mpn/z8000/gmp-mparam.h [moved from ghc/rts/gmp/mpn/z8000/gmp-mparam.h with 100% similarity]
rts/gmp/mpn/z8000/mul_1.s [moved from ghc/rts/gmp/mpn/z8000/mul_1.s with 100% similarity]
rts/gmp/mpn/z8000/sub_n.s [moved from ghc/rts/gmp/mpn/z8000/sub_n.s with 100% similarity]
rts/gmp/mpn/z8000x/add_n.s [moved from ghc/rts/gmp/mpn/z8000x/add_n.s with 100% similarity]
rts/gmp/mpn/z8000x/sub_n.s [moved from ghc/rts/gmp/mpn/z8000x/sub_n.s with 100% similarity]
rts/gmp/mpz/Makefile.am [moved from ghc/rts/gmp/mpz/Makefile.am with 100% similarity]
rts/gmp/mpz/Makefile.in [moved from ghc/rts/gmp/mpz/Makefile.in with 100% similarity]
rts/gmp/mpz/README [moved from ghc/rts/gmp/mpz/README with 100% similarity]
rts/gmp/mpz/abs.c [moved from ghc/rts/gmp/mpz/abs.c with 100% similarity]
rts/gmp/mpz/add.c [moved from ghc/rts/gmp/mpz/add.c with 100% similarity]
rts/gmp/mpz/add_ui.c [moved from ghc/rts/gmp/mpz/add_ui.c with 100% similarity]
rts/gmp/mpz/addmul_ui.c [moved from ghc/rts/gmp/mpz/addmul_ui.c with 100% similarity]
rts/gmp/mpz/and.c [moved from ghc/rts/gmp/mpz/and.c with 100% similarity]
rts/gmp/mpz/array_init.c [moved from ghc/rts/gmp/mpz/array_init.c with 100% similarity]
rts/gmp/mpz/bin_ui.c [moved from ghc/rts/gmp/mpz/bin_ui.c with 100% similarity]
rts/gmp/mpz/bin_uiui.c [moved from ghc/rts/gmp/mpz/bin_uiui.c with 100% similarity]
rts/gmp/mpz/cdiv_q.c [moved from ghc/rts/gmp/mpz/cdiv_q.c with 100% similarity]
rts/gmp/mpz/cdiv_q_ui.c [moved from ghc/rts/gmp/mpz/cdiv_q_ui.c with 100% similarity]
rts/gmp/mpz/cdiv_qr.c [moved from ghc/rts/gmp/mpz/cdiv_qr.c with 100% similarity]
rts/gmp/mpz/cdiv_qr_ui.c [moved from ghc/rts/gmp/mpz/cdiv_qr_ui.c with 100% similarity]
rts/gmp/mpz/cdiv_r.c [moved from ghc/rts/gmp/mpz/cdiv_r.c with 100% similarity]
rts/gmp/mpz/cdiv_r_ui.c [moved from ghc/rts/gmp/mpz/cdiv_r_ui.c with 100% similarity]
rts/gmp/mpz/cdiv_ui.c [moved from ghc/rts/gmp/mpz/cdiv_ui.c with 100% similarity]
rts/gmp/mpz/clear.c [moved from ghc/rts/gmp/mpz/clear.c with 100% similarity]
rts/gmp/mpz/clrbit.c [moved from ghc/rts/gmp/mpz/clrbit.c with 100% similarity]
rts/gmp/mpz/cmp.c [moved from ghc/rts/gmp/mpz/cmp.c with 100% similarity]
rts/gmp/mpz/cmp_si.c [moved from ghc/rts/gmp/mpz/cmp_si.c with 100% similarity]
rts/gmp/mpz/cmp_ui.c [moved from ghc/rts/gmp/mpz/cmp_ui.c with 100% similarity]
rts/gmp/mpz/cmpabs.c [moved from ghc/rts/gmp/mpz/cmpabs.c with 100% similarity]
rts/gmp/mpz/cmpabs_ui.c [moved from ghc/rts/gmp/mpz/cmpabs_ui.c with 100% similarity]
rts/gmp/mpz/com.c [moved from ghc/rts/gmp/mpz/com.c with 100% similarity]
rts/gmp/mpz/divexact.c [moved from ghc/rts/gmp/mpz/divexact.c with 100% similarity]
rts/gmp/mpz/dump.c [moved from ghc/rts/gmp/mpz/dump.c with 100% similarity]
rts/gmp/mpz/fac_ui.c [moved from ghc/rts/gmp/mpz/fac_ui.c with 100% similarity]
rts/gmp/mpz/fdiv_q.c [moved from ghc/rts/gmp/mpz/fdiv_q.c with 100% similarity]
rts/gmp/mpz/fdiv_q_2exp.c [moved from ghc/rts/gmp/mpz/fdiv_q_2exp.c with 100% similarity]
rts/gmp/mpz/fdiv_q_ui.c [moved from ghc/rts/gmp/mpz/fdiv_q_ui.c with 100% similarity]
rts/gmp/mpz/fdiv_qr.c [moved from ghc/rts/gmp/mpz/fdiv_qr.c with 100% similarity]
rts/gmp/mpz/fdiv_qr_ui.c [moved from ghc/rts/gmp/mpz/fdiv_qr_ui.c with 100% similarity]
rts/gmp/mpz/fdiv_r.c [moved from ghc/rts/gmp/mpz/fdiv_r.c with 100% similarity]
rts/gmp/mpz/fdiv_r_2exp.c [moved from ghc/rts/gmp/mpz/fdiv_r_2exp.c with 100% similarity]
rts/gmp/mpz/fdiv_r_ui.c [moved from ghc/rts/gmp/mpz/fdiv_r_ui.c with 100% similarity]
rts/gmp/mpz/fdiv_ui.c [moved from ghc/rts/gmp/mpz/fdiv_ui.c with 100% similarity]
rts/gmp/mpz/fib_ui.c [moved from ghc/rts/gmp/mpz/fib_ui.c with 100% similarity]
rts/gmp/mpz/fits_sint_p.c [moved from ghc/rts/gmp/mpz/fits_sint_p.c with 100% similarity]
rts/gmp/mpz/fits_slong_p.c [moved from ghc/rts/gmp/mpz/fits_slong_p.c with 100% similarity]
rts/gmp/mpz/fits_sshort_p.c [moved from ghc/rts/gmp/mpz/fits_sshort_p.c with 100% similarity]
rts/gmp/mpz/fits_uint_p.c [moved from ghc/rts/gmp/mpz/fits_uint_p.c with 100% similarity]
rts/gmp/mpz/fits_ulong_p.c [moved from ghc/rts/gmp/mpz/fits_ulong_p.c with 100% similarity]
rts/gmp/mpz/fits_ushort_p.c [moved from ghc/rts/gmp/mpz/fits_ushort_p.c with 100% similarity]
rts/gmp/mpz/gcd.c [moved from ghc/rts/gmp/mpz/gcd.c with 100% similarity]
rts/gmp/mpz/gcd_ui.c [moved from ghc/rts/gmp/mpz/gcd_ui.c with 100% similarity]
rts/gmp/mpz/gcdext.c [moved from ghc/rts/gmp/mpz/gcdext.c with 100% similarity]
rts/gmp/mpz/get_d.c [moved from ghc/rts/gmp/mpz/get_d.c with 100% similarity]
rts/gmp/mpz/get_si.c [moved from ghc/rts/gmp/mpz/get_si.c with 100% similarity]
rts/gmp/mpz/get_str.c [moved from ghc/rts/gmp/mpz/get_str.c with 100% similarity]
rts/gmp/mpz/get_ui.c [moved from ghc/rts/gmp/mpz/get_ui.c with 100% similarity]
rts/gmp/mpz/getlimbn.c [moved from ghc/rts/gmp/mpz/getlimbn.c with 100% similarity]
rts/gmp/mpz/hamdist.c [moved from ghc/rts/gmp/mpz/hamdist.c with 100% similarity]
rts/gmp/mpz/init.c [moved from ghc/rts/gmp/mpz/init.c with 100% similarity]
rts/gmp/mpz/inp_raw.c [moved from ghc/rts/gmp/mpz/inp_raw.c with 100% similarity]
rts/gmp/mpz/inp_str.c [moved from ghc/rts/gmp/mpz/inp_str.c with 100% similarity]
rts/gmp/mpz/invert.c [moved from ghc/rts/gmp/mpz/invert.c with 100% similarity]
rts/gmp/mpz/ior.c [moved from ghc/rts/gmp/mpz/ior.c with 100% similarity]
rts/gmp/mpz/iset.c [moved from ghc/rts/gmp/mpz/iset.c with 100% similarity]
rts/gmp/mpz/iset_d.c [moved from ghc/rts/gmp/mpz/iset_d.c with 100% similarity]
rts/gmp/mpz/iset_si.c [moved from ghc/rts/gmp/mpz/iset_si.c with 100% similarity]
rts/gmp/mpz/iset_str.c [moved from ghc/rts/gmp/mpz/iset_str.c with 100% similarity]
rts/gmp/mpz/iset_ui.c [moved from ghc/rts/gmp/mpz/iset_ui.c with 100% similarity]
rts/gmp/mpz/jacobi.c [moved from ghc/rts/gmp/mpz/jacobi.c with 100% similarity]
rts/gmp/mpz/kronsz.c [moved from ghc/rts/gmp/mpz/kronsz.c with 100% similarity]
rts/gmp/mpz/kronuz.c [moved from ghc/rts/gmp/mpz/kronuz.c with 100% similarity]
rts/gmp/mpz/kronzs.c [moved from ghc/rts/gmp/mpz/kronzs.c with 100% similarity]
rts/gmp/mpz/kronzu.c [moved from ghc/rts/gmp/mpz/kronzu.c with 100% similarity]
rts/gmp/mpz/lcm.c [moved from ghc/rts/gmp/mpz/lcm.c with 100% similarity]
rts/gmp/mpz/legendre.c [moved from ghc/rts/gmp/mpz/legendre.c with 100% similarity]
rts/gmp/mpz/mod.c [moved from ghc/rts/gmp/mpz/mod.c with 100% similarity]
rts/gmp/mpz/mul.c [moved from ghc/rts/gmp/mpz/mul.c with 100% similarity]
rts/gmp/mpz/mul_2exp.c [moved from ghc/rts/gmp/mpz/mul_2exp.c with 100% similarity]
rts/gmp/mpz/mul_siui.c [moved from ghc/rts/gmp/mpz/mul_siui.c with 100% similarity]
rts/gmp/mpz/neg.c [moved from ghc/rts/gmp/mpz/neg.c with 100% similarity]
rts/gmp/mpz/nextprime.c [moved from ghc/rts/gmp/mpz/nextprime.c with 100% similarity]
rts/gmp/mpz/out_raw.c [moved from ghc/rts/gmp/mpz/out_raw.c with 100% similarity]
rts/gmp/mpz/out_str.c [moved from ghc/rts/gmp/mpz/out_str.c with 100% similarity]
rts/gmp/mpz/perfpow.c [moved from ghc/rts/gmp/mpz/perfpow.c with 100% similarity]
rts/gmp/mpz/perfsqr.c [moved from ghc/rts/gmp/mpz/perfsqr.c with 100% similarity]
rts/gmp/mpz/popcount.c [moved from ghc/rts/gmp/mpz/popcount.c with 100% similarity]
rts/gmp/mpz/pow_ui.c [moved from ghc/rts/gmp/mpz/pow_ui.c with 100% similarity]
rts/gmp/mpz/powm.c [moved from ghc/rts/gmp/mpz/powm.c with 100% similarity]
rts/gmp/mpz/powm_ui.c [moved from ghc/rts/gmp/mpz/powm_ui.c with 100% similarity]
rts/gmp/mpz/pprime_p.c [moved from ghc/rts/gmp/mpz/pprime_p.c with 100% similarity]
rts/gmp/mpz/random.c [moved from ghc/rts/gmp/mpz/random.c with 100% similarity]
rts/gmp/mpz/random2.c [moved from ghc/rts/gmp/mpz/random2.c with 100% similarity]
rts/gmp/mpz/realloc.c [moved from ghc/rts/gmp/mpz/realloc.c with 100% similarity]
rts/gmp/mpz/remove.c [moved from ghc/rts/gmp/mpz/remove.c with 100% similarity]
rts/gmp/mpz/root.c [moved from ghc/rts/gmp/mpz/root.c with 100% similarity]
rts/gmp/mpz/rrandomb.c [moved from ghc/rts/gmp/mpz/rrandomb.c with 100% similarity]
rts/gmp/mpz/scan0.c [moved from ghc/rts/gmp/mpz/scan0.c with 100% similarity]
rts/gmp/mpz/scan1.c [moved from ghc/rts/gmp/mpz/scan1.c with 100% similarity]
rts/gmp/mpz/set.c [moved from ghc/rts/gmp/mpz/set.c with 100% similarity]
rts/gmp/mpz/set_d.c [moved from ghc/rts/gmp/mpz/set_d.c with 100% similarity]
rts/gmp/mpz/set_f.c [moved from ghc/rts/gmp/mpz/set_f.c with 100% similarity]
rts/gmp/mpz/set_q.c [moved from ghc/rts/gmp/mpz/set_q.c with 100% similarity]
rts/gmp/mpz/set_si.c [moved from ghc/rts/gmp/mpz/set_si.c with 100% similarity]
rts/gmp/mpz/set_str.c [moved from ghc/rts/gmp/mpz/set_str.c with 100% similarity]
rts/gmp/mpz/set_ui.c [moved from ghc/rts/gmp/mpz/set_ui.c with 100% similarity]
rts/gmp/mpz/setbit.c [moved from ghc/rts/gmp/mpz/setbit.c with 100% similarity]
rts/gmp/mpz/size.c [moved from ghc/rts/gmp/mpz/size.c with 100% similarity]
rts/gmp/mpz/sizeinbase.c [moved from ghc/rts/gmp/mpz/sizeinbase.c with 100% similarity]
rts/gmp/mpz/sqrt.c [moved from ghc/rts/gmp/mpz/sqrt.c with 100% similarity]
rts/gmp/mpz/sqrtrem.c [moved from ghc/rts/gmp/mpz/sqrtrem.c with 100% similarity]
rts/gmp/mpz/sub.c [moved from ghc/rts/gmp/mpz/sub.c with 100% similarity]
rts/gmp/mpz/sub_ui.c [moved from ghc/rts/gmp/mpz/sub_ui.c with 100% similarity]
rts/gmp/mpz/swap.c [moved from ghc/rts/gmp/mpz/swap.c with 100% similarity]
rts/gmp/mpz/tdiv_q.c [moved from ghc/rts/gmp/mpz/tdiv_q.c with 100% similarity]
rts/gmp/mpz/tdiv_q_2exp.c [moved from ghc/rts/gmp/mpz/tdiv_q_2exp.c with 100% similarity]
rts/gmp/mpz/tdiv_q_ui.c [moved from ghc/rts/gmp/mpz/tdiv_q_ui.c with 100% similarity]
rts/gmp/mpz/tdiv_qr.c [moved from ghc/rts/gmp/mpz/tdiv_qr.c with 100% similarity]
rts/gmp/mpz/tdiv_qr_ui.c [moved from ghc/rts/gmp/mpz/tdiv_qr_ui.c with 100% similarity]
rts/gmp/mpz/tdiv_r.c [moved from ghc/rts/gmp/mpz/tdiv_r.c with 100% similarity]
rts/gmp/mpz/tdiv_r_2exp.c [moved from ghc/rts/gmp/mpz/tdiv_r_2exp.c with 100% similarity]
rts/gmp/mpz/tdiv_r_ui.c [moved from ghc/rts/gmp/mpz/tdiv_r_ui.c with 100% similarity]
rts/gmp/mpz/tdiv_ui.c [moved from ghc/rts/gmp/mpz/tdiv_ui.c with 100% similarity]
rts/gmp/mpz/tstbit.c [moved from ghc/rts/gmp/mpz/tstbit.c with 100% similarity]
rts/gmp/mpz/ui_pow_ui.c [moved from ghc/rts/gmp/mpz/ui_pow_ui.c with 100% similarity]
rts/gmp/mpz/urandomb.c [moved from ghc/rts/gmp/mpz/urandomb.c with 100% similarity]
rts/gmp/mpz/urandomm.c [moved from ghc/rts/gmp/mpz/urandomm.c with 100% similarity]
rts/gmp/mpz/xor.c [moved from ghc/rts/gmp/mpz/xor.c with 100% similarity]
rts/gmp/rand.c [moved from ghc/rts/gmp/rand.c with 100% similarity]
rts/gmp/randclr.c [moved from ghc/rts/gmp/randclr.c with 100% similarity]
rts/gmp/randlc.c [moved from ghc/rts/gmp/randlc.c with 100% similarity]
rts/gmp/randlc2x.c [moved from ghc/rts/gmp/randlc2x.c with 100% similarity]
rts/gmp/randraw.c [moved from ghc/rts/gmp/randraw.c with 100% similarity]
rts/gmp/randsd.c [moved from ghc/rts/gmp/randsd.c with 100% similarity]
rts/gmp/randsdui.c [moved from ghc/rts/gmp/randsdui.c with 100% similarity]
rts/gmp/stack-alloc.c [moved from ghc/rts/gmp/stack-alloc.c with 100% similarity]
rts/gmp/stack-alloc.h [moved from ghc/rts/gmp/stack-alloc.h with 100% similarity]
rts/gmp/stamp-h.in [moved from ghc/rts/gmp/stamp-h.in with 100% similarity]
rts/gmp/stamp-vti [moved from ghc/rts/gmp/stamp-vti with 100% similarity]
rts/gmp/urandom.h [moved from ghc/rts/gmp/urandom.h with 100% similarity]
rts/gmp/version.c [moved from ghc/rts/gmp/version.c with 100% similarity]
rts/gmp/version.texi [moved from ghc/rts/gmp/version.texi with 100% similarity]
rts/hooks/FlagDefaults.c [moved from ghc/rts/hooks/FlagDefaults.c with 100% similarity]
rts/hooks/InitEachPE.c [moved from ghc/rts/hooks/InitEachPE.c with 100% similarity]
rts/hooks/MallocFail.c [moved from ghc/rts/hooks/MallocFail.c with 100% similarity]
rts/hooks/OnExit.c [moved from ghc/rts/hooks/OnExit.c with 100% similarity]
rts/hooks/OutOfHeap.c [moved from ghc/rts/hooks/OutOfHeap.c with 100% similarity]
rts/hooks/RtsOpts.c [moved from ghc/rts/hooks/RtsOpts.c with 100% similarity]
rts/hooks/ShutdownEachPEHook.c [moved from ghc/rts/hooks/ShutdownEachPEHook.c with 100% similarity]
rts/hooks/StackOverflow.c [moved from ghc/rts/hooks/StackOverflow.c with 100% similarity]
rts/package.conf.in [moved from ghc/rts/package.conf.in with 97% similarity]
rts/parallel/0Hash.c [moved from ghc/rts/parallel/0Hash.c with 100% similarity]
rts/parallel/0Parallel.h [moved from ghc/rts/parallel/0Parallel.h with 100% similarity]
rts/parallel/0Unpack.c [moved from ghc/rts/parallel/0Unpack.c with 100% similarity]
rts/parallel/Dist.c [moved from ghc/rts/parallel/Dist.c with 100% similarity]
rts/parallel/Dist.h [moved from ghc/rts/parallel/Dist.h with 100% similarity]
rts/parallel/FetchMe.h [moved from ghc/rts/parallel/FetchMe.h with 100% similarity]
rts/parallel/FetchMe.hc [moved from ghc/rts/parallel/FetchMe.hc with 100% similarity]
rts/parallel/Global.c [moved from ghc/rts/parallel/Global.c with 100% similarity]
rts/parallel/GranSim.c [moved from ghc/rts/parallel/GranSim.c with 100% similarity]
rts/parallel/GranSimRts.h [moved from ghc/rts/parallel/GranSimRts.h with 100% similarity]
rts/parallel/HLC.h [moved from ghc/rts/parallel/HLC.h with 100% similarity]
rts/parallel/HLComms.c [moved from ghc/rts/parallel/HLComms.c with 100% similarity]
rts/parallel/LLC.h [moved from ghc/rts/parallel/LLC.h with 100% similarity]
rts/parallel/LLComms.c [moved from ghc/rts/parallel/LLComms.c with 100% similarity]
rts/parallel/PEOpCodes.h [moved from ghc/rts/parallel/PEOpCodes.h with 100% similarity]
rts/parallel/Pack.c [moved from ghc/rts/parallel/Pack.c with 100% similarity]
rts/parallel/ParInit.c [moved from ghc/rts/parallel/ParInit.c with 100% similarity]
rts/parallel/ParInit.h [moved from ghc/rts/parallel/ParInit.h with 100% similarity]
rts/parallel/ParTicky.c [moved from ghc/rts/parallel/ParTicky.c with 100% similarity]
rts/parallel/ParTicky.h [moved from ghc/rts/parallel/ParTicky.h with 100% similarity]
rts/parallel/ParTypes.h [moved from ghc/rts/parallel/ParTypes.h with 100% similarity]
rts/parallel/Parallel.c [moved from ghc/rts/parallel/Parallel.c with 100% similarity]
rts/parallel/ParallelDebug.c [moved from ghc/rts/parallel/ParallelDebug.c with 100% similarity]
rts/parallel/ParallelDebug.h [moved from ghc/rts/parallel/ParallelDebug.h with 100% similarity]
rts/parallel/ParallelRts.h [moved from ghc/rts/parallel/ParallelRts.h with 100% similarity]
rts/parallel/RBH.c [moved from ghc/rts/parallel/RBH.c with 100% similarity]
rts/parallel/SysMan.c [moved from ghc/rts/parallel/SysMan.c with 100% similarity]
rts/posix/GetTime.c [moved from ghc/rts/posix/GetTime.c with 100% similarity]
rts/posix/Itimer.c [moved from ghc/rts/posix/Itimer.c with 100% similarity]
rts/posix/Itimer.h [moved from ghc/rts/posix/Itimer.h with 100% similarity]
rts/posix/OSThreads.c [moved from ghc/rts/posix/OSThreads.c with 100% similarity]
rts/posix/Select.c [moved from ghc/rts/posix/Select.c with 100% similarity]
rts/posix/Select.h [moved from ghc/rts/posix/Select.h with 100% similarity]
rts/posix/Signals.c [moved from ghc/rts/posix/Signals.c with 100% similarity]
rts/posix/Signals.h [moved from ghc/rts/posix/Signals.h with 100% similarity]
rts/win32/AsyncIO.c [moved from ghc/rts/win32/AsyncIO.c with 100% similarity]
rts/win32/AsyncIO.h [moved from ghc/rts/win32/AsyncIO.h with 100% similarity]
rts/win32/AwaitEvent.c [moved from ghc/rts/win32/AwaitEvent.c with 100% similarity]
rts/win32/ConsoleHandler.c [moved from ghc/rts/win32/ConsoleHandler.c with 100% similarity]
rts/win32/ConsoleHandler.h [moved from ghc/rts/win32/ConsoleHandler.h with 100% similarity]
rts/win32/GetTime.c [moved from ghc/rts/win32/GetTime.c with 100% similarity]
rts/win32/IOManager.c [moved from ghc/rts/win32/IOManager.c with 100% similarity]
rts/win32/IOManager.h [moved from ghc/rts/win32/IOManager.h with 100% similarity]
rts/win32/OSThreads.c [moved from ghc/rts/win32/OSThreads.c with 100% similarity]
rts/win32/Ticker.c [moved from ghc/rts/win32/Ticker.c with 100% similarity]
rts/win32/WorkQueue.c [moved from ghc/rts/win32/WorkQueue.c with 100% similarity]
rts/win32/WorkQueue.h [moved from ghc/rts/win32/WorkQueue.h with 100% similarity]
utils/Makefile [moved from ghc/utils/Makefile with 55% similarity]
utils/debugNCG/Diff_Gcc_Nat.hs [moved from ghc/utils/debugNCG/Diff_Gcc_Nat.hs with 100% similarity]
utils/debugNCG/Makefile [moved from ghc/utils/debugNCG/Makefile with 100% similarity]
utils/debugNCG/README [moved from ghc/utils/debugNCG/README with 100% similarity]
utils/ext-core/Check.hs [moved from ghc/utils/ext-core/Check.hs with 100% similarity]
utils/ext-core/Core.hs [moved from ghc/utils/ext-core/Core.hs with 100% similarity]
utils/ext-core/Driver.hs [moved from ghc/utils/ext-core/Driver.hs with 100% similarity]
utils/ext-core/Env.hs [moved from ghc/utils/ext-core/Env.hs with 100% similarity]
utils/ext-core/Interp.hs [moved from ghc/utils/ext-core/Interp.hs with 100% similarity]
utils/ext-core/Lex.hs [moved from ghc/utils/ext-core/Lex.hs with 100% similarity]
utils/ext-core/ParseGlue.hs [moved from ghc/utils/ext-core/ParseGlue.hs with 100% similarity]
utils/ext-core/Parser.y [moved from ghc/utils/ext-core/Parser.y with 100% similarity]
utils/ext-core/Prep.hs [moved from ghc/utils/ext-core/Prep.hs with 100% similarity]
utils/ext-core/Prims.hs [moved from ghc/utils/ext-core/Prims.hs with 100% similarity]
utils/ext-core/Printer.hs [moved from ghc/utils/ext-core/Printer.hs with 100% similarity]
utils/ext-core/README [moved from ghc/utils/ext-core/README with 100% similarity]
utils/genapply/GenApply.hs [moved from ghc/utils/genapply/GenApply.hs with 100% similarity]
utils/genapply/Makefile [moved from ghc/utils/genapply/Makefile with 92% similarity]
utils/genargs/Makefile [moved from glafp-utils/genargs/Makefile with 100% similarity]
utils/genargs/genargs.pl [moved from glafp-utils/genargs/genargs.pl with 100% similarity]
utils/genprimopcode/Main.hs [moved from ghc/utils/genprimopcode/Main.hs with 100% similarity]
utils/genprimopcode/Makefile [moved from ghc/utils/genprimopcode/Makefile with 100% similarity]
utils/ghc-pkg/Main.hs [moved from ghc/utils/ghc-pkg/Main.hs with 100% similarity]
utils/ghc-pkg/Makefile [moved from ghc/utils/ghc-pkg/Makefile with 89% similarity]
utils/ghc-pkg/ghc-pkg.sh [moved from ghc/utils/ghc-pkg/ghc-pkg.sh with 100% similarity]
utils/hasktags/HaskTags.hs [moved from ghc/utils/hasktags/HaskTags.hs with 100% similarity]
utils/hasktags/Makefile [moved from ghc/utils/hasktags/Makefile with 81% similarity]
utils/hasktags/README [moved from ghc/utils/hasktags/README with 100% similarity]
utils/heap-view/Graph.lhs [moved from ghc/utils/heap-view/Graph.lhs with 100% similarity]
utils/heap-view/HaskXLib.c [moved from ghc/utils/heap-view/HaskXLib.c with 100% similarity]
utils/heap-view/HpView.lhs [moved from ghc/utils/heap-view/HpView.lhs with 100% similarity]
utils/heap-view/HpView2.lhs [moved from ghc/utils/heap-view/HpView2.lhs with 100% similarity]
utils/heap-view/MAIL [moved from ghc/utils/heap-view/MAIL with 100% similarity]
utils/heap-view/Makefile [moved from ghc/utils/heap-view/Makefile with 80% similarity]
utils/heap-view/Makefile.original [moved from ghc/utils/heap-view/Makefile.original with 100% similarity]
utils/heap-view/Parse.lhs [moved from ghc/utils/heap-view/Parse.lhs with 100% similarity]
utils/heap-view/README [moved from ghc/utils/heap-view/README with 100% similarity]
utils/heap-view/common-bits [moved from ghc/utils/heap-view/common-bits with 100% similarity]
utils/hp2ps/AreaBelow.c [moved from ghc/utils/hp2ps/AreaBelow.c with 100% similarity]
utils/hp2ps/AreaBelow.h [moved from ghc/utils/hp2ps/AreaBelow.h with 100% similarity]
utils/hp2ps/AuxFile.c [moved from ghc/utils/hp2ps/AuxFile.c with 100% similarity]
utils/hp2ps/AuxFile.h [moved from ghc/utils/hp2ps/AuxFile.h with 100% similarity]
utils/hp2ps/Axes.c [moved from ghc/utils/hp2ps/Axes.c with 100% similarity]
utils/hp2ps/Axes.h [moved from ghc/utils/hp2ps/Axes.h with 100% similarity]
utils/hp2ps/CHANGES [moved from ghc/utils/hp2ps/CHANGES with 100% similarity]
utils/hp2ps/Curves.c [moved from ghc/utils/hp2ps/Curves.c with 100% similarity]
utils/hp2ps/Curves.h [moved from ghc/utils/hp2ps/Curves.h with 100% similarity]
utils/hp2ps/Defines.h [moved from ghc/utils/hp2ps/Defines.h with 100% similarity]
utils/hp2ps/Deviation.c [moved from ghc/utils/hp2ps/Deviation.c with 100% similarity]
utils/hp2ps/Deviation.h [moved from ghc/utils/hp2ps/Deviation.h with 100% similarity]
utils/hp2ps/Dimensions.c [moved from ghc/utils/hp2ps/Dimensions.c with 100% similarity]
utils/hp2ps/Dimensions.h [moved from ghc/utils/hp2ps/Dimensions.h with 100% similarity]
utils/hp2ps/Error.c [moved from ghc/utils/hp2ps/Error.c with 100% similarity]
utils/hp2ps/Error.h [moved from ghc/utils/hp2ps/Error.h with 100% similarity]
utils/hp2ps/HpFile.c [moved from ghc/utils/hp2ps/HpFile.c with 100% similarity]
utils/hp2ps/HpFile.h [moved from ghc/utils/hp2ps/HpFile.h with 100% similarity]
utils/hp2ps/Key.c [moved from ghc/utils/hp2ps/Key.c with 100% similarity]
utils/hp2ps/Key.h [moved from ghc/utils/hp2ps/Key.h with 100% similarity]
utils/hp2ps/Main.c [moved from ghc/utils/hp2ps/Main.c with 100% similarity]
utils/hp2ps/Main.h [moved from ghc/utils/hp2ps/Main.h with 100% similarity]
utils/hp2ps/Makefile [moved from ghc/utils/hp2ps/Makefile with 100% similarity]
utils/hp2ps/Marks.c [moved from ghc/utils/hp2ps/Marks.c with 100% similarity]
utils/hp2ps/Marks.h [moved from ghc/utils/hp2ps/Marks.h with 100% similarity]
utils/hp2ps/PsFile.c [moved from ghc/utils/hp2ps/PsFile.c with 100% similarity]
utils/hp2ps/PsFile.h [moved from ghc/utils/hp2ps/PsFile.h with 100% similarity]
utils/hp2ps/README.GHC [moved from ghc/utils/hp2ps/README.GHC with 100% similarity]
utils/hp2ps/Reorder.c [moved from ghc/utils/hp2ps/Reorder.c with 100% similarity]
utils/hp2ps/Reorder.h [moved from ghc/utils/hp2ps/Reorder.h with 100% similarity]
utils/hp2ps/Scale.c [moved from ghc/utils/hp2ps/Scale.c with 100% similarity]
utils/hp2ps/Scale.h [moved from ghc/utils/hp2ps/Scale.h with 100% similarity]
utils/hp2ps/Shade.c [moved from ghc/utils/hp2ps/Shade.c with 100% similarity]
utils/hp2ps/Shade.h [moved from ghc/utils/hp2ps/Shade.h with 100% similarity]
utils/hp2ps/TopTwenty.c [moved from ghc/utils/hp2ps/TopTwenty.c with 100% similarity]
utils/hp2ps/TopTwenty.h [moved from ghc/utils/hp2ps/TopTwenty.h with 100% similarity]
utils/hp2ps/TraceElement.c [moved from ghc/utils/hp2ps/TraceElement.c with 100% similarity]
utils/hp2ps/TraceElement.h [moved from ghc/utils/hp2ps/TraceElement.h with 100% similarity]
utils/hp2ps/Utilities.c [moved from ghc/utils/hp2ps/Utilities.c with 100% similarity]
utils/hp2ps/Utilities.h [moved from ghc/utils/hp2ps/Utilities.h with 100% similarity]
utils/hp2ps/hp2ps.1 [moved from ghc/utils/hp2ps/hp2ps.1 with 100% similarity]
utils/hp2ps/makefile.original [moved from ghc/utils/hp2ps/makefile.original with 100% similarity]
utils/hsc2hs/Main.hs [moved from ghc/utils/hsc2hs/Main.hs with 100% similarity]
utils/hsc2hs/Makefile [moved from ghc/utils/hsc2hs/Makefile with 92% similarity]
utils/hsc2hs/Makefile.inc [moved from ghc/utils/hsc2hs/Makefile.inc with 100% similarity]
utils/hsc2hs/Makefile.nhc98 [moved from ghc/utils/hsc2hs/Makefile.nhc98 with 100% similarity]
utils/hsc2hs/hsc2hs.sh [moved from ghc/utils/hsc2hs/hsc2hs.sh with 100% similarity]
utils/hsc2hs/template-hsc.h [moved from ghc/utils/hsc2hs/template-hsc.h with 100% similarity]
utils/hstags/Makefile [moved from ghc/utils/hstags/Makefile with 100% similarity]
utils/hstags/README [moved from ghc/utils/hstags/README with 100% similarity]
utils/hstags/hstags-help.c [moved from ghc/utils/hstags/hstags-help.c with 100% similarity]
utils/hstags/hstags.prl [moved from ghc/utils/hstags/hstags.prl with 100% similarity]
utils/hstags/prefix.txt [moved from ghc/utils/hstags/prefix.txt with 100% similarity]
utils/lndir/Makefile [moved from glafp-utils/lndir/Makefile with 97% similarity]
utils/lndir/lndir-Xos.h [moved from glafp-utils/lndir/lndir-Xos.h with 100% similarity]
utils/lndir/lndir-Xosdefs.h [moved from glafp-utils/lndir/lndir-Xosdefs.h with 100% similarity]
utils/lndir/lndir.c [moved from glafp-utils/lndir/lndir.c with 100% similarity]
utils/ltx/Makefile [moved from glafp-utils/ltx/Makefile with 95% similarity]
utils/ltx/ltx.prl [moved from glafp-utils/ltx/ltx.prl with 100% similarity]
utils/mkdependC/Makefile [moved from glafp-utils/mkdependC/Makefile with 97% similarity]
utils/mkdependC/mkdependC.prl [moved from glafp-utils/mkdependC/mkdependC.prl with 100% similarity]
utils/mkdirhier/Makefile [moved from glafp-utils/mkdirhier/Makefile with 87% similarity]
utils/mkdirhier/mkdirhier.sh [moved from glafp-utils/mkdirhier/mkdirhier.sh with 100% similarity]
utils/nofib-analyse/CmdLine.hs [moved from glafp-utils/nofib-analyse/CmdLine.hs with 100% similarity]
utils/nofib-analyse/GenUtils.lhs [moved from glafp-utils/nofib-analyse/GenUtils.lhs with 100% similarity]
utils/nofib-analyse/Main.hs [moved from glafp-utils/nofib-analyse/Main.hs with 100% similarity]
utils/nofib-analyse/Makefile [moved from glafp-utils/nofib-analyse/Makefile with 51% similarity]
utils/nofib-analyse/Printf.lhs [moved from glafp-utils/nofib-analyse/Printf.lhs with 100% similarity]
utils/nofib-analyse/Slurp.hs [moved from glafp-utils/nofib-analyse/Slurp.hs with 100% similarity]
utils/parallel/AVG.pl [moved from ghc/utils/parallel/AVG.pl with 100% similarity]
utils/parallel/GrAnSim.el [moved from ghc/utils/parallel/GrAnSim.el with 100% similarity]
utils/parallel/Makefile [moved from ghc/utils/parallel/Makefile with 100% similarity]
utils/parallel/RTS2gran.pl [moved from ghc/utils/parallel/RTS2gran.pl with 100% similarity]
utils/parallel/SN.pl [moved from ghc/utils/parallel/SN.pl with 100% similarity]
utils/parallel/SPLIT.pl [moved from ghc/utils/parallel/SPLIT.pl with 100% similarity]
utils/parallel/avg-RTS.pl [moved from ghc/utils/parallel/avg-RTS.pl with 100% similarity]
utils/parallel/get_SN.pl [moved from ghc/utils/parallel/get_SN.pl with 100% similarity]
utils/parallel/ghc-fool-sort.pl [moved from ghc/utils/parallel/ghc-fool-sort.pl with 100% similarity]
utils/parallel/ghc-unfool-sort.pl [moved from ghc/utils/parallel/ghc-unfool-sort.pl with 100% similarity]
utils/parallel/gp-ext-imp.pl [moved from ghc/utils/parallel/gp-ext-imp.pl with 100% similarity]
utils/parallel/gr2RTS.pl [moved from ghc/utils/parallel/gr2RTS.pl with 100% similarity]
utils/parallel/gr2ap.bash [moved from ghc/utils/parallel/gr2ap.bash with 100% similarity]
utils/parallel/gr2gran.bash [moved from ghc/utils/parallel/gr2gran.bash with 100% similarity]
utils/parallel/gr2java.pl [moved from ghc/utils/parallel/gr2java.pl with 100% similarity]
utils/parallel/gr2jv.bash [moved from ghc/utils/parallel/gr2jv.bash with 100% similarity]
utils/parallel/gr2pe.pl [moved from ghc/utils/parallel/gr2pe.pl with 100% similarity]
utils/parallel/gr2ps.bash [moved from ghc/utils/parallel/gr2ps.bash with 100% similarity]
utils/parallel/gr2qp.pl [moved from ghc/utils/parallel/gr2qp.pl with 100% similarity]
utils/parallel/gran-extr.pl [moved from ghc/utils/parallel/gran-extr.pl with 100% similarity]
utils/parallel/grs2gr.pl [moved from ghc/utils/parallel/grs2gr.pl with 100% similarity]
utils/parallel/par-aux.pl [moved from ghc/utils/parallel/par-aux.pl with 100% similarity]
utils/parallel/ps-scale-y.pl [moved from ghc/utils/parallel/ps-scale-y.pl with 100% similarity]
utils/parallel/qp2ap.pl [moved from ghc/utils/parallel/qp2ap.pl with 100% similarity]
utils/parallel/qp2ps.pl [moved from ghc/utils/parallel/qp2ps.pl with 100% similarity]
utils/parallel/sn_filter.pl [moved from ghc/utils/parallel/sn_filter.pl with 100% similarity]
utils/parallel/stats.pl [moved from ghc/utils/parallel/stats.pl with 100% similarity]
utils/parallel/template.pl [moved from ghc/utils/parallel/template.pl with 100% similarity]
utils/parallel/tf.pl [moved from ghc/utils/parallel/tf.pl with 100% similarity]
utils/prof/Makefile [moved from ghc/utils/prof/Makefile with 81% similarity]
utils/prof/cgprof/Makefile [new file with mode: 0644]
utils/prof/cgprof/README [moved from ghc/utils/prof/cgprof/README with 100% similarity]
utils/prof/cgprof/cgprof.c [moved from ghc/utils/prof/cgprof/cgprof.c with 100% similarity]
utils/prof/cgprof/cgprof.h [moved from ghc/utils/prof/cgprof/cgprof.h with 100% similarity]
utils/prof/cgprof/daVinci.c [moved from ghc/utils/prof/cgprof/daVinci.c with 100% similarity]
utils/prof/cgprof/daVinci.h [moved from ghc/utils/prof/cgprof/daVinci.h with 100% similarity]
utils/prof/cgprof/main.c [moved from ghc/utils/prof/cgprof/main.c with 100% similarity]
utils/prof/cgprof/matrix.c [moved from ghc/utils/prof/cgprof/matrix.c with 100% similarity]
utils/prof/cgprof/matrix.h [moved from ghc/utils/prof/cgprof/matrix.h with 100% similarity]
utils/prof/cgprof/symbol.c [moved from ghc/utils/prof/cgprof/symbol.c with 100% similarity]
utils/prof/cgprof/symbol.h [moved from ghc/utils/prof/cgprof/symbol.h with 100% similarity]
utils/prof/ghcprof.prl [moved from ghc/utils/prof/ghcprof.prl with 100% similarity]
utils/prof/icons/Makefile [new file with mode: 0644]
utils/prof/icons/absdelta.xbm [moved from ghc/utils/prof/icons/absdelta.xbm with 100% similarity]
utils/prof/icons/absolute.xbm [moved from ghc/utils/prof/icons/absolute.xbm with 100% similarity]
utils/prof/icons/comm.xbm [moved from ghc/utils/prof/icons/comm.xbm with 100% similarity]
utils/prof/icons/commslack.xbm [moved from ghc/utils/prof/icons/commslack.xbm with 100% similarity]
utils/prof/icons/comp.xbm [moved from ghc/utils/prof/icons/comp.xbm with 100% similarity]
utils/prof/icons/compress.xbm [moved from ghc/utils/prof/icons/compress.xbm with 100% similarity]
utils/prof/icons/compslack.xbm [moved from ghc/utils/prof/icons/compslack.xbm with 100% similarity]
utils/prof/icons/delete.xbm [moved from ghc/utils/prof/icons/delete.xbm with 100% similarity]
utils/prof/icons/help.xbm [moved from ghc/utils/prof/icons/help.xbm with 100% similarity]
utils/prof/icons/hrel.xbm [moved from ghc/utils/prof/icons/hrel.xbm with 100% similarity]
utils/prof/icons/hrelslack.xbm [moved from ghc/utils/prof/icons/hrelslack.xbm with 100% similarity]
utils/prof/icons/jump.xbm [moved from ghc/utils/prof/icons/jump.xbm with 100% similarity]
utils/prof/icons/mycomm.xbm [moved from ghc/utils/prof/icons/mycomm.xbm with 100% similarity]
utils/prof/icons/oxpara.xbm [moved from ghc/utils/prof/icons/oxpara.xbm with 100% similarity]
utils/prof/icons/percent.xbm [moved from ghc/utils/prof/icons/percent.xbm with 100% similarity]
utils/prof/icons/reldelta.xbm [moved from ghc/utils/prof/icons/reldelta.xbm with 100% similarity]
utils/prof/icons/sync.xbm [moved from ghc/utils/prof/icons/sync.xbm with 100% similarity]
utils/prof/icons/time.xbm [moved from ghc/utils/prof/icons/time.xbm with 100% similarity]
utils/prof/icons/time1.xbm [moved from ghc/utils/prof/icons/time1.xbm with 100% similarity]
utils/prof/icons/uncompress.xbm [moved from ghc/utils/prof/icons/uncompress.xbm with 100% similarity]
utils/prof/icons/undo.xbm [moved from ghc/utils/prof/icons/undo.xbm with 100% similarity]
utils/prof/icons/wait.xbm [moved from ghc/utils/prof/icons/wait.xbm with 100% similarity]
utils/prof/icons/weightdelta.xbm [moved from ghc/utils/prof/icons/weightdelta.xbm with 100% similarity]
utils/pvm/README [moved from ghc/utils/pvm/README with 100% similarity]
utils/pvm/debugger.emacs [moved from ghc/utils/pvm/debugger.emacs with 100% similarity]
utils/pvm/debugger2 [moved from ghc/utils/pvm/debugger2 with 100% similarity]
utils/runghc/Makefile [moved from ghc/utils/runghc/Makefile with 94% similarity]
utils/runghc/runghc.hs [moved from ghc/utils/runghc/runghc.hs with 100% similarity]
utils/runstdtest/Makefile [moved from glafp-utils/runstdtest/Makefile with 77% similarity]
utils/runstdtest/runstdtest.prl [moved from glafp-utils/runstdtest/runstdtest.prl with 100% similarity]
utils/stat2resid/Makefile [moved from ghc/utils/stat2resid/Makefile with 88% similarity]
utils/stat2resid/parse-gcstats.prl [moved from ghc/utils/stat2resid/parse-gcstats.prl with 100% similarity]
utils/stat2resid/prefix.txt [moved from ghc/utils/stat2resid/prefix.txt with 100% similarity]
utils/stat2resid/process-gcstats.prl [moved from ghc/utils/stat2resid/process-gcstats.prl with 100% similarity]
utils/stat2resid/stat2resid.prl [moved from ghc/utils/stat2resid/stat2resid.prl with 100% similarity]
utils/touchy/Makefile [moved from ghc/utils/touchy/Makefile with 100% similarity]
utils/touchy/touchy.c [moved from ghc/utils/touchy/touchy.c with 100% similarity]
utils/unlit/Makefile [moved from ghc/utils/unlit/Makefile with 100% similarity]
utils/unlit/README [moved from ghc/utils/unlit/README with 100% similarity]
utils/unlit/unlit.c [moved from ghc/utils/unlit/unlit.c with 100% similarity]
utils/verbatim/Makefile [moved from glafp-utils/verbatim/Makefile with 96% similarity]
utils/verbatim/verbatim.lex [moved from glafp-utils/verbatim/verbatim.lex with 100% similarity]

similarity index 100%
rename from ghc/ANNOUNCE
rename to ANNOUNCE
similarity index 96%
rename from ghc/HACKING
rename to HACKING
index 8b26ef4..cbff47d 100644 (file)
+++ b/HACKING
@@ -175,6 +175,13 @@ A rough roadmap to the source tree:
 Resources
 ---------
 
+The GHC Developer's Wiki
+
+   The home for GHC Developers, with information on accessing the latest sources,
+   the bug tracker, and further documentation on the code.
+   http://hackage.haskell.org/trac/ghc
+
+
 The Building Guide
 
    Full documentation on the build system.
similarity index 100%
rename from ghc/LICENSE
rename to LICENSE
index a8350fa..c1ff5a7 100644 (file)
--- a/Makefile
+++ b/Makefile
 ############################################################################
 #
-#                      fptools/Makefile
+#              This is the top-level Makefile for GHC
 #
-#              This is the main Makefile for fptools.
+# Targets: 
+#
+#      bootsrap (DEFAULT)
+#              Builds GHC, then builds the libraries,
+#              then uses this GHC ("stage 1") to build itself
+#              ("stage 2").
+#
+#      bootstrap2
+#              Same as bootstrap
+#
+#      bootstrap3
+#              bootstrap2 + we build GHC one more time ("stage 3")
+#
+#      stage1
+#              Just build up to stage 1
+#
+#      stage2
+#              Just build stage 2 (stage 1 must be built)
+#
+#      stage3
+#              Just build stage 3 (stage 2 must be built)
+#
+#      all
+#              Same as bootstrap
+#
+#       install
+#              Install everything, including stage 2 compiler by default
+#              (override with stage=3, for example).
+#
+#      dist
+#              Make a source dist (WARNING: runs 'make distclean' first)
+#
+#      binary-dist
+#              Builds a binary distribution
+#
+#      hc-file-bundle
+#              Builds an HC-file bundle, for bootstrapping
+#
+#      clean, distclean, maintainer-clean
+#              Increasing levels of cleanliness
 #
 ############################################################################
 
 TOP=.
 include $(TOP)/mk/boilerplate.mk
 
-# find the projects that actually exist...
-ProjectsThatExist = $(filter $(patsubst %/, %, $(wildcard */)), $(AllProjects))
-
-# and filter only those that the user requested, if necessary
-ifeq "$(ProjectsToBuild)" ""
-SUBDIRS = $(ProjectsThatExist)
-else
-SUBDIRS = $(filter $(ProjectsToBuild), $(ProjectsThatExist))
-endif
-
-ifneq "$(Project)" ""
-   ifeq "$(Project)" "GreenCard"
-       ProjectDirectory=greencard
-   else
-       ifeq "$(Project)" "HaskellDirect"
-               ProjectDirectory=hdirect
-       else
-               ProjectDirectory=$(Project)
-       endif
-   endif
-   -include $(shell echo $(ProjectDirectory) | tr A-Z a-z)/mk/config.mk
-   -include $(shell echo $(ProjectDirectory) | tr A-Z a-z)/mk/version.mk
-endif
-
-# -----------------------------------------------------------------------------
-# Certain targets require that Project is set from the command line.
-
-CURRENT_TARGET = $(MAKECMDGOALS)
-project-check :
-       @if [ "$(Project)" = "" ]; then \
-               echo "  You need to set \"Project\" in order to make $(CURRENT_TARGET)"; \
-               echo "  eg. make $(CURRENT_TARGET) Project=Ghc"; \
-               exit 1; \
-       fi
-
-# -----------------------------------------------------------------------------
-# Targets: all, stage1, stage2, stage3
-
-DIST_CLEAN_FILES += config.cache config.status mk/config.h mk/stamp-h
-
-extraclean::
-       $(RM) -rf autom4te.cache
-
 #
-# If you've ended up using an in-place version of Happy,
-# make sure it gets built early on.
+# Order is important! It's e.g. necessary to descend into include/
+# before the rest to have a config.h, etc.
 #
-ifeq "$(HAPPY)" "$(FPTOOLS_TOP_ABS)/happy/src/happy-inplace"
-build :: $(FPTOOLS_TOP_ABS)/happy/src/happy-inplace
+# If we're booting from .hc files, swap the order
+# we descend into subdirs - to boot utils must be before driver.
+#
+.PHONY: stage1 stage2 stage3 bootstrap bootstrap2 bootstrap3
 
-$(FPTOOLS_TOP_ABS)/happy/src/happy-inplace : glafp-utils
-       $(MAKE) -C happy boot all
+# We can't 'make boot' in libraries until stage1 is built
+ifeq "$(BootingFromHc)" "YES"
+SUBDIRS_NOLIB = includes rts docs compiler compat utils driver
+else
+SUBDIRS_NOLIB = includes compat utils driver docs compiler rts
 endif
 
-# Build all projects that we know about
-build ::
+SUBDIRS = $(SUBDIRS_NOLIB) libraries
+
+stage1 :
+       $(MAKE) -C utils/mkdependC boot
        @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \
-       for i in $(SUBDIRS); do \
-          if [ -d $$i ]; then \
-             $(MAKE) -C $$i boot; \
-             if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ;  then true; else exit 1; fi; \
-             $(MAKE) -C $$i all; \
-             if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ;  then true; else exit 1; fi; \
-             fi; \
+       for i in $(SUBDIRS_NOLIB); do \
+         echo "------------------------------------------------------------------------"; \
+         echo "== $(MAKE) boot $(MFLAGS);"; \
+         echo " in $(shell pwd)/$$i"; \
+         echo "------------------------------------------------------------------------"; \
+         $(MAKE) --no-print-directory -C $$i $(MFLAGS) boot; \
+         if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ;  then true; else exit 1; fi; \
+       done; \
+       for i in $(SUBDIRS_NOLIB); do \
+         echo "------------------------------------------------------------------------"; \
+         echo "== $(MAKE) all $(MFLAGS);"; \
+         echo " in $(shell pwd)/$$i"; \
+         echo "------------------------------------------------------------------------"; \
+         $(MAKE) --no-print-directory -C $$i $(MFLAGS) all; \
+         if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ;  then true; else exit 1; fi; \
        done
-
-ifeq "$(findstring ghc, $(SUBDIRS))" "ghc"
-
-.PHONY: stage1 stage2 stage3 bootstrap bootstrap2 bootstrap3
-
-stage1 : build
+       @$(MAKE) -C libraries boot
+       @$(MAKE) -C libraries all
 
 stage2 :
-       $(MAKE) -C ghc/compiler boot stage=2
-       $(MAKE) -C ghc/compiler stage=2
+       $(MAKE) -C compiler boot stage=2
+       $(MAKE) -C compiler stage=2
 
 stage3 :
-       $(MAKE) -C ghc/compiler boot stage=3
-       $(MAKE) -C ghc/compiler stage=3
+       $(MAKE) -C compiler boot stage=3
+       $(MAKE) -C compiler stage=3
 
 bootstrap  : bootstrap2
 
@@ -99,6 +106,9 @@ bootstrap3 : bootstrap2
 
 all :: bootstrap
 
+# -----------------------------------------------------------------------------
+# Installing
+
 # We want to install the stage 2 bootstrapped compiler by default, but we let
 # the user override this by saying 'make install stage=1', for example.
 ifeq "$(stage)" ""
@@ -107,27 +117,25 @@ else
 INSTALL_STAGE =
 endif
 
-else # Not building GHC
-
-all :: build
-
-INSTALL_STAGE =
-
-endif
-
-boot ::
-       @echo "Please use \`make all' only from the top-level, or \`make boot' followed"
-       @echo "by \`make all' in an individual project subdirectory (ghc, hslibs etc.)."
-
+# Same as default rule, but we pass $(INSTALL_STAGE) to $(MAKE) too
 install ::
        @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \
-       for i in $(filter-out $(ProjectsDontInstall), $(SUBDIRS)); do \
-          if [ -d $$i ]; then \
-             $(MAKE) -C $$i $(INSTALL_STAGE) install; \
-             if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ;  then true; else exit 1; fi; \
-             fi; \
+       for i in $(SUBDIRS); do \
+         echo "------------------------------------------------------------------------"; \
+         echo "== $(MAKE) $@ $(MFLAGS);"; \
+         echo " in $(shell pwd)/$$i"; \
+         echo "------------------------------------------------------------------------"; \
+         $(MAKE) --no-print-directory -C $$i $(INSTALL_STAGE) $(MFLAGS) $@; \
+         if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ;  then true; else exit 1; fi; \
        done
 
+ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+# These files need to be in the InstallShield
+# INSTALL_DATAS rather than INSTALL_DOCS is used so these files go
+# in the top-level directory of the distribution
+INSTALL_DATAS += ANNOUNCE LICENSE README VERSION
+endif
+
 # If installing on Windows with MinGW32, copy the gcc compiler, headers and libs
 # and the perl interpreter and dll into the GHC prefix directory.
 # Gcc and Perl source locations derived from configuration data.
@@ -152,11 +160,13 @@ endif
 
 install-docs ::
        @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \
-       for i in $(filter-out $(ProjectsDontInstall), $(SUBDIRS)); do \
-          if [ -d $$i ]; then \
-             $(MAKE) -C $$i $(INSTALL_STAGE) install-docs; \
-             if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ;  then true; else exit 1; fi; \
-             fi; \
+       for i in $(SUBDIRS); do \
+         echo "------------------------------------------------------------------------"; \
+         echo "== $(MAKE) $@ $(MFLAGS);"; \
+         echo " in $(shell pwd)/$$i"; \
+         echo "------------------------------------------------------------------------"; \
+         $(MAKE) --no-print-directory -C $$i $(INSTALL_STAGE) $(MFLAGS) $@; \
+         if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ;  then true; else exit 1; fi; \
        done
 
 # -----------------------------------------------------------------------------
@@ -185,7 +195,18 @@ install-docs ::
 #      binary-dist is an FPtools addition for binary distributions
 # 
 
-binary-dist :: project-check
+ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+GhcBinDistShScripts = ghc-$(ProjectVersion) ghci-$(ProjectVersion) ghc-pkg-$(ProjectVersion) hsc2hs
+else
+GhcBinDistShScripts =
+endif
+
+GhcBinDistPrlScripts = ghcprof
+GhcBinDistLibPrlScripts = ghc-asm ghc-split
+GhcBinDistBins = hp2ps runghc
+GhcBinDistOptBins = runhaskell
+GhcBinDistLinks = ghc ghci ghc-pkg
+GhcBinDistLibSplicedFiles = package.conf
 
 BIN_DIST_TMPDIR=$(FPTOOLS_TOP_ABS)
 BIN_DIST_NAME=$(ProjectNameShort)-$(ProjectVersion)
@@ -391,7 +412,7 @@ binary-dist::
 # Do it like this: 
 #
 #      $ make
-#      $ make dist Project=Ghc
+#      $ make dist
 #
 # WARNING: `make dist' calls `make distclean' before tarring up the tree.
 #
@@ -453,30 +474,42 @@ dist-package-zip ::
 hc-file-bundle : project-check
        $(RM) -r $(ProjectNameShort)-$(ProjectVersion)
        $(LN_S) . $(ProjectNameShort)-$(ProjectVersion)
-       $(FIND) $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler \
-            $(ProjectNameShort)-$(ProjectVersion)/ghc/utils \
-            $(ProjectNameShort)-$(ProjectVersion)/ghc/lib \
+       $(FIND) $(ProjectNameShort)-$(ProjectVersion)/compiler \
+            $(ProjectNameShort)-$(ProjectVersion)/utils \
+            $(ProjectNameShort)-$(ProjectVersion)/compat \
             $(ProjectNameShort)-$(ProjectVersion)/libraries -follow \
          \( -name "*.hc" -o -name "*_hsc.[ch]" -o -name "*_stub.[ch]" \) -print > hc-files-to-go
-       for f in `$(FIND) $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler $(ProjectNameShort)-$(ProjectVersion)/ghc/utils $(ProjectNameShort)-$(ProjectVersion)/libraries -name "*.hsc" -follow -print` ""; do \
+       for f in `$(FIND) $(ProjectNameShort)-$(ProjectVersion)/compiler $(ProjectNameShort)-$(ProjectVersion)/utils $(ProjectNameShort)-$(ProjectVersion)/libraries -name "*.hsc" -follow -print` ""; do \
             if test "x$$f" != "x" && test -e `echo "$$f" | sed 's/hsc$$/hs/g'`; then \
                echo `echo "$$f" | sed 's/hsc$$/hs/g' ` >> hc-files-to-go ; \
             fi; \
        done;
-       for f in `$(FIND) $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler $(ProjectNameShort)-$(ProjectVersion)/ghc/rts -name "*.cmm" -follow -print` ""; do \
+       for f in `$(FIND) $(ProjectNameShort)-$(ProjectVersion)/compiler $(ProjectNameShort)-$(ProjectVersion)/rts -name "*.cmm" -follow -print` ""; do \
             if test "x$$f" != "x"; then \
                echo `echo "$$f" | sed 's/cmm$$/hc/g' ` >> hc-files-to-go ; \
             fi; \
        done;
        echo $(ProjectNameShort)-$(ProjectVersion)/libraries/base/GHC/PrimopWrappers.hs >> hc-files-to-go
-       echo $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler/parser/Parser.hs >> hc-files-to-go
-       echo $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler/parser/ParserCore.hs >> hc-files-to-go
-       echo $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler/main/ParsePkgConf.hs >> hc-files-to-go
+       echo $(ProjectNameShort)-$(ProjectVersion)/compiler/parser/Parser.hs >> hc-files-to-go
+       echo $(ProjectNameShort)-$(ProjectVersion)/compiler/parser/ParserCore.hs >> hc-files-to-go
+       echo $(ProjectNameShort)-$(ProjectVersion)/compiler/main/ParsePkgConf.hs >> hc-files-to-go
        echo $(ProjectNameShort)-$(ProjectVersion)/libraries/haskell-src/Language/Haskell/Parser.hs >> hc-files-to-go
        tar czf $(ProjectNameShort)-$(ProjectVersion)-$(TARGETPLATFORM)-hc.tar.gz `cat hc-files-to-go`
 
+# -----------------------------------------------------------------------------
+# Cleaning
+
 CLEAN_FILES += hc-files-to-go *-hc.tar.gz
 
+DIST_CLEAN_FILES += config.cache config.status mk/config.h mk/stamp-h \
+       ghc.spec docs/users_guide/ug-book.xml
+
+# don't clean config.mk: it's needed when cleaning stuff later on
+LATE_DIST_CLEAN_FILES += mk/config.mk 
+
+extraclean::
+       $(RM) -rf autom4te.cache
+
 # -----------------------------------------------------------------------------
 
 # Turn off target.mk's rules for 'all', 'boot' and 'install'.
diff --git a/README b/README
index b1b408a..c2967fc 100644 (file)
--- a/README
+++ b/README
@@ -1,60 +1,67 @@
-GHC build system
-================
+The Glasgow Haskell Compiler
+============================
 
-This is the top-level directory of the fptools build system.  Several
-packages are part of this build system; if you got this as part of a
-source distribution (eg. for GHC), then you will have one or more of
-the following directories:
+This is the source tree for GHC, a compiler and interactive
+environment for the Haskell functional programming language.
 
-    ghc                  The Glasgow Haskell Compiler
-    hslibs       A Collection of Haskell libraries
-    haddock      A Haskell documentation tool
-    haggis       The Haggis GUI toolkit
-    happy        The Happy Haskell parser generator
-    hdirect       Haskell interop tool
-    greencard    A foreign function interface pre-processor for Haskell.
-    libraries    Haskell libraries (reqd. by ghc)
-    nofib        The NoFib Haskell benchmarking suite
+For more information, visit GHC's web site:
 
-Additional documentation for each project can be found in its
-respective directory.
+  http://www.haskell.org/ghc/
 
-In addition, the following directories contain project-independent bits:
+Information for developers of GHC can be found here:
 
-    mk           GNU make setup used by all of fptools
-    glafp-utils   Shared utility programs
-    docs          Documentation on the installing and using
-                  the fptools build system.
-    distrib      Tools and additional bits for building distributions
+  http://hackage.haskell.org/trac/ghc/
 
-Quick start:  the following is *supposed* to work
 
+Building & Installing
+=====================
+
+NB. you need GHC installed in order to build GHC, because the compiler
+is itself written in Haskell.  It is possible to build GHC using just
+a C compiler, but we don't recommend this as the normal route.  If you
+*really* want to do it this way, then see the Building Guide (link
+below).
+
+You also need a few other tools installed: Happy [4], Alex [5], and
+Haddock [6] (for building library documentation), and a good DocBook
+XML toolchain if you want to build the compiler documentation. 
+
+Quick start:  the following gives you a default build:
+
+       $ autoreconf
        $ ./configure
        $ make
        $ make install
 
-where 'make' is whatever GNU make is called on your system (GNU make
-is *required*).  If there are any other tools required for the build,
-then the configure script will detect them and tell you if any are
-missing.  For example, a working GHC installation is required for
-building most of the tools (including GHC itself).
+The autoreconf step is only necessary if this is a tree checked out
+from darcs.  For source distributions downloaded from GHC's web site,
+this step has already been performed.
+
+These steps give you the default build, which includes everything
+optimised and built in various ways (eg. profiling libs are built).
+It can take a long time.  To customise the build, see the file
+HACKING.
+
+For full information on building GHC, see the GHC Building Guide [3],
+which is also available in source form (DocBook XML) in docs/building.
 
-The configuration script is a standard GNU autoconf script which
-accepts all the normal arguments, eg. --prefix=<blah> to install the
-package somewhere other than /usr/local.  Try ./configure --help to
-get a full list of the options.
 
-There is usually an ANNOUNCE* file with any distribution.  Please
-consult that, or the <piece>/README file, to find out how to proceed.
+References
+==========
 
-Full documentation for the fptools build system can be found in the 
-Building Guide:
+ [1] http://www.haskell.org/ghc/               GHC Home Page
+ [2] http://hackage.haskell.org/trac/ghc       GHC Developer's Wiki
+ [3] http://www.haskell.org/ghc/docs/latest/html/building/index.html
+                                               Building Guide
 
-       http://www.haskell.org/ghc/docs/latest/html/building/building-guide.html
+ [4] http://www.haskell.org/happy/             Happy
+ [5] http://www.haskell.org/alex/              Alex
+ [6] http://www.haskell.org/haddock/           Haddock
 
-More information about GHC can be found here:
 
-       http://www.haskell.org/ghc/
+Contributors
+============
 
---
-The GHC Team,  glasgow-haskell-users@haskell.org
+Please see
+  
+   http://www.haskell.org/ghc/contributors.html
index 6cf12d6..139a262 100644 (file)
@@ -1055,4 +1055,65 @@ else
   GhcPkgCmd=$fp_cv_matching_ghc_pkg
 fi])# FP_PROG_GHC_PKG
 
+
+# FP_GHC_HAS_READLINE
+# -------------------
+AC_DEFUN([FP_GHC_HAS_READLINE],
+[AC_REQUIRE([FP_PROG_GHC_PKG])
+AC_CACHE_CHECK([whether ghc has readline package], [fp_cv_ghc_has_readline],
+[if "${GhcPkgCmd-ghc-pkg}" --show-package readline >/dev/null 2>&1; then
+  fp_cv_ghc_has_readline=yes
+else
+  fp_cv_ghc_has_readline=no
+ fi])
+AC_SUBST([GhcHasReadline], [`echo $fp_cv_ghc_has_readline | sed 'y/yesno/YESNO/'`])
+])# FP_GHC_HAS_READLINE
+
+
+# FP_GCC_NEEDS_NO_OMIT_LFPTR
+# --------------------------
+# Some OSs (Mandrake Linux, in particular) configure GCC with
+# -momit-leaf-frame-pointer on by default. If this is the case, we need to turn
+# it off for mangling to work. The test is currently a bit crude, using only the
+# version number of gcc. Defines HAVE_GCC_MNO_OMIT_LFPTR.
+AC_DEFUN([FP_GCC_NEEDS_NO_OMIT_LFPTR],
+[AC_REQUIRE([FP_HAVE_GCC])
+AC_CACHE_CHECK([whether gcc needs -mno-omit-leaf-frame-pointer], [fp_cv_gcc_needs_no_omit_lfptr],
+[FP_COMPARE_VERSIONS([$gcc_version_str], [-ge], [3.2],
+  [fp_cv_gcc_needs_no_omit_lfptr=yes],
+  [fp_cv_gcc_needs_no_omit_lfptr=no])])
+if test "$fp_cv_gcc_needs_no_omit_lfptr" = "yes"; then
+   AC_DEFINE([HAVE_GCC_MNO_OMIT_LFPTR], [1], [Define to 1 if gcc supports -mno-omit-leaf-frame-pointer.])
+fi])# FP_GCC_NEEDS_NO_OMIT_LFPTR
+
+
+# FP_SETUP_PROJECT_VERSION
+# ---------------------
+AC_DEFUN([FP_SETUP_PROJECT_VERSION],
+[# Some renamings
+AC_SUBST([ProjectVersion], [$PACKAGE_VERSION])
+
+# Split PACKAGE_VERSION into (possibly empty) parts
+VERSION_MAJOR=`echo $PACKAGE_VERSION | sed 's/^\(@<:@^.@:>@*\)\(\.\{0,1\}\(.*\)\)$/\1'/`
+VERSION_TMP=`echo $PACKAGE_VERSION | sed 's/^\(@<:@^.@:>@*\)\(\.\{0,1\}\(.*\)\)$/\3'/`
+VERSION_MINOR=`echo $VERSION_TMP | sed 's/^\(@<:@^.@:>@*\)\(\.\{0,1\}\(.*\)\)$/\1'/`
+ProjectPatchLevel=`echo $VERSION_TMP | sed 's/^\(@<:@^.@:>@*\)\(\.\{0,1\}\(.*\)\)$/\3'/`
+
+# Calculate project version as an integer, using 2 digits for minor version
+case $VERSION_MINOR in
+  ?) ProjectVersionInt=${VERSION_MAJOR}0${VERSION_MINOR} ;;
+  ??) ProjectVersionInt=${VERSION_MAJOR}${VERSION_MINOR} ;;
+  *) AC_MSG_ERROR([bad minor version in $PACKAGE_VERSION]) ;;
+esac
+AC_SUBST([ProjectVersionInt])
+
+# The project patchlevel is zero unless stated otherwise
+test -z "$ProjectPatchLevel" && ProjectPatchLevel=0
+
+# Remove dots from the patch level; this allows us to have versions like 6.4.1.20050508
+ProjectPatchLevel=`echo $ProjectPatchLevel | sed 's/\.//'`
+
+AC_SUBST([ProjectPatchLevel])
+])# FP_SETUP_PROJECT_INFO
+
 # LocalWords:  fi
similarity index 99%
rename from ghc/lib/compat/Makefile
rename to compat/Makefile
index 7637c94..b4e18c9 100644 (file)
@@ -1,4 +1,4 @@
-TOP=../..
+TOP=..
 include $(TOP)/mk/boilerplate.mk
 
 ALL_DIRS = \
similarity index 100%
rename from ghc/lib/compat/README
rename to compat/README
similarity index 87%
rename from ghc/lib/compat/compat.mk
rename to compat/compat.mk
index 156f033..48b2bea 100644 (file)
@@ -1,14 +1,14 @@
 # Settings for using the libghccompat.a library elsewhere in the build
 # tree: this file is just included into Makefiles, see 
-# ghc/utils/ghc-pkg/Makefile for example.
+# utils/ghc-pkg/Makefile for example.
 #
 # This is a poor-mans package, but simpler because we don't
 # have to deal with variations in the package support of different
 # versions of GHC.
 
 # Use libghccompat.a:
-SRC_HC_OPTS += -i$(GHC_LIB_COMPAT_DIR)
-SRC_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) -lghccompat
+SRC_HC_OPTS += -i$(GHC_COMPAT_DIR)
+SRC_LD_OPTS += -L$(GHC_COMPAT_DIR) -lghccompat
 
 # Do *not* use the installed Cabal:
 ifeq "$(ghc_ge_603)" "YES"
@@ -16,7 +16,7 @@ SRC_HC_OPTS += -ignore-package Cabal
 endif
 
 # And similarly for when booting from .hc files:
-HC_BOOT_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR)
+HC_BOOT_LD_OPTS += -L$(GHC_COMPAT_DIR)
 HC_BOOT_LIBS += -lghccompat
 
 ifeq "$(Windows)" "YES"
@@ -30,6 +30,7 @@ endif
 SRC_MKDEPENDHS_OPTS += \
        -optdep--exclude-module=Compat.RawSystem \
        -optdep--exclude-module=Compat.Directory \
+       -optdep--exclude-module=Compat.Unicode \
        -optdep--exclude-module=Distribution.Compat.FilePath \
        -optdep--exclude-module=Distribution.Compat.ReadP \
        -optdep--exclude-module=Distribution.Extension \
similarity index 100%
rename from ghc/compiler/DLL-NOTES
rename to compiler/DLL-NOTES
similarity index 97%
rename from ghc/compiler/Makefile
rename to compiler/Makefile
index c1819f2..a7ed035 100644 (file)
@@ -1,5 +1,5 @@
 # -----------------------------------------------------------------------------
-# Main ghc/compiler Makefile
+# Main compiler Makefile
 
 # Targets:
 #
@@ -602,8 +602,6 @@ SRC_HC_OPTS += '-\#include "hschooks.h"'
 #              Generate supporting stuff for prelude/PrimOp.lhs 
 #              from prelude/primops.txt
 
-GENPOC=$(TOP)/utils/genprimopcode/genprimopcode
-
 PRIMOP_BITS=primop-data-decl.hs-incl \
             primop-tag.hs-incl  \
             primop-list.hs-incl  \
@@ -630,30 +628,30 @@ depend :: $(PRIMOP_BITS)
 endif
 
 primop-data-decl.hs-incl: prelude/primops.txt
-       $(GENPOC) --data-decl          < $< > $@
+       $(GENPRIMOP) --data-decl          < $< > $@
 primop-tag.hs-incl: prelude/primops.txt
-       $(GENPOC) --primop-tag         < $< > $@
+       $(GENPRIMOP) --primop-tag         < $< > $@
 primop-list.hs-incl: prelude/primops.txt
-       $(GENPOC) --primop-list        < $< > $@
+       $(GENPRIMOP) --primop-list        < $< > $@
 primop-has-side-effects.hs-incl: prelude/primops.txt
-       $(GENPOC) --has-side-effects   < $< > $@
+       $(GENPRIMOP) --has-side-effects   < $< > $@
 primop-out-of-line.hs-incl: prelude/primops.txt
-       $(GENPOC) --out-of-line        < $< > $@
+       $(GENPRIMOP) --out-of-line        < $< > $@
 primop-commutable.hs-incl: prelude/primops.txt
-       $(GENPOC) --commutable         < $< > $@
+       $(GENPRIMOP) --commutable         < $< > $@
 primop-needs-wrapper.hs-incl: prelude/primops.txt
-       $(GENPOC) --needs-wrapper      < $< > $@
+       $(GENPRIMOP) --needs-wrapper      < $< > $@
 primop-can-fail.hs-incl: prelude/primops.txt
-       $(GENPOC) --can-fail           < $< > $@
+       $(GENPRIMOP) --can-fail           < $< > $@
 primop-strictness.hs-incl: prelude/primops.txt
-       $(GENPOC) --strictness         < $< > $@
+       $(GENPRIMOP) --strictness         < $< > $@
 primop-primop-info.hs-incl: prelude/primops.txt
-       $(GENPOC) --primop-primop-info < $< > $@
+       $(GENPRIMOP) --primop-primop-info < $< > $@
 
 # Usages aren't used any more; but the generator 
 # can still generate them if we want them back
 primop-usage.hs-incl: prelude/primops.txt
-       $(GENPOC) --usage              < $< > $@
+       $(GENPRIMOP) --usage              < $< > $@
 
 
 #-----------------------------------------------------------------------------
@@ -663,7 +661,7 @@ primop-usage.hs-incl: prelude/primops.txt
 # libraries will be available from the main libraries.
 
 ifeq "$(stage)" "1"
-include $(GHC_LIB_COMPAT_DIR)/compat.mk
+include $(GHC_COMPAT_DIR)/compat.mk
 endif
 
 SRC_LD_OPTS += -no-link-chk
@@ -676,7 +674,7 @@ all :: $(odir)/ghc-inplace ghc-inplace
 $(odir)/ghc-inplace : $(HS_PROG)
        @$(RM) $@
        echo '#!/bin/sh' >>$@
-       echo exec $(FPTOOLS_TOP_ABS)/ghc/compiler/$(HS_PROG) '-B$(subst \,\\,$(FPTOOLS_TOP_ABS_PLATFORM))' '"$$@"' >>$@
+       echo exec $(GHC_COMPILER_DIR_ABS)/$(HS_PROG) '-B$(subst \,\\,$(FPTOOLS_TOP_ABS_PLATFORM))' '"$$@"' >>$@
        chmod 755 $@
 
 ghc-inplace : stage1/ghc-inplace
@@ -765,7 +763,7 @@ PACKAGE_CPP_OPTS += -DPKG_DEPENDS='$(PKG_DEPENDS)'
 LIBOBJS = $(filter-out $(odir)/main/Main.o $(odir)/parser/hschooks.o, $(OBJS))
 
 # disable splitting: it won't really help with GHC, and the specialised
-# build system for ghc/compiler isn't set up to handle it.
+# build system for compiler/ isn't set up to handle it.
 SplitObjs = NO
 
 # the package build system likes to set WAYS=$(GhcLibWays), but we don't 
similarity index 100%
rename from ghc/compiler/NOTES
rename to compiler/NOTES
similarity index 100%
rename from ghc/compiler/README
rename to compiler/README
similarity index 100%
rename from ghc/compiler/Simon-log
rename to compiler/Simon-log
similarity index 100%
rename from ghc/compiler/cmm/Cmm.hs
rename to compiler/cmm/Cmm.hs
index f8d64d5..a35ad81 100644 (file)
@@ -13,7 +13,12 @@ dnl
 # see what flags are available. (Better yet, read the documentation!)
 #
 
-AC_INIT([fptools build system], [1.0], [cvs-fptools@haskell.org], [fptools])
+AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.5], [glasgow-haskell-bugs@haskell.org], [ghc])
+
+FP_SETUP_PROJECT_VERSION
+
+# Hmmm, we fix the RPM release number to 1 here... Is this convenient?
+AC_SUBST([release], [1])
 
 # First off, a distrib sanity check..
 AC_CONFIG_SRCDIR([mk/config.mk.in])
@@ -28,7 +33,7 @@ dnl
 dnl After the toplevel configuration is complete, the script will recurse into
 dnl these subdirectories if they exist. The use of a cache file makes repeated
 dnl checks cheap.
-AC_CONFIG_SUBDIRS([ghc libraries])
+AC_CONFIG_SUBDIRS([libraries])
 
 # -------------------------------------------------------------------------
 # Prepare to generate the following header files
@@ -649,6 +654,9 @@ if test "$WithGhc" != ""; then
   AC_SUBST(GhcPatchLevel)dnl
 fi
 
+# Check whether this GHC has readline installed
+FP_GHC_HAS_READLINE
+
 AC_PATH_PROGS(NHC,nhc nhc98)
 AC_PATH_PROG(HBC,hbc)
 
@@ -717,21 +725,6 @@ if test "$BootingFromHc" = "NO" -a "$WithGhc" = "" -a -d "$srcdir/ghc"; then
 AC_MSG_ERROR([GHC is required unless bootstrapping from .hc files.])
 fi;
 
-dnl ** --enable-threaded-rts (not used any more)
-dnl --------------------------------------------------------------
-AC_ARG_ENABLE(threaded-rts,
-[AC_HELP_STRING([--enable-threaded-rts],
-[DEPRECATED (backwards compatibility only). [default=no]])],
-[ if test x"$enableval" = x"yes"; then
-       ThreadedRts=YES
-  else
-       ThreadedRts=NO
-  fi
-],
-[ThreadedRts=NO]
-)
-AC_SUBST(ThreadedRts)
-
 dnl ** Enable the construction of Win32 DLLs?
 dnl --------------------------------------------------------------
 dnl
@@ -850,6 +843,7 @@ dnl     If gcc, make sure it's at least 2.1
 dnl
 FP_HAVE_GCC
 FP_MINGW_GCC
+FP_GCC_NEEDS_NO_OMIT_LFPTR
 
 dnl ** figure out how to invoke cpp directly (gcc -E is no good)
 AC_PROG_CPP
@@ -1236,7 +1230,18 @@ AC_TRY_LINK_FUNC(printf$LSBLStub,
             [Define to 1 if we have printf$LDBLStub (Apple Mac OS >= 10.4, PPC).])
     ])
 
+# test for GTK+
+AC_PATH_PROGS([GTK_CONFIG], [pkg-config])
+if test -n "$GTK_CONFIG"; then
+  if $GTK_CONFIG gtk+-2.0 --atleast-version=2.0; then
+    GTK_CONFIG="$GTK_CONFIG gtk+-2.0"
+  else
+    AC_MSG_WARN([GTK+ not usable, need at least version 2.0])
+    GTK_CONFIG=
+  fi
+fi
+AC_SUBST([GTK_CONFIG])
 
-AC_CONFIG_FILES([mk/config.mk])
+AC_CONFIG_FILES([mk/config.mk ghc.spec docs/users_guide/ug-book.xml])
 AC_CONFIG_COMMANDS([mk/stamp-h],[echo timestamp > mk/stamp-h])
 AC_OUTPUT
index 1540e15..5ce9dfb 100644 (file)
@@ -46,7 +46,7 @@ esac
 echo "*** Building compiler..."
 ./configure --enable-hc-boot $configopts
 
-$MAKE -C glafp-utils boot all
+$MAKE -C utils boot all
 $MAKE -C ghc boot
 $MAKE -C libraries boot all GhcBootLibs=YES
 $MAKE -C ghc all
@@ -60,7 +60,7 @@ configopts=`echo $configopts | sed s/--enable-hc-boot-unregisterised//`
 
 # Reconfigure, using the newly-build ghc binary as our $(GHC), and
 # with hc bootstrapping disabled.
-HappyCmd="$PWD/distrib/fake-happy" ./configure --with-ghc="$PWD/ghc/compiler/ghc-inplace" $configopts
+HappyCmd="$PWD/distrib/fake-happy" ./configure --with-ghc="$PWD/compiler/ghc-inplace" $configopts
 
 PRIMOP_BITS="primop-data-decl.hs-incl \
              primop-tag.hs-incl  \
@@ -80,27 +80,24 @@ PRIMOP_BITS="primop-data-decl.hs-incl \
 find libraries hslibs | grep '\.[oa]$' | xargs rm -f
 
 # Do includes and RTS now
-$MAKE -C ghc/includes boot && $MAKE -C ghc/includes all
-$MAKE -C ghc/rts      boot && $MAKE -C ghc/rts      all
+$MAKE -C includes boot && $MAKE -C includes all
+$MAKE -C rts      boot && $MAKE -C rts      all
 
 # Now build a new set of libraries (GhcBootLibs only for now)
 $MAKE -C libraries boot all GhcBootLibs=YES
 
-# Build all of ghc/lib
-$MAKE -C ghc/lib clean && $MAKE -C ghc/lib boot all
+# Build all of compat
+$MAKE -C compat clean && $MAKE -C compat boot all
 
-# Build all of ghc/utils
-$MAKE -C ghc/utils clean && $MAKE -C ghc/utils boot all
+# Build all of utils
+$MAKE -C utils clean && $MAKE -C utils boot all
 
 # Build the rest of the libraries
 $MAKE -C libraries boot all
 
-# Now we can build hslibs (hsc2hs is required, so must be after ghc/utils)
-$MAKE -C hslibs  boot all
-
 # The reconfigure step updates a few files, which can lead to
 # unnecessary recompilations.  Touch a bunch of things here to avoid
 # having to recompile stuff that we've already built.
-(cd ghc/compiler; touch $PRIMOP_BITS parser/hschooks.o prelude/PrimOp.o main/Config.hs main/Config.o ghc-*)
+(cd compiler; touch $PRIMOP_BITS parser/hschooks.o prelude/PrimOp.o main/Config.hs main/Config.o ghc-*)
 
 # At this point, the tree should be safe to do 'make install' in.
index a9140dd..b384a93 100644 (file)
@@ -1,6 +1,6 @@
 TOP = ..
 include $(TOP)/mk/boilerplate.mk
 
-SUBDIRS = docbook-cheat-sheet
+SUBDIRS = building docbook-cheat-sheet ext-core storage-mgt users_guide
 
 include $(TOP)/mk/target.mk
similarity index 100%
rename from ghc/docs/ghci/ghci.tex
rename to docs/ghci/ghci.tex
similarity index 100%
rename from ghc/docs/rts/closure.ps
rename to docs/rts/closure.ps
similarity index 100%
rename from ghc/docs/rts/rts.tex
rename to docs/rts/rts.tex
similarity index 100%
rename from ghc/docs/vh/Makefile
rename to docs/vh/Makefile
similarity index 100%
rename from ghc/docs/vh/vh.xml
rename to docs/vh/vh.xml
similarity index 100%
rename from ghc/driver/Makefile
rename to driver/Makefile
similarity index 100%
rename from ghc/driver/ghc/Makefile
rename to driver/ghc/Makefile
similarity index 100%
rename from ghc/driver/ghc/ghc.sh
rename to driver/ghc/ghc.sh
similarity index 95%
rename from ghc/driver/ghci/Makefile
rename to driver/ghci/Makefile
index 9392249..7c67ac5 100644 (file)
@@ -20,7 +20,7 @@ GHCBIN=$(libexecdir)/ghc-$(ProjectVersion)
 GHCLIB=$(libdir)
 endif # BIN_DIST
 else
-GHCBIN=$(FPTOOLS_TOP_ABS)/ghc/compiler/ghc-$(ProjectVersion)
+GHCBIN=$(FPTOOLS_TOP_ABS)/$(GHC_COMPILER_DIR_REL)/ghc-$(ProjectVersion)
 GHCLIB=$(FPTOOLS_TOP_ABS)
 endif
 
similarity index 100%
rename from ghc/driver/ghci/ghci.c
rename to driver/ghci/ghci.c
similarity index 100%
rename from ghc/driver/ghci/ghci.rc
rename to driver/ghci/ghci.rc
similarity index 100%
rename from ghc/driver/ghci/ghci.sh
rename to driver/ghci/ghci.sh
similarity index 100%
rename from ghc/driver/test_mangler
rename to driver/test_mangler
similarity index 100%
rename from ghc/ghc.spec.in
rename to ghc.spec.in
index afdb50a..cacc3f7 100644 (file)
@@ -32,10 +32,6 @@ SUBDIRS = includes lib utils driver docs compiler
 endif
 endif
 
-ifeq ($(IncludeTestDirsInBuild),YES)
-SUBDIRS += tests
-endif
-
 SRC_DIST_FILES += configure
 
 # Clean everything created by configure:
diff --git a/ghc/README b/ghc/README
deleted file mode 100644 (file)
index e5a9a69..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-The Glasgow Haskell Compiler
-============================
-
-(this file is fptools/ghc/README in a source distribution, and
-fptools/README in a binary distribution).
-
-GHC is a batch compiler for Haskell 98.  See the file ANNOUNCE for
-information on the current version.
-
-Haskell is "the" standard lazy functional programming language.
-Haskell 98 is the current version of the language, released in
-December 1998.  The language definition is on the Web at
-http://www.haskell.org/definition/.
-
-More information on GHC can be found on its web page
-
-       http://www.haskell.org/ghc/
-
-Documentation
-=============
-
-In a binary distribution, pre-formatted documentation can be found in
-the html and ps directories.  Pre-formatted HTML documentation is also
-available on the GHC web page.
-
-In a source distribution, the unformatted (DocBook XML) documentation
-is in the following places:
-
-  * fptools/ghc/docs/users_guide  Users' Guide.
-  * fptools/hslibs/doc/hslibs    Library documentation.
-  * fptools/docs                 Build System Guide.
-
-We welcome your comments and suggestions about this software!  Please
-do not suffer or grumble in silence.  The "bug reports" section of the
-User's Guide says what we would like to know when you report a
-problem.
-
-Mailing Lists
-=============
-
-    glasgow-haskell-bugs@haskell.org    (bug reports mailing list)
-    glasgow-haskell-users@haskell.org   (users' mailing list)
-    cvs-ghc@haskell.org                         (developers & bleeding-edge users list)
-
-    subscribe at http://www.haskell.org/mailman/listinfo/
-
-Contributors
-=============
-
-Please see
-  
-   http://www.haskell.org/ghc/contributors.html
-
diff --git a/ghc/VERSION.in b/ghc/VERSION.in
deleted file mode 100644 (file)
index 7bb6a43..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@ProjectName@, version @ProjectVersion@
diff --git a/ghc/aclocal.m4 b/ghc/aclocal.m4
deleted file mode 100644 (file)
index 3a4a6f7..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-# FP_SETUP_PROJECT_INFO
-# ---------------------
-AC_DEFUN([FP_SETUP_PROJECT_INFO],
-[# Some renamings
-AC_SUBST([ProjectName], [$PACKAGE_NAME])
-AC_SUBST([ProjectNameShort], [$PACKAGE_TARNAME])
-AC_SUBST([ProjectVersion], [$PACKAGE_VERSION])
-
-# Split PACKAGE_VERSION into (possibly empty) parts
-VERSION_MAJOR=`echo $PACKAGE_VERSION | sed 's/^\(@<:@^.@:>@*\)\(\.\{0,1\}\(.*\)\)$/\1'/`
-VERSION_TMP=`echo $PACKAGE_VERSION | sed 's/^\(@<:@^.@:>@*\)\(\.\{0,1\}\(.*\)\)$/\3'/`
-VERSION_MINOR=`echo $VERSION_TMP | sed 's/^\(@<:@^.@:>@*\)\(\.\{0,1\}\(.*\)\)$/\1'/`
-ProjectPatchLevel=`echo $VERSION_TMP | sed 's/^\(@<:@^.@:>@*\)\(\.\{0,1\}\(.*\)\)$/\3'/`
-
-# Calculate project version as an integer, using 2 digits for minor version
-case $VERSION_MINOR in
-  ?) ProjectVersionInt=${VERSION_MAJOR}0${VERSION_MINOR} ;;
-  ??) ProjectVersionInt=${VERSION_MAJOR}${VERSION_MINOR} ;;
-  *) AC_MSG_ERROR([bad minor version in $PACKAGE_VERSION]) ;;
-esac
-AC_SUBST([ProjectVersionInt])
-
-# The project patchlevel is zero unless stated otherwise
-test -z "$ProjectPatchLevel" && ProjectPatchLevel=0
-
-# Remove dots from the patch level; this allows us to have versions like 6.4.1.20050508
-ProjectPatchLevel=`echo $ProjectPatchLevel | sed 's/\.//'`
-
-AC_SUBST([ProjectPatchLevel])
-])# FP_SETUP_PROJECT_INFO
-
-
-# FP_PROG_GHC_PKG
-# ----------------
-# Try to find a ghc-pkg matching the ghc mentioned in the environment variable
-# WithGhc. If the latter is unset or no matching ghc-pkg can be found, try to
-# find a plain ghc-pkg. Sets the output variable GhcPkgCmd.
-AC_DEFUN([FP_PROG_GHC_PKG],
-[AC_CACHE_CHECK([for ghc-pkg matching $WithGhc], fp_cv_matching_ghc_pkg,
-[fp_ghc_pkg_guess=`echo $WithGhc | sed 's,ghc\(@<:@^/\\@:>@*\)$,ghc-pkg\1,'`
-if "$fp_ghc_pkg_guess" -l > /dev/null 2>&1; then
-  fp_cv_matching_ghc_pkg=$fp_ghc_pkg_guess
-else
-  fp_cv_matching_ghc_pkg=no
-fi])
-if test x"$fp_cv_matching_ghc_pkg" = xno; then
-  AC_PATH_PROG([GhcPkgCmd], [ghc-pkg])
-else
-  GhcPkgCmd=$fp_cv_matching_ghc_pkg
-fi])# FP_PROG_GHC_PKG
-
-
-# FP_GHC_HAS_READLINE
-# -------------------
-AC_DEFUN([FP_GHC_HAS_READLINE],
-[AC_REQUIRE([FP_PROG_GHC_PKG])
-AC_CACHE_CHECK([whether ghc has readline package], [fp_cv_ghc_has_readline],
-[if "${GhcPkgCmd-ghc-pkg}" --show-package readline >/dev/null 2>&1; then
-  fp_cv_ghc_has_readline=yes
-else
-  fp_cv_ghc_has_readline=no
- fi])
-AC_SUBST([GhcHasReadline], [`echo $fp_cv_ghc_has_readline | sed 'y/yesno/YESNO/'`])
-])# FP_GHC_HAS_READLINE
-
-
-# FP_COMPARE_VERSIONS(VERSION1, TEST, VERSION2, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
-# ----------------------------------------------------------------------------------
-# Compare dotted version numbers VERSION1 and VERSION2 lexicographically according
-# to TEST (one of -eq, -ne, -lt, -le, -gt, or -ge).
-AC_DEFUN([FP_COMPARE_VERSIONS],
-[fp_version1=$1; fp_version2=$3
-fp_save_IFS=$IFS; IFS='.'
-while test x"$fp_version1" != x || test x"$fp_version2" != x
-do
-
-  set dummy $fp_version1; shift
-  fp_num1=""
-  test $[@%:@] = 0 || { fp_num1="[$]1"; shift; }
-  test x"$fp_num1" = x && fp_num1="0"
-  fp_version1="[$]*"
-
-  set dummy $fp_version2; shift
-  fp_num2=""
-  test $[@%:@] = 0 || { fp_num2="[$]1"; shift; }
-  test x"$fp_num2" = x && fp_num2="0"
-  fp_version2="[$]*"
-
-  test "$fp_num1" = "$fp_num2" || break;
-done
-IFS=$fp_save_IFS
-AS_IF([test "$fp_num1" $2 "$fp_num2"], [$4], [$5])[]dnl
-])# FP_COMPARE_VERSIONS
-
-
-# FP_HAVE_GCC
-# -----------
-# Extra testing of the result AC_PROG_CC, testing the gcc version no. Sets the
-# output variables HaveGcc and GccVersion.
-AC_DEFUN([FP_HAVE_GCC],
-[AC_REQUIRE([AC_PROG_CC])
-AC_CACHE_CHECK([whether your gcc is OK], [fp_cv_have_gcc],
-[if test -z "$GCC"; then
-  fp_cv_have_gcc='no'
-  AC_MSG_WARN([You would be better off with gcc, perhaps it is already installed, but not in your PATH?])
-else
-  fp_cv_have_gcc='yes'
-  gcc_version_str="`$CC -v 2>&1 | grep 'version ' | sed -e 's/.*version [[^0-9]]*\([[0-9]][[0-9]]*\)\.\([[0-9]][[0-9]]*\).*/\1\.\2/g' `"
-  FP_COMPARE_VERSIONS([$gcc_version_str], [-lt], [2.0],
-    [AC_MSG_ERROR([Need at least gcc version 2.0 (2.95.3 recommend)])])
-fi])
-AC_SUBST([HaveGcc], [`echo $fp_cv_have_gcc | sed 'y/yesno/YESNO/'`])
-AC_SUBST([GccVersion], [`gcc --version | grep mingw | cut -f 3 -d ' '`])
-])# FP_HAVE_GCC
-
-
-# FP_GCC_NEEDS_NO_OMIT_LFPTR
-# --------------------------
-# Some OSs (Mandrake Linux, in particular) configure GCC with
-# -momit-leaf-frame-pointer on by default. If this is the case, we need to turn
-# it off for mangling to work. The test is currently a bit crude, using only the
-# version number of gcc. Defines HAVE_GCC_MNO_OMIT_LFPTR.
-AC_DEFUN([FP_GCC_NEEDS_NO_OMIT_LFPTR],
-[AC_REQUIRE([FP_HAVE_GCC])
-AC_CACHE_CHECK([whether gcc needs -mno-omit-leaf-frame-pointer], [fp_cv_gcc_needs_no_omit_lfptr],
-[FP_COMPARE_VERSIONS([$gcc_version_str], [-ge], [3.2],
-  [fp_cv_gcc_needs_no_omit_lfptr=yes],
-  [fp_cv_gcc_needs_no_omit_lfptr=no])])
-if test "$fp_cv_gcc_needs_no_omit_lfptr" = "yes"; then
-   AC_DEFINE([HAVE_GCC_MNO_OMIT_LFPTR], [1], [Define to 1 if gcc supports -mno-omit-leaf-frame-pointer.])
-fi])# FP_GCC_NEEDS_NO_OMIT_LFPTR
diff --git a/ghc/lib/Makefile b/ghc/lib/Makefile
deleted file mode 100644 (file)
index ca08ea2..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-TOP=..
-include $(TOP)/mk/boilerplate.mk
-
-SUBDIRS = compat
-
-include $(TOP)/mk/target.mk
diff --git a/ghc/mk/boilerplate.mk b/ghc/mk/boilerplate.mk
deleted file mode 100644 (file)
index 0ab3f33..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-# GHC boilerplate.mk
-
-GHC_TOP := $(TOP)
-
-# Include this first, because the top-level .mk files might depend on
-# the values of $(ProjectXXX) variables.  (in fact they might/should not, 
-# but we're not brave enough to move this include later --SDM).
--include $(GHC_TOP)/mk/version.mk
-
-# We need to set TOP to be the TOP that the next level up expects!
-# The TOP variable is reset after the inclusion of the fptools
-# boilerplate, so we stash TOP away first:
-TOP:=$(GHC_TOP)/..
-
-include $(TOP)/mk/boilerplate.mk
-
-# Reset TOP
-TOP:=$(GHC_TOP)
-
-# -----------------------------------------------------------------
-# Everything after this point
-# augments or overrides previously set variables.
-# -----------------------------------------------------------------
-
--include $(GHC_TOP)/mk/config.mk
--include $(GHC_TOP)/mk/paths.mk
--include $(GHC_TOP)/mk/opts.mk
--include $(GHC_TOP)/mk/suffix.mk
diff --git a/ghc/mk/config.mk.in b/ghc/mk/config.mk.in
deleted file mode 100644 (file)
index e3060ec..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-# -*-makefile-*-
-# @configure_input@
-
-# -----------------------------------------------------------------------------
-# GHC binary distribution configuration
-
-# These settings are used by the top-level Makefile when building
-# binary distributions.
-
-# what to include in a binary distribution
-GhcMainDir = ghc
-GhcBinDistDirs = ghc libraries hslibs
-
-ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-GhcBinDistShScripts = ghc-$(ProjectVersion) ghci-$(ProjectVersion) ghc-pkg-$(ProjectVersion) hsc2hs
-else
-GhcBinDistShScripts =
-endif
-
-GhcBinDistPrlScripts = ghcprof
-GhcBinDistLibPrlScripts = ghc-asm ghc-split
-GhcBinDistBins = hp2ps runghc
-GhcBinDistOptBins = runhaskell
-GhcBinDistLinks = ghc ghci ghc-pkg
-GhcBinDistLibSplicedFiles = package.conf
-
-# -----------------------------------------------------------------------------
-# GHC-specific configuration settings
-
-# Set to YES if $(GHC) has the readline package installed
-GhcHasReadline = @GhcHasReadline@
-
-# GTK+
-GTK_CONFIG = @GTK_CONFIG@
-
-# -----------------------------------------------------------------------------
-
-# We can build using the stage1 compiler by setting UseStage1=YES.
-# This is useful when building up a set of .hc files for
-# bootstrapping, because we need the ghc/lib/compat library and the
-# contents of ghc/utils compiled with the stage1 compiler.
-
-ifeq "$(UseStage1)" "YES"
-HC=$(GHC_STAGE1)
-MKDEPENDHS=$(GHC_STAGE1)
-endif
-
-# Some useful GHC version predicates:
-
-ifeq "$(UseStage1)" "YES"
-ghc_ge_504 = YES
-ghc_ge_601 = YES
-ghc_ge_602 = YES
-ghc_ge_603 = YES
-else
-ifeq "$(BootingFromHc)" "YES"
-ghc_ge_504 = YES
-ghc_ge_601 = YES
-ghc_ge_602 = YES
-ghc_ge_603 = YES
-else
-ghc_ge_504 = $(shell if (test $(GhcCanonVersion) -ge 504); then echo YES; else echo NO; fi)
-ghc_ge_601 = $(shell if (test $(GhcCanonVersion) -ge 601); then echo YES; else echo NO; fi)
-ghc_ge_602 = $(shell if (test $(GhcCanonVersion) -ge 602); then echo YES; else echo NO; fi)
-ghc_ge_603 = $(shell if (test $(GhcCanonVersion) -ge 603); then echo YES; else echo NO; fi)
-endif
-endif
diff --git a/ghc/mk/paths.mk b/ghc/mk/paths.mk
deleted file mode 100644 (file)
index 2e86122..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-# -----------------------------------------------------------------------------
-# $Id: paths.mk,v 1.44 2004/11/11 09:36:40 simonmar Exp $
-#
-# ghc project specific make variables
-#
-
-PROJECT_DIR            := ghc
-
-#-----------------------------------------------------------------------------
-# Useful directories
-#
-#      xxx_DIR_REL      a directory relative to $(GHC_TOP)
-#      xxx_DIR          a directory (including $(GHC_TOP))
-
-GHC_INCLUDE_DIR_REL    = includes
-GHC_COMPILER_DIR_REL   = compiler
-GHC_RUNTIME_DIR_REL    = rts
-GHC_UTILS_DIR_REL      = utils
-GHC_DRIVER_DIR_REL     = driver
-GHC_LIB_DIR_REL                = lib
-
-GHC_UNLIT_DIR_REL      = $(GHC_UTILS_DIR_REL)/unlit
-GHC_HSTAGS_DIR_REL     = $(GHC_UTILS_DIR_REL)/hasktags
-GHC_TOUCHY_DIR_REL     = $(GHC_UTILS_DIR_REL)/touchy
-GHC_PKG_DIR_REL                = $(GHC_UTILS_DIR_REL)/ghc-pkg
-GHC_GENPRIMOP_DIR_REL  = $(GHC_UTILS_DIR_REL)/genprimopcode
-GHC_GENAPPLY_DIR_REL   = $(GHC_UTILS_DIR_REL)/genapply
-GHC_MANGLER_DIR_REL    = $(GHC_DRIVER_DIR_REL)/mangler
-GHC_SPLIT_DIR_REL      = $(GHC_DRIVER_DIR_REL)/split
-GHC_SYSMAN_DIR_REL     = $(GHC_RUNTIME_DIR_REL)/parallel
-GHC_LIB_COMPAT_DIR_REL = $(GHC_LIB_DIR_REL)/compat
-
-GHC_INCLUDE_DIR        = $(GHC_TOP)/$(GHC_INCLUDE_DIR_REL)
-GHC_COMPILER_DIR       = $(GHC_TOP)/$(GHC_COMPILER_DIR_REL)
-GHC_RUNTIME_DIR        = $(GHC_TOP)/$(GHC_RUNTIME_DIR_REL)
-GHC_UTILS_DIR          = $(GHC_TOP)/$(GHC_UTILS_DIR_REL)
-GHC_DRIVER_DIR         = $(GHC_TOP)/$(GHC_DRIVER_DIR_REL)
-GHC_PKG_DIR            = $(GHC_TOP)/$(GHC_PKG_DIR_REL)
-GHC_GENPRIMOP_DIR      = $(GHC_TOP)/$(GHC_GENPRIMOP_DIR_REL)
-GHC_GENAPPLY_DIR       = $(GHC_TOP)/$(GHC_GENAPPLY_DIR_REL)
-GHC_MANGLER_DIR         = $(GHC_TOP)/$(GHC_MANGLER_DIR_REL)
-GHC_SPLIT_DIR           = $(GHC_TOP)/$(GHC_SPLIT_DIR_REL)
-GHC_LIB_COMPAT_DIR      = $(GHC_TOP)/$(GHC_LIB_COMPAT_DIR_REL)
-
-# -----------------------------------------------------------------------------
-# Names of programs in the GHC tree
-#
-#      xxx_PGM         the name of an executable, without the path
-
-GHC_UNLIT_PGM          = unlit$(exeext)
-GHC_HSTAGS_PGM         = hasktags
-GHC_TOUCHY_PGM         = touchy$(exeext)
-GHC_MANGLER_PGM                = ghc-asm
-GHC_SPLIT_PGM          = ghc-split
-GHC_SYSMAN_PGM                 = SysMan
-GHC_PKG_INPLACE_PGM    = ghc-pkg-inplace
-GHC_GENPRIMOP_PGM      = genprimopcode
-GHC_GENAPPLY_PGM       = genapply
-
-# -----------------------------------------------------------------------------
-# Auxilliary programs used by GHC
-#
-#      xxx              the pathname to an executable (some using $(TOP))
-
-ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-GHC_CP                 = "xcopy /y"
-GHC_PERL               = perl
-else
-GHC_CP                 = $(CP)
-GHC_PERL               = $(PERL)
-endif
-
-GHC_UNLIT              = $(GHC_UNLIT_DIR)/$(GHC_UNLIT_PGM)
-GHC_HSTAGS             = $(GHC_HSTAGS_DIR)/$(GHC_HSTAGS_PGM)
-GHC_MANGLER            = $(GHC_MANGLER_DIR)/$(GHC_MANGLER_PGM)
-GHC_SPLIT              = $(GHC_SPLIT_DIR)/$(GHC_SPLIT_PGM)
-GHC_SYSMAN             = $(GHC_SYSMAN_DIR)/$(GHC_SYSMAN_PGM)
-GHC_PKG_INPLACE                = $(GHC_PKG_DIR)/$(GHC_PKG_INPLACE_PGM)
-GHC_GENPRIMOP          = $(GHC_GENPRIMOP_DIR)/$(GHC_GENPRIMOP_PGM)
-GHC_GENAPPLY           = $(GHC_GENAPPLY_DIR)/$(GHC_GENAPPLY_PGM)
diff --git a/ghc/mk/target.mk b/ghc/mk/target.mk
deleted file mode 100644 (file)
index 0d49585..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# target.mk project stub
-#
-
-# We need to set TOP to be the TOP that the next level up expects!
-# The TOP variable is reset after the inclusion of the fptools
-# boilerplate, so we stash TOP away first:
-GHC_TOP := $(TOP)
-TOP:=$(TOP)/..
-
-include $(TOP)/mk/target.mk
-
-# Reset TOP
-TOP:=$(GHC_TOP)
diff --git a/ghc/mk/version.mk.in b/ghc/mk/version.mk.in
deleted file mode 100644 (file)
index e8e1656..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# Project-specific version information.
-#
-# Note:
-#   this config file is intended to centralise all
-#   project version information. To bump up the version
-#   info on your package, edit this file and recompile
-#   all the dependents. This file lives in the source tree.
-#
-# In the case of the ghc/ project, if you make changes
-# to this file, you'll *have to* to rebuild the driver
-# in your build tree(s). The ghc/driver/Makefile has got
-# a dependency that will force such rebuilding to happen,
-# but it does require you to do a 'make' in ghc/driver.
-
-#
-# Ghc project settings:
-# 
-# ProjectVersion    is treated as a *string*
-# ProjectVersionInt is treated as an *integer* (for cpp defines)
-
-# Versioning scheme: A.B.C
-#         A: major version, decimal, any number of digits
-#         B: minor version, decimal, any number of digits
-#        C: patchlevel, one digit, omitted if zero.
-#
-# ProjectVersionInt does *not* contain the patchlevel (rationale: this
-# figure is used for conditional compilations, and library interfaces
-# etc. are not supposed to change between patchlevels).
-#
-# The ProjectVersionInt is included in interface files, and GHC
-# checks that it's reading interface generated by the same ProjectVersion
-# as itself. It does this even though interface file syntax may not 
-# change between versions.  Rationale: calling conventions or other 
-# random .o-file stuff might change even if the .hi syntax doesn't
-
-ProjectName       = @ProjectName@
-ProjectNameShort  = @ProjectNameShort@
-ProjectVersion    = @ProjectVersion@
-ProjectVersionInt = @ProjectVersionInt@
-ProjectPatchLevel = @ProjectPatchLevel@
-
-# Interface file version (hi-boot files only)
-#
-# A GHC built with HscIfaceFileVersion=n will look for 
-#      M.hi-boot-n, and only then for 
-#      M.hi-boot.
-# (It'll be happy with the latter if the former doesn't exist.)
-#
-#
-# This variable is used ONLY for hi-boot files.  Its only purpose is
-# to allow you to have a single directory with multiple .hi-boot files
-# for the same module, each corresponding to a different version of
-# GHC.
-#
-# HscIfaceFileVersion is propagated to hsc via
-# ghc/compiler/main/Config.hs, which is automatically generated by
-# ghc/compiler/Makefile.
-
-HscIfaceFileVersion=6
diff --git a/ghc/utils/prof/cgprof/Makefile b/ghc/utils/prof/cgprof/Makefile
deleted file mode 100644 (file)
index fd6ac04..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.2 2003/08/01 15:38:41 panne Exp $
-#
-# (c) The GHC Team, 2000
-#
-
-TOP=../../..
-include $(TOP)/mk/boilerplate.mk
-
-C_PROG = cgprof
-INSTALL_LIBEXECS=$(C_PROG)
-
-SRC_CC_OPTS += -Wall -I$(GHC_INCLUDE_DIR)
-
-include $(TOP)/mk/target.mk
diff --git a/ghc/utils/prof/icons/Makefile b/ghc/utils/prof/icons/Makefile
deleted file mode 100644 (file)
index 5b3eb4d..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.1 2000/04/05 10:11:55 simonmar Exp $
-#
-# (c) The GHC Team, 2000
-#
-
-TOP=../../..
-include $(TOP)/mk/boilerplate.mk
-
-override datadir=$(libdir)/icons
-INSTALL_DATAS=$(wildcard *.xbm)
-
-include $(TOP)/mk/target.mk
diff --git a/glafp-utils/Makefile b/glafp-utils/Makefile
deleted file mode 100644 (file)
index d9a8b2e..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#################################################################################
-#
-#                          glafp-utils/Makefile
-#
-#              Main Makefile for project glafp-utils
-#
-#################################################################################
-
-TOP=.
-include $(TOP)/mk/boilerplate.mk
-
-# We need to write mkdependC first (in that order), to be sure that
-# make depend will succeed in all the other directories.
-SUBDIRS = mkdependC mkdirhier runstdtest
-ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-SUBDIRS += lndir
-endif
-
-include $(TOP)/mk/target.mk
diff --git a/glafp-utils/PATCHLEVEL b/glafp-utils/PATCHLEVEL
deleted file mode 100644 (file)
index a20156b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Miscellaneous FP-projects-related tools, version 2.01, patchlevel 0
diff --git a/glafp-utils/README b/glafp-utils/README
deleted file mode 100644 (file)
index 8967522..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-This directory tree's worth of stuff are utility bits that are used in
-more than one of the Glasgow functional-programming tools.  (For the
-project-specific bits, try <project>/utils/<blah>.)
-
- lndir         from X imake stuff (via DuBois); make a shadow tree
-               of symbolic links
-
- ltx           a "latex" wrapper.  Re-runs latex/bibtex/makeindex
-               enough times to "do the right thing."
-
- mkdependC     script version of C makedepend (from X11R4 via DuBois)
-
- mkdirhier     "mkdir a/b/c/d" will do "mkdir a; mkdir a/b; ..."
-               (assuming none of those dirs exist)
-
- runstdtest    runs a pgm with some flags & some stdin; checks for an
-               expected exit code, expected stdout, and expected
-               stderr.  (Expect this to change :-)
-
- verbatim      pre-processor for LaTeX files that typesets text between
-               @...@ in typewriter font.
-
- sgmlverb      pre-processor for SGML that does essentially the same thing
-               as verbatim.
-
- docbook       scripts to process DocBook files stolen from Cygnus DocBook
-               tools.
-
- genargs       converts whitespace separated strings into partial
-               Haskell lists.
-
diff --git a/glafp-utils/mk/boilerplate.mk b/glafp-utils/mk/boilerplate.mk
deleted file mode 100644 (file)
index e645586..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-################################################################################
-#
-#                          GHC boilerplate.mk
-#
-#              Boilerplate Makefile for an fptools project
-#
-################################################################################
-
-# Begin by slurping in the boilerplate from one level up.
-# Remember, TOP is the top level of the innermost level
-# (FPTOOLS_TOP is the fptools top)
-
-# We need to set TOP to be the TOP that the next level up expects!
-GLAFP_UTILS_TOP := $(TOP)
-TOP:=$(GLAFP_UTILS_TOP)/..
-
-include $(TOP)/mk/boilerplate.mk
-
-TOP:=$(GLAFP_UTILS_TOP)
-
-# -----------------------------------------------------------------
-# Everything after this point
-# augments or overrides previously set variables.
-# (these files are optional, so `make' won't fret if
-#  cannot get to them).
-# -----------------------------------------------------------------
-
-#Not currently used: -include $(GLAFP_UTILS_TOP)/mk/paths.mk
-#Not currently used: -include $(GLAFP_UTILS_TOP)/mk/suffix.mk
-
-# No ways, please
-WAYS=
diff --git a/glafp-utils/mk/target.mk b/glafp-utils/mk/target.mk
deleted file mode 100644 (file)
index a2ed36c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# (c) The GHC Team 2000
-# 
-
-TOP:=$(TOP)/..
-include $(TOP)/mk/target.mk
-TOP:=$(GLAFP_UTILS_TOP)
diff --git a/glafp-utils/sgmlverb/Makefile b/glafp-utils/sgmlverb/Makefile
deleted file mode 100644 (file)
index 4ae1203..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-TOP=..
-include $(TOP)/mk/boilerplate.mk
-
-C_SRCS = sgmlverb.c
-C_PROG = sgmlverb
-LIBS = $(FLEX_LIB)
-
-override SRC_FLEX_OPTS=-8
-
-# sgmlverb.c isn't in distclean
-MAINTAINER_CLEAN_FILES += sgmlverb.c
-
-#
-# For src distributions, include flex output.
-#
-SRC_DIST_FILES += sgmlverb.c
-
-include $(TOP)/mk/target.mk
diff --git a/glafp-utils/sgmlverb/sgmlverb.lex b/glafp-utils/sgmlverb/sgmlverb.lex
deleted file mode 100644 (file)
index 812cb84..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-
-  /*   This Lex script acts as a filter to pre-process Latex files.
-
-       It surrounds groups of lines beginning with a ">" sign, and
-       preceded and followed by a blank line, with \begin{verbatim} 
-       and \end{verbatim}.  The ">" may be preceded by a digit or digit
-       range (eg 4>, 2-5>, 3->); in this case the digits are removed.  
-       They are meant to be used for filtering out versions.
-
-       It takes words surrounded with @ signs (thus @letrec@) and makes them
-       come out in typewriter font, regardless of the current mode.
-  */
-
-%START  NORM  VERB  VERBENV
-sp                     [ \t]*
-nl                     {sp}\n{sp}
-comment                 \%.*$
-miranda                        ([0-9]+(\-([0-9]+)?)?)?>
-%{
-#define PUSH           states[top++] =
-#define POP            BEGIN states[--top]
-#define yywrap()       1
-#define YY_SKIP_YYWRAP
-%}
-%%
-                       int states[256];
-                       int top;
-                       BEGIN NORM;
-                       top = 0;
-<NORM>@@               { printf ("@"); }
-<NORM>@                        { printf ("<tt>"); PUSH NORM;  BEGIN VERB; }
-<NORM>\\%               { printf ("&percnt;"); }
-<NORM>{comment}         { }
-<VERB>@                        { printf ("</tt>");  POP; }
-<VERB>@@               { printf ("@"); }
-<VERB>\>               { printf ("&gt;"); }
-<VERB>\<               { printf ("&lt;"); }
-<VERB>\#               { printf ("&num;"); }
-<VERB>\$               { printf ("&dollar;"); }
-<VERB>\%               { printf ("&percnt;"); }
-<VERB>\&               { printf ("&amp;"); }
-<VERB>\~               { printf ("&tilde;"); }
-<VERB>\^               { printf ("&circ;"); }
-
-<NORM>\<verb\>          { printf ("<verb>"); PUSH NORM; BEGIN VERBENV; }
-<NORM>\<code\>          { printf ("<code>"); PUSH NORM; BEGIN VERBENV; }
-<NORM>\\begin\{code\}   { printf ("<code>"); PUSH NORM; BEGIN VERBENV; }
-<VERBENV>\<\/verb\>     { printf ("</verb>"); POP; }
-<VERBENV>\<\/code\>     { printf ("</code>"); POP; }
-<VERBENV>\<\\end\{code\} { printf ("</code>"); POP; }
-<VERBENV>\&\&           { printf ("&"); }
-<VERBENV>\&             { printf ("&ero;"); }
-<VERBENV>\<\/           { printf ("&etago;"); }
-
-%%
-int
-main()
-{
-    yylex();
-    return(0);
-}
-
-/*
-<VERB>\_               { printf ("{\\char'137}"); }
-<VERB>\\               { printf ("{\\char'134}"); }
-<VERB>\{               { printf ("{\\char'173}"); }
-<VERB>\}               { printf ("{\\char'175}"); }
-*/
similarity index 100%
rename from ghc/includes/Block.h
rename to includes/Block.h
similarity index 100%
rename from ghc/includes/Closures.h
rename to includes/Closures.h
similarity index 100%
rename from ghc/includes/Cmm.h
rename to includes/Cmm.h
similarity index 100%
rename from ghc/includes/DNInvoke.h
rename to includes/DNInvoke.h
similarity index 100%
rename from ghc/includes/Dotnet.h
rename to includes/Dotnet.h
similarity index 100%
rename from ghc/includes/GranSim.h
rename to includes/GranSim.h
similarity index 100%
rename from ghc/includes/Hooks.h
rename to includes/Hooks.h
similarity index 100%
rename from ghc/includes/HsFFI.h
rename to includes/HsFFI.h
similarity index 100%
rename from ghc/includes/Linker.h
rename to includes/Linker.h
similarity index 100%
rename from ghc/includes/Liveness.h
rename to includes/Liveness.h
similarity index 100%
rename from ghc/includes/MachDeps.h
rename to includes/MachDeps.h
similarity index 100%
rename from ghc/includes/MachRegs.h
rename to includes/MachRegs.h
similarity index 99%
rename from ghc/includes/Makefile
rename to includes/Makefile
index cb33ade..83b74d4 100644 (file)
@@ -28,7 +28,7 @@ boot :: gmp.h
 all :: $(H_CONFIG) $(H_PLATFORM)
 
 # gmp.h is copied from the GMP directory
-gmp.h : $(FPTOOLS_TOP)/ghc/rts/gmp/gmp.h
+gmp.h : $(FPTOOLS_TOP)/rts/gmp/gmp.h
        $(CP) $< $@
 
 # The fptools configure script creates the configuration header file and puts it
similarity index 100%
rename from ghc/includes/Parallel.h
rename to includes/Parallel.h
similarity index 100%
rename from ghc/includes/README
rename to includes/README
similarity index 100%
rename from ghc/includes/Regs.h
rename to includes/Regs.h
similarity index 100%
rename from ghc/includes/Rts.h
rename to includes/Rts.h
similarity index 100%
rename from ghc/includes/RtsAPI.h
rename to includes/RtsAPI.h
similarity index 100%
rename from ghc/includes/RtsFlags.h
rename to includes/RtsFlags.h
similarity index 100%
rename from ghc/includes/RtsTypes.h
rename to includes/RtsTypes.h
similarity index 100%
rename from ghc/includes/SMP.h
rename to includes/SMP.h
similarity index 100%
rename from ghc/includes/STM.h
rename to includes/STM.h
similarity index 100%
rename from ghc/includes/SchedAPI.h
rename to includes/SchedAPI.h
similarity index 100%
rename from ghc/includes/Signals.h
rename to includes/Signals.h
similarity index 100%
rename from ghc/includes/Stable.h
rename to includes/Stable.h
similarity index 100%
rename from ghc/includes/Stg.h
rename to includes/Stg.h
similarity index 100%
rename from ghc/includes/StgDLL.h
rename to includes/StgDLL.h
similarity index 100%
rename from ghc/includes/StgFun.h
rename to includes/StgFun.h
similarity index 100%
rename from ghc/includes/StgProf.h
rename to includes/StgProf.h
similarity index 100%
rename from ghc/includes/StgTicky.h
rename to includes/StgTicky.h
similarity index 100%
rename from ghc/includes/StgTypes.h
rename to includes/StgTypes.h
similarity index 100%
rename from ghc/includes/Storage.h
rename to includes/Storage.h
similarity index 100%
rename from ghc/includes/TSO.h
rename to includes/TSO.h
similarity index 100%
rename from ghc/includes/config.h
rename to includes/config.h
index a9c22bc..3f15f8d 100644 (file)
@@ -1,6 +1,3 @@
-# -----------------------------------------------------------------------------
-# $Id: boilerplate.mk,v 1.1 2001/07/31 16:40:34 simonmar Exp $
-
 # Begin by slurping in the boilerplate from one level up.
 # Remember, TOP is the top level of the innermost level
 # (FPTOOLS_TOP is the fptools top)
@@ -11,12 +8,6 @@
 LIBRARIES_TOP := $(TOP)
 TOP:=$(TOP)/..
 
-# Also set GHC_TOP here, because we need to get at bits of GHC's config
-GHC_TOP := $(TOP)/ghc
-
-# Pull in GHC's version & project info
--include $(GHC_TOP)/mk/version.mk
-
 # Pull in the fptools boilerplate
 include $(TOP)/mk/boilerplate.mk
 
@@ -27,8 +18,6 @@ TOP:=$(LIBRARIES_TOP)
 # Everything after this point
 # augments or overrides previously set variables.
 
--include $(GHC_TOP)/mk/paths.mk
-
 -include $(TOP)/mk/paths.mk
 -include $(TOP)/mk/opts.mk
 -include $(TOP)/mk/suffix.mk
index 13c7a86..94ba7d5 100644 (file)
@@ -2,10 +2,10 @@
 #
 #                          mk/boilerplate.mk
 #
-#              The Glorious fptools Boilerplate Makefile
+#              The Glorious GHC Boilerplate Makefile
 #
 # This one file should be included (directly or indirectly) by all Makefiles 
-# in the fptools hierarchy.
+# in the GHC hierarchy.
 #
 #################################################################################
 
index 5bbc41f..1501d55 100644 (file)
@@ -67,7 +67,7 @@ PLATFORM_CC_OPTS += -D__GLASGOW_HASKELL__=$(ProjectVersionInt)
 
 HC_BOOT_CC_OPTS = $(PLATFORM_HC_BOOT_CC_OPTS) $(PLATFORM_CC_OPTS) $(CC_OPTS)
 
-SRC_CC_OPTS += -I$(FPTOOLS_TOP_ABS)/ghc/includes -I$(FPTOOLS_TOP_ABS)/libraries/base/include -I$(FPTOOLS_TOP_ABS)/libraries/unix/include -I$(FPTOOLS_TOP_ABS)/libraries/parsec/include
+SRC_CC_OPTS += -I$(FPTOOLS_TOP_ABS)/$(GHC_INCLUDE_DIR_REL) -I$(FPTOOLS_TOP_ABS)/libraries/base/include -I$(FPTOOLS_TOP_ABS)/libraries/unix/include -I$(FPTOOLS_TOP_ABS)/libraries/parsec/include
 
 # C code compiled with UseGhcForCc=YES assumes the existence of certain CPP
 # symbols defined by GHC (eg. __GLASGOW_HASKELL__), so we better make sure
@@ -89,11 +89,11 @@ UNDERSCORE=
 endif
 
 ifeq "$(HaveLibGmp)" "NO"
-DASH_L_GHC_RTS_GMP_DIR=-L$(FPTOOLS_TOP_ABS)/ghc/rts/gmp
+DASH_L_GHC_RTS_GMP_DIR=-L$(FPTOOLS_TOP_ABS)/$(GHC_RTS_DIR_REL)/gmp
 endif
 
 HC_BOOT_LD_OPTS =                              \
-   -L$(FPTOOLS_TOP_ABS)/ghc/rts                        \
+   -L$(FPTOOLS_TOP_ABS)/$(GHC_RTS_DIR_REL)     \
    $(DASH_L_GHC_RTS_GMP_DIR)                    \
    -L$(FPTOOLS_TOP_ABS)/libraries/base         \
    -L$(FPTOOLS_TOP_ABS)/libraries/base/cbits   \
index 23162f9..774d637 100644 (file)
 #
 # This is one of only two files that configure generates (the other is config.h)
 #
-# There is a section below for each project within the fptools suite
-#
-#      PLUS
-#
-# a section corresponding to each of the main .mk files 
-# included by boilerplate.mk (see boilerplate.mk for a list).
 
 ifneq "$(findstring 3.7, $(MAKE_VERSION))" ""
 ifeq "$(findstring 3.79.1, $(MAKE_VERSION))" ""
@@ -40,7 +34,34 @@ endif
 
 ################################################################################
 #
-#              Project-wide platform variables
+# GHC Version
+#
+
+# ProjectVersion    is treated as a *string*
+# ProjectVersionInt is treated as an *integer* (for cpp defines)
+
+# Versioning scheme: A.B.C
+#         A: major version, decimal, any number of digits
+#         B: minor version, decimal, any number of digits
+#        C: patchlevel, one digit, omitted if zero.
+#
+# ProjectVersionInt does *not* contain the patchlevel (rationale: this
+# figure is used for conditional compilations, and library interfaces
+# etc. are not supposed to change between patchlevels).
+#
+# The ProjectVersionInt is included in interface files, and GHC
+# checks that it's reading interface generated by the same ProjectVersion
+# as itself. It does this even though interface file syntax may not 
+# change between versions.  Rationale: calling conventions or other 
+# random .o-file stuff might change even if the .hi syntax doesn't
+
+ProjectVersion    = @ProjectVersion@
+ProjectVersionInt = @ProjectVersionInt@
+ProjectPatchLevel = @ProjectPatchLevel@
+
+################################################################################
+#
+#              Platform variables
 #
 ################################################################################
 
@@ -127,6 +148,12 @@ BuildVendor_CPP                 = @BuildVendor_CPP@
 @TargetVendor_CPP@_TARGET_VENDOR  = 1
 @BuildVendor_CPP@_BUILD_VENDOR    = 1
 
+################################################################################
+#
+#              Global configuration options
+#
+################################################################################
+
 # Leading underscores on symbol names in object files
 # Valid options: YES/NO
 #
@@ -142,14 +169,6 @@ else
 Windows=NO
 endif
 
-################################################################################
-#
-#              project-wide flags
-#
-#      Set of options applicable to all fptools projects
-#
-################################################################################
-
 # BootingFromHc - build GHC and the libraries from .hc files?
 BootingFromHc = @BootingFromHc@
 
@@ -157,39 +176,6 @@ BootingFromHc = @BootingFromHc@
 # rather than registerised code, i.e., disable the mangler?
 BootingFromUnregisterisedHc = @BootingFromUnregisterisedHc@
 
-# Build Order: we build Happy, Haddock and Alex before GHC if they are
-# in this source tree, just in case our GHC build depends on these
-# local builds rather than installed versions of the tools.
-#
-# Build the libs first if we're bootstrapping from .hc files.
-ifeq "$(BootingFromHc)" "YES"
-AllProjects = glafp-utils happy alex haddock libraries hslibs ghc greencard hdirect hood nofib docs
-else
-AllProjects = glafp-utils happy alex haddock ghc libraries hslibs greencard hdirect hood nofib docs
-endif
-
-#
-# (OPTIONAL) set ProjectsToBuild to a list of projects to be built.  If this
-# list is empty, then all projects present in the source tree will be built.
-#
-ProjectsToBuild =
-
-#
-# set ProjectsDontInstall to a list of projects which are normally built but
-# not installed.
-#
-ProjectsDontInstall = glafp-utils nofib
-
-#
-# Should the various project tests directories be built?
-#
-IncludeTestDirsInBuild=NO
-
-#
-# Should the various project example directories be built?
-#
-IncludeExampleDirsInBuild=NO
-
 #
 # Which ways should DocBook XML documents be built?
 # options are: dvi ps pdf html chm HxS
@@ -198,18 +184,9 @@ XMLDocWays=
 
 ################################################################################
 #
-#              GHC project
-# 
-#      Set of (configurable) options needed by the ghc tree
-#      plus their default options (if any).
-#
-################################################################################
-
-#---------------------------------------------------------------
-#
 # Variables that control how the compiler itself is built
 #
-#---------------------------------------------------------------
+################################################################################
 
 # The compiler used to build GHC is $(GHC).  To change the actual compiler
 # used, re-configure with --with-ghc=<path-to-ghc>.
@@ -219,7 +196,7 @@ XMLDocWays=
 GhcCompilerWays=
 
 # Extra option flags to pass to the compiler that compiles the compiler
-# (Ones that are essential are wired into ghc/compiler/Makefile)
+# (Ones that are essential are wired into compiler/Makefile)
 # Typical options to use here:
 #
 #      -DDEBUG         include debugging code and assertions (will make the
@@ -297,6 +274,25 @@ endif
 BuildingParallel=$(subst mp,YES,$(filter mp,$(WAYS)))
 BuildingGranSim=$(subst mg,YES,$(filter mg,$(WAYS)))
 
+# Interface file version (hi-boot files only)
+#
+# A GHC built with HscIfaceFileVersion=n will look for 
+#      M.hi-boot-n, and only then for 
+#      M.hi-boot.
+# (It'll be happy with the latter if the former doesn't exist.)
+#
+#
+# This variable is used ONLY for hi-boot files.  Its only purpose is
+# to allow you to have a single directory with multiple .hi-boot files
+# for the same module, each corresponding to a different version of
+# GHC.
+#
+# HscIfaceFileVersion is propagated to hsc via
+# compiler/main/Config.hs, which is automatically generated by
+# compiler/Makefile.
+
+HscIfaceFileVersion=6
+
 #------------------------------------------------------------------------------
 # Options for Libraries
 
@@ -380,23 +376,6 @@ ifeq "$(TargetArch_CPP)" "ia64"
 SplitObjs=NO
 endif
 
-# ----------------------------------------------------------------------------
-# Options for GHC's RTS
-
-# For an optimised RTS (you probably don't want to change these; we build
-# a debugging RTS by default now.  Use -debug to get it).
-GhcRtsHcOpts=-optc-O2
-GhcRtsCcOpts=-fomit-frame-pointer
-
-# Include the front panel code?  Needs GTK+.
-GhcRtsWithFrontPanel = NO
-
-################################################################################
-#
-# libraries project
-#
-################################################################################
-
 # Build the Haskell Readline bindings?
 #
 GhcLibsWithReadline=@GhcLibsWithReadline@
@@ -424,41 +403,20 @@ DotnetSupport=@DotnetSupport@
 #
 GhcLibsWithUnix=@GhcLibsWithUnix@
 
-################################################################################
-#
-#              happy project
-#
-#      Happy specific options
-#
-################################################################################
-
-# The compiler you'd like to use to compile Happy
-WithHappyHc = @WithHc@
-
-# HappyHcOpts gives the flags to pass to the Haskell compiler used
-#            to compile the Happy sources with.
-#
-HappyHcOpts = -O
+# ----------------------------------------------------------------------------
+# Options for GHC's RTS
 
-################################################################################
-#
-#              haggis project
-#
-#      Haggis specific options
-#
-################################################################################
+# For an optimised RTS (you probably don't want to change these; we build
+# a debugging RTS by default now.  Use -debug to get it).
+GhcRtsHcOpts=-optc-O2
+GhcRtsCcOpts=-fomit-frame-pointer
 
-################################################################################
-#
-#              greencard project
-#
-#      GreenCard specific options
-#
-################################################################################
+# Include the front panel code?  Needs GTK+.
+GhcRtsWithFrontPanel = NO
 
 ################################################################################
 #
-#              nofib project
+#              nofib
 #
 #      nofib specific options
 #
@@ -488,14 +446,6 @@ NoFibHcOpts = -O
 # Number of times to run each program
 NoFibRuns = 5
 
-# ==============================================================================
-#
-#                      END OF PROJECT-SPECIFIC STUFF
-#
-#              Now come the generic configuration options
-#
-# ==============================================================================
-
 ################################################################################
 #
 #              Paths (see paths.mk)
@@ -553,11 +503,11 @@ libdir            = $(prefix)
 else
 
 #
-# Unix: override libdir and datadir to put project-specific stuff in
+# Unix: override libdir and datadir to put ghc-specific stuff in
 # a subdirectory with the version number included.
 #
-libdir     = $(if $(ProjectNameShort),$(libdir0)/$(ProjectNameShort)-$(ProjectVersion),$(libdir0))
-datadir    = $(if $(ProjectNameShort),$(datadir0)/$(ProjectNameShort)-$(ProjectVersion),$(datadir0))
+libdir     = $(libdir0)/ghc-$(ProjectVersion)
+datadir    = $(datadir0)/ghc-$(ProjectVersion)
 
 endif # Windows
 
@@ -658,50 +608,141 @@ GC_CPP_OPTS += -P -E -x c -traditional -D__GLASGOW_HASKELL__
 
 ################################################################################
 #
-#              Utilities programs: where to find them
+#      Layout of the source tree
 #
 ################################################################################
 
-#-----------------------------------------------------------------------------
-# FPtools Utility locations
-
-# By default, the various utils needed to be build ghc and chums
-# is set up to point to the utils/ directory. Define here the
-# path prefix for the utilities. Notice that it's a prefix with
-# a trailing slash, so that it can be concatenated directly on
-# front of a program name; if it's not set then we just look
-# along the shell's $(PATH)
-#
-# If instead you want to use installed or your own versions of these,
-# override the various *_PREFIX in build.mk, i.e., having the following
-# in build.mk:
-#
-#   MKDEPENDC_PREFIX=
-#
-# will force `make' to rummage around in your PATH to find `mkdependC' (not
-# sure it would need it in the first place, but still).
-#
-GLAFP_UTILS            = $(FPTOOLS_TOP)/glafp-utils
+# Here we provide defines for the various directories in the source tree,
+# so we can move things around more easily.  A define $(GHC_FOO_DIR_REL)
+# indicates a directory relative to the top of the source tree, whereas
+# $(GHC_FOO_DIR) is a directory relative to the current directory.
+# $(GHC_FOO_DIR_ABS) is the absolute path to the directory.
+
+GHC_UTILS_DIR_REL      = utils
+GHC_INCLUDE_DIR_REL    = includes
+GHC_COMPILER_DIR_REL   = compiler
+GHC_RTS_DIR_REL                = rts
+GHC_UTILS_DIR_REL      = utils
+GHC_DRIVER_DIR_REL     = driver
+GHC_COMPAT_DIR_REL     = compat
+
+GHC_MKDEPENDC_DIR_REL  = $(GHC_UTILS_DIR_REL)/mkdependC
+GHC_LTX_DIR_REL                = $(GHC_UTILS_DIR_REL)/ltx
+GHC_RUNTEST_DIR_REL    = $(GHC_UTILS_DIR_REL)/runstdtest
+GHC_LNDIR_DIR_REL      = $(GHC_UTILS_DIR_REL)/lndir
+GHC_MKDIRHIER_DIR_REL  = $(GHC_UTILS_DIR_REL)/mkdirhier
+GHC_DOCBOOK_DIR_REL    = $(GHC_UTILS_DIR_REL)/docbook
+GHC_UNLIT_DIR_REL      = $(GHC_UTILS_DIR_REL)/unlit
+GHC_HP2PS_DIR_REL      = $(GHC_UTILS_DIR_REL)/hp2ps
+GHC_HSTAGS_DIR_REL     = $(GHC_UTILS_DIR_REL)/hasktags
+GHC_HSC2HS_DIR_REL     = $(GHC_UTILS_DIR_REL)/hsc2hs
+GHC_TOUCHY_DIR_REL     = $(GHC_UTILS_DIR_REL)/touchy
+GHC_PKG_DIR_REL                = $(GHC_UTILS_DIR_REL)/ghc-pkg
+GHC_GENPRIMOP_DIR_REL  = $(GHC_UTILS_DIR_REL)/genprimopcode
+GHC_GENAPPLY_DIR_REL   = $(GHC_UTILS_DIR_REL)/genapply
+
+GHC_MANGLER_DIR_REL    = $(GHC_DRIVER_DIR_REL)/mangler
+GHC_SPLIT_DIR_REL      = $(GHC_DRIVER_DIR_REL)/split
+GHC_SYSMAN_DIR_REL     = $(GHC_RTS_DIR_REL)/parallel
+
+GHC_UTILS_DIR          = $(FPTOOLS_TOP)/$(GHC_UTILS_DIR_REL)
+GHC_INCLUDE_DIR                = $(FPTOOLS_TOP)/$(GHC_INCLUDE_DIR_REL)
+GHC_COMPILER_DIR       = $(FPTOOLS_TOP)/$(GHC_COMPILER_DIR_REL)
+GHC_RTS_DIR            = $(FPTOOLS_TOP)/$(GHC_RTS_DIR_REL)
+GHC_UTILS_DIR          = $(FPTOOLS_TOP)/$(GHC_UTILS_DIR_REL)
+GHC_DRIVER_DIR         = $(FPTOOLS_TOP)/$(GHC_DRIVER_DIR_REL)
+GHC_COMPAT_DIR         = $(FPTOOLS_TOP)/$(GHC_COMPAT_DIR_REL)
+
+GHC_MKDEPENDC_DIR      = $(FPTOOLS_TOP)/$(GHC_MKDEPENDC_DIR_REL)
+GHC_LTX_DIR            = $(FPTOOLS_TOP)/$(GHC_LTX_DIR_REL)
+GHC_RUNTEST_DIR                = $(FPTOOLS_TOP)/$(GHC_RUNTEST_DIR_REL)
+GHC_LNDIR_DIR          = $(FPTOOLS_TOP)/$(GHC_LNDIR_DIR_REL)
+GHC_MKDIRHIER_DIR      = $(FPTOOLS_TOP)/$(GHC_MKDIRHIER_DIR_REL)
+GHC_DOCBOOK_DIR                = $(FPTOOLS_TOP)/$(GHC_DOCBOOK_DIR_REL)
+GHC_UNLIT_DIR          = $(FPTOOLS_TOP)/$(GHC_UNLIT_DIR_REL)
+GHC_HP2PS_DIR          = $(FPTOOLS_TOP)/$(GHC_HP2PS_DIR_REL)
+GHC_HSTAGS_DIR         = $(FPTOOLS_TOP)/$(GHC_HSTAGS_DIR_REL)
+GHC_HSC2HS_DIR         = $(FPTOOLS_TOP)/$(GHC_HSC2HS_DIR_REL)
+GHC_TOUCHY_DIR         = $(FPTOOLS_TOP)/$(GHC_TOUCHY_DIR_REL)
+GHC_PKG_DIR            = $(FPTOOLS_TOP)/$(GHC_PKG_DIR_REL)
+GHC_GENPRIMOP_DIR      = $(FPTOOLS_TOP)/$(GHC_GENPRIMOP_DIR_REL)
+GHC_GENAPPLY_DIR       = $(FPTOOLS_TOP)/$(GHC_GENAPPLY_DIR_REL)
+
+GHC_MANGLER_DIR                = $(FPTOOLS_TOP)/$(GHC_MANGLER_DIR_REL)
+GHC_SPLIT_DIR          = $(FPTOOLS_TOP)/$(GHC_SPLIT_DIR_REL)
+GHC_SYSMAN_DIR         = $(FPTOOLS_TOP)/$(GHC_SYSMAN_DIR_REL)
+
+GHC_UTILS_DIR_ABS      = $(FPTOOLS_TOP_ABS)/$(GHC_UTILS_DIR_REL)
+GHC_INCLUDE_DIR_ABS    = $(FPTOOLS_TOP_ABS)/$(GHC_INCLUDE_DIR_REL)
+GHC_COMPILER_DIR_ABS   = $(FPTOOLS_TOP_ABS)/$(GHC_COMPILER_DIR_REL)
+GHC_RTS_DIR_ABS                = $(FPTOOLS_TOP_ABS)/$(GHC_RTS_DIR_REL)
+GHC_UTILS_DIR_ABS      = $(FPTOOLS_TOP_ABS)/$(GHC_UTILS_DIR_REL)
+GHC_DRIVER_DIR_ABS     = $(FPTOOLS_TOP_ABS)/$(GHC_DRIVER_DIR_REL)
+GHC_COMPAT_DIR_ABS     = $(FPTOOLS_TOP_ABS)/$(GHC_COMPAT_DIR_REL)
+
+GHC_MKDEPENDC_DIR_ABS  = $(FPTOOLS_TOP_ABS)/$(GHC_MKDEPENDC_DIR_REL)
+GHC_LTX_DIR_ABS                = $(FPTOOLS_TOP_ABS)/$(GHC_LTX_DIR_REL)
+GHC_RUNTEST_DIR_ABS    = $(FPTOOLS_TOP_ABS)/$(GHC_RUNTEST_DIR_REL)
+GHC_LNDIR_DIR_ABS      = $(FPTOOLS_TOP_ABS)/$(GHC_LNDIR_DIR_REL)
+GHC_MKDIRHIER_DIR_ABS  = $(FPTOOLS_TOP_ABS)/$(GHC_MKDIRHIER_DIR_REL)
+GHC_DOCBOOK_DIR_ABS    = $(FPTOOLS_TOP_ABS)/$(GHC_DOCBOOK_DIR_REL)
+GHC_UNLIT_DIR          = $(FPTOOLS_TOP_ABS)/$(GHC_UNLIT_DIR_REL)
+GHC_HP2PS_DIR_ABS      = $(FPTOOLS_TOP_ABS)/$(GHC_HP2PS_DIR_REL)
+GHC_HSTAGS_DIR_ABS     = $(FPTOOLS_TOP_ABS)/$(GHC_HSTAGS_DIR_REL)
+GHC_HSC2HS_DIR_ABS     = $(FPTOOLS_TOP_ABS)/$(GHC_HSC2HS_DIR_REL)
+GHC_TOUCHY_DIR_ABS     = $(FPTOOLS_TOP_ABS)/$(GHC_TOUCHY_DIR_REL)
+GHC_PKG_DIR_ABS                = $(FPTOOLS_TOP_ABS)/$(GHC_PKG_DIR_REL)
+GHC_GENPRIMOP_DIR_ABS  = $(FPTOOLS_TOP_ABS)/$(GHC_GENPRIMOP_DIR_REL)
+GHC_GENAPPLY_DIR_ABS   = $(FPTOOLS_TOP_ABS)/$(GHC_GENAPPLY_DIR_REL)
+
+GHC_MANGLER_DIR_ABS    = $(FPTOOLS_TOP_ABS)/$(GHC_MANGLER_DIR_REL)
+GHC_SYSMAN_DIR_ABS     = $(FPTOOLS_TOP_ABS)/$(GHC_SYSMAN_DIR_REL)
+GHC_SPLIT_DIR_ABS      = $(FPTOOLS_TOP_ABS)/$(GHC_SPLIT_DIR_REL)
 
-SCRIPT_PREFIX          = $(GLAFP_UTILS)/scripts/
-MKDEPENDC_PREFIX       = $(GLAFP_UTILS)/mkdependC/
-LTX_PREFIX             = $(GLAFP_UTILS)/ltx/
-RUNTEST_PREFIX         = $(GLAFP_UTILS)/runstdtest/
-VERBATIM_PREFIX                = $(GLAFP_UTILS)/verbatim/
-SGMLVERB_PREFIX                = $(GLAFP_UTILS)/sgmlverb/
-ETAGS_PREFIX           = $(GLAFP_UTILS)/etags/
-LNDIR_PREFIX           = $(GLAFP_UTILS)/lndir/
-MKDIRHIER_PREFIX       = $(GLAFP_UTILS)/mkdirhier/
-DOCBOOK_PREFIX         = $(GLAFP_UTILS)/docbook/
-
-HADDOCK_PREFIX         = $(FPTOOLS_TOP)/haddock/
+# -----------------------------------------------------------------------------
+# Names of programs in the GHC tree
+#
+#      xxx_PGM         the name of an executable, without the path
+#      xxx             the executable relative to the current dir
+
+GHC_UNLIT_PGM          = unlit$(exeext)
+GHC_HSTAGS_PGM         = hasktags
+GHC_HSC2HS_INPLACE_PGM = hsc2hs-inplace
+GHC_TOUCHY_PGM         = touchy$(exeext)
+GHC_MANGLER_PGM                = ghc-asm
+GHC_SPLIT_PGM          = ghc-split
+GHC_SYSMAN_PGM                 = SysMan
+GHC_PKG_INPLACE_PGM    = ghc-pkg-inplace
+GHC_GENPRIMOP_PGM      = genprimopcode
+GHC_GENAPPLY_PGM       = genapply
+GHC_MKDEPENDC_PGM      = mkdependC
+GHC_LTX_PGM            = ltx
+GHC_MKDIRHIER_PGM      = mkdirhier
+GHC_LNDIR_PGM          = lndir
+GHC_RUNTEST_PGM                = runstdtest
 
-LITERATE_PREFIX        = $(FPTOOLS_TOP)/literate/
+ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+GHC_CP                 = "xcopy /y"
+GHC_PERL               = perl
+else
+GHC_CP                 = $(CP)
+GHC_PERL               = $(PERL)
+endif
 
-UNLIT_PREFIX           = $(FPTOOLS_TOP)/ghc/utils/unlit/
-HP2PS_PREFIX            = $(FPTOOLS_TOP)/ghc/utils/hp2ps/
-HSTAGS_PREFIX           = $(FPTOOLS_TOP)/ghc/utils/hasktags/
-HSC2HS_PREFIX          = $(FPTOOLS_TOP)/ghc/utils/hsc2hs/
+UNLIT                  = $(GHC_UNLIT_DIR)/$(GHC_UNLIT_PGM)
+HSTAGS                 = $(GHC_HSTAGS_DIR)/$(GHC_HSTAGS_PGM)
+HSC2HS_INPLACE         = $(GHC_HSC2HS_DIR)/$(GHC_HSC2HS_INPLACE_PGM)
+MANGLER                        = $(GHC_MANGLER_DIR)/$(GHC_MANGLER_PGM)
+SPLIT                  = $(GHC_SPLIT_DIR)/$(GHC_SPLIT_PGM)
+SYSMAN                         = $(GHC_SYSMAN_DIR)/$(GHC_SYSMAN_PGM)
+GHC_PKG_INPLACE                = $(GHC_PKG_DIR)/$(GHC_PKG_INPLACE_PGM)
+GENPRIMOP              = $(GHC_GENPRIMOP_DIR)/$(GHC_GENPRIMOP_PGM)
+GENAPPLY               = $(GHC_GENAPPLY_DIR)/$(GHC_GENAPPLY_PGM)
+MKDEPENDC              = $(GHC_MKDEPENDC_DIR)/$(GHC_MKDEPENDC_PGM)
+LTX                    = $(GHC_LTX_DIR)/$(GHC_LTX_PGM)
+MKDIRHIER              = $(GHC_MKDIRHIER_DIR)/$(GHC_MKDIRHIER_PGM)
+LNDIR                  = $(GHC_LNDIR_DIR)/$(GHC_LNDIR_PGM)
+RUNTEST                        = $(GHC_RUNTEST_DIR)/$(GHC_RUNTEST_PGM)
 
 #-----------------------------------------------------------------------------
 # Haskell compilers and mkdependHS
@@ -722,6 +763,9 @@ GhcMajVersion       = @GhcMajVersion@
 GhcMinVersion  = @GhcMinVersion@
 GhcPatchLevel  = @GhcPatchLevel@
 
+# Set to YES if $(GHC) has the readline package installed
+GhcHasReadline = @GhcHasReadline@
+
 # Canonicalised ghc version number, used for easy (integer) version
 # comparisons.  We must expand $(GhcMinVersion) to two digits by
 # adding a leading zero if necessary:
@@ -734,17 +778,45 @@ endif
 HBC            = @HBC@
 NHC            = @NHC@
 
+# Setting UseStage1=YES forces use of the stage1 compiler to compile
+# Haskell code, rather than the installed compiler.
+ifeq "$(UseStage1)" "YES"
+HC             =$(GHC_STAGE1)
+MKDEPENDHS     =$(GHC_STAGE1)
+else
 HC             = @WithHc@
 MKDEPENDHS     = $(GHC)
+endif
 
 # Sometimes we want to invoke ghc from the build tree in different
-# projects (eg. it's handy to have a nofib & a ghc build in the same
+# places (eg. it's handy to have a nofib & a ghc build in the same
 # tree).  We can refer to "this ghc" as $(GHC_INPLACE):
 
-GHC_INPLACE    = $(FPTOOLS_TOP)/ghc/compiler/ghc-inplace
-GHC_STAGE1     = $(FPTOOLS_TOP)/ghc/compiler/stage1/ghc-inplace
-GHC_STAGE2     = $(FPTOOLS_TOP)/ghc/compiler/stage2/ghc-inplace
-GHC_STAGE3     = $(FPTOOLS_TOP)/ghc/compiler/stage3/ghc-inplace
+GHC_INPLACE    = $(GHC_COMPILER_DIR)/ghc-inplace
+GHC_STAGE1     = $(GHC_COMPILER_DIR)/stage1/ghc-inplace
+GHC_STAGE2     = $(GHC_COMPILER_DIR)/stage2/ghc-inplace
+GHC_STAGE3     = $(GHC_COMPILER_DIR)/stage3/ghc-inplace
+
+# Some useful GHC version predicates:
+
+ifeq "$(UseStage1)" "YES"
+ghc_ge_504 = YES
+ghc_ge_601 = YES
+ghc_ge_602 = YES
+ghc_ge_603 = YES
+else
+ifeq "$(BootingFromHc)" "YES"
+ghc_ge_504 = YES
+ghc_ge_601 = YES
+ghc_ge_602 = YES
+ghc_ge_603 = YES
+else
+ghc_ge_504 = $(shell if (test $(GhcCanonVersion) -ge 504); then echo YES; else echo NO; fi)
+ghc_ge_601 = $(shell if (test $(GhcCanonVersion) -ge 601); then echo YES; else echo NO; fi)
+ghc_ge_602 = $(shell if (test $(GhcCanonVersion) -ge 602); then echo YES; else echo NO; fi)
+ghc_ge_603 = $(shell if (test $(GhcCanonVersion) -ge 603); then echo YES; else echo NO; fi)
+endif
+endif
 
 #-----------------------------------------------------------------------------
 # C compiler
@@ -859,7 +931,7 @@ LdIsGNULd           = @LdIsGNULd@
 # The reason for having to do this is that overly long command lines
 # cause unnecessary trouble with some shells (e.g., /bin/sh on Solaris
 # 2.5.1), which is why this backdoor is provided. The situation of overly
-# long command lines is either encountered while doing `make boot' in ghc/compiler, 
+# long command lines is either encountered while doing `make boot' in compiler/, 
 # or when linking the compiler binary (`hsc'). 
 #
 # We do not use SHELL to execute long commands, as `make' will more than likely
@@ -893,6 +965,9 @@ TIME                        = @TimeCmd@
 TROFF                  = troff
 UNAME                  = uname
 
+# GTK+
+GTK_CONFIG = @GTK_CONFIG@
+
 #-----------------------------------------------------------------------------
 # DocBook XML stuff
 
@@ -912,16 +987,6 @@ XSLTPROC_LABEL_OPTS        = --stringparam toc.section.depth 3 \
 #-----------------------------------------------------------------------------
 #              FPtools support software
 
-# Stuff from fptools/glafp-utils
-MKDEPENDC              = $(MKDEPENDC_PREFIX)mkdependC
-LTX                    = $(LTX_PREFIX)ltx
-MKDIRHIER              = $(MKDIRHIER_PREFIX)mkdirhier
-LNDIR                  = $(LNDIR_PREFIX)lndir
-ETAGS                  = $(ETAGS_PREFIX)etags
-VERBATIM               = $(VERBATIM_PREFIX)verbatim
-SGMLVERB               = $(SGMLVERB_PREFIX)sgmlverb
-RUNTEST                        = $(RUNTEST_PREFIX)runstdtest
-
 BLD_DLL                        = dllwrap
 
 #
@@ -969,31 +1034,9 @@ GHC_ALEX_OPTS             = -g
 # Haddock
 # 
 HADDOCK                        = @HaddockCmd@
-HADDOCK_INPLACE                = $(HADDOCK_PREFIX)/src/haddock-inplace
-
-#
-# Stuff from fptools/literate
-#
-LIT2PGM                = $(LITERATE_PREFIX)lit2pgm
-LIT2HTML               = $(LITERATE_PREFIX)lit2html
-LIT2LATEX              = $(LITERATE_PREFIX)lit2latex
-MKDEPENDLIT            = $(LITERATE_PREFIX)mkdependlit
-LIT2CHANGELOG          = $(LITERATE_PREFIX)lit2changelog
-LIT2TEXT               = $(LITERATE_PREFIX)lit2text
-
-#
-# Stuff from fptools/ghc/utils
-#
-UNLIT                  = $(UNLIT_PREFIX)unlit$(exeext)
-HP2PS                  = $(HP2PS_PREFIX)hp2ps$(exeext)
-HSTAGS                 = $(HSTAGS_PREFIX)hasktags
-HSC2HS                 = $(HSC2HS_PREFIX)hsc2hs-inplace
 
 #
-# Options for the compiling different `ways'. Various projects within
-# the glorious fptools tree support building in various user-configured
-# ways. For instance, you could set up one `way' such that the prelude
-# libraries all were built with the option -ffoldr-build-on.
+# Options for compiling in different `ways'. 
 # 
 # To configure up your own way, have a look at some of the standard ways
 # such as profiling, and create your own set of WAY_*_OPTS defs below.
@@ -1003,15 +1046,6 @@ HSC2HS                   = $(HSC2HS_PREFIX)hsc2hs-inplace
 #
 
 #
-# IMPORTANT! The WAYS variable configures the different `ways'
-# you want to build a project (or maybe just parts of it, as is
-# the case for ghc/). This variable is intended set inside the
-# project mk setup, enforcing a global fptools WAYS is a bit too
-# much (do you *really* want to build glafp-utils the profiled-concurrent 
-# way?)
-#
-
-#
 # Definitions of the different ways:
 #   
 #   * their name:
@@ -1032,7 +1066,7 @@ USER_WAYS=a b c d e f g h j k l m n o A B
 # The following ways currently have treated specially, p u t mg,
 # as the driver script treats these guys specially and needs to carefully be told
 # about the options for these. Hence, we hide the required command line options
-# for these in the ghc/driver, as this is the only place they are needed.
+# for these in the driver, as this is the only place they are needed.
 # 
 # If you want to add to these default options, fill in the variables below:
 
index 37e286b..fbabfeb 100644 (file)
@@ -3,13 +3,8 @@
 
 ifneq "$(PACKAGE)" ""
 
-ifeq "$(STANDALONE_PACKAGE)" ""
-ifeq "$(ProjectNameShort)" "ghc"
+# FIXME: does anyone do this any more?
 STANDALONE_PACKAGE = NO
-else
-STANDALONE_PACKAGE = YES
-endif
-endif
 
 # -----------------------------------------------------------------------------
 # Directory layouts, installation etc.
@@ -104,7 +99,7 @@ package.conf.installed : package.conf.in
        sed -e 's/""//g' -e 's/:[       ]*,/: /g' >$@
 
 # we could be more accurate here and add a dependency on
-# ghc/driver/package.conf, but that doesn't work too well because of
+# driver/package.conf, but that doesn't work too well because of
 # make's limited accuracy with modification times: when doing 'make
 # boot' in multiple packages, make won't detect that the package
 # configuration needs updating if it was updated already in the last
index 84f8988..b616e7d 100644 (file)
@@ -230,7 +230,7 @@ TAGS_C_SRCS=$(C_SRCS)
 #
 # NOTE: $(SCRIPT_OBJS) is not in MOSTLY_CLEAN_FILES, because in some
 # places in the tree it appears that we have source files in $(SCRIPT_OBJS).
-# Specifically glafp-utils/mkdependC/mkdependC.prl and others in ghc/driver and
+# Specifically glafp-utils/mkdependC/mkdependC.prl and others in driver/ and
 # possibly others elsewhere in the tree.  ToDo: fix this properly.
 MOSTLY_CLEAN_FILES += $(HS_OBJS) $(C_OBJS) $(HSC_C_OBJS) $(GC_C_OBJS)
 CLEAN_FILES        += $(HS_PROG) $(C_PROG) $(SCRIPT_PROG) $(SCRIPT_LINK) \
index 984c311..276c0c0 100644 (file)
@@ -26,7 +26,7 @@
 # Haskell Suffix Rules
 
 # The $(odir) support is for building GHC, where we need to build three
-# different versions from the same sources.  See ghc/compiler/Makefile.
+# different versions from the same sources.  See compiler/Makefile.
 ifneq "$(odir)" ""
 odir_ = $(odir)/
 else
@@ -165,7 +165,7 @@ endif # BootingFromHc
 #
 ifneq "$(BootingFromHc)" "YES"
 %_hsc.c %_hsc.h %.hs : %.hsc
-       $(HSC2HS) $(HSC2HS_OPTS) $<
+       $(HSC2HS_INPLACE) $(HSC2HS_OPTS) $<
        @touch $(patsubst %.hsc,%_hsc.c,$<)
 endif
 
index 7a49c35..0334896 100644 (file)
@@ -2,14 +2,14 @@
 #
 #                      target.mk
 #
-#              Standard targets for fptools
+#              Standard targets for GHC
 #
 #################################################################################
 
 #
 # This file contain three groups of target rules:
 #
-# 1.  FPtools targets
+# 1.  GHC targets
 #      depend*
 #      runtests*
 #
@@ -19,7 +19,7 @@
 #       install-docs*
 #      clean* distclean* mostlyclean* maintainer-clean*
 #      tags*
-#      dvi ps (no info) FPTOOLS adds: pdf rtf html chm HxS
+#      dvi ps (no info) GHC adds: pdf rtf html chm HxS
 #      check
 #
 # 3. Some of the above targets have a version that
@@ -50,7 +50,7 @@ include $(TOP)/mk/package.mk
 include $(TOP)/mk/suffix.mk
 
 ##################################################################
-#              FPtools standard targets
+#              GHC standard targets
 #
 # depend:
 #
@@ -202,7 +202,7 @@ endif
 #      directories where files are installed, and their parent
 #      directories. There is a script called `mkinstalldirs' which is
 #      convenient for this; find it in the Texinfo package.
-#      (FPTOOLS: we use a close relative of the suggested script, situated
+#      (GHC: we use a close relative of the suggested script, situated
 #       in glafp-utils/mkdirhier -- SOF)
 
 
@@ -373,7 +373,7 @@ SRC_BLD_DLL_OPTS += --export-all --output-def=HS$(PACKAGE)$(_cbits)$(_way).def D
 ifneq "$(PACKAGE) $(IS_CBITS_LIB)" "std YES"
 ifneq "$(PACKAGE)" "rts"
 SRC_BLD_DLL_OPTS += -lHSstd_cbits_imp -L$(GHC_LIB_DIR)/std/cbits
-SRC_BLD_DLL_OPTS += -lHSrts_$(way_)imp -L$(GHC_RUNTIME_DIR)
+SRC_BLD_DLL_OPTS += -lHSrts_$(way_)imp -L$(GHC_RTS_DIR)
 ifneq "$(PACKAGE)" "std"
   ifeq "$(IS_CBITS_LIB)" ""
   SRC_BLD_DLL_OPTS += -lHSstd_$(way_)imp -L$(GHC_LIB_DIR)/std 
@@ -382,7 +382,7 @@ endif
 endif
 endif
 
-SRC_BLD_DLL_OPTS += -lgmp -L. -L$(GHC_RUNTIME_DIR)/gmp
+SRC_BLD_DLL_OPTS += -lgmp -L. -L$(GHC_RTS_DIR)/gmp
 ifeq "$(IS_CBITS_LIB)" ""
 SRC_BLD_DLL_OPTS += $(patsubst %,-lHS%_$(way_)imp, $(PACKAGE_DEPS))
 SRC_BLD_DLL_OPTS += $(patsubst %,-L../%, $(PACKAGE_DEPS))
@@ -1077,21 +1077,21 @@ ifeq "$(way)" ""
 # since these are way-independent
 all docs TAGS clean distclean mostlyclean maintainer-clean install ::
        @echo "------------------------------------------------------------------------"
-       @echo "===fptools== Recursively making \`$@' for ways: $(WAYS) ..."
+       @echo "== Recursively making \`$@' for ways: $(WAYS) ..."
        @echo "PWD = $(shell pwd)"
        @echo "------------------------------------------------------------------------"
 # Don't rely on -e working, instead we check exit return codes from sub-makes.
        @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \
        for i in $(WAYS) ; do \
          echo "------------------------------------------------------------------------"; \
-         echo "==fptools== $(MAKE) way=$$i $@;"; \
+         echo "== $(MAKE) way=$$i $@;"; \
          echo "PWD = $(shell pwd)"; \
          echo "------------------------------------------------------------------------"; \
          $(MAKE) way=$$i --no-print-directory $(MFLAGS) $@ ; \
          if [ $$? -eq 0 ] ; then true; else exit $$x_on_err; fi; \
        done
        @echo "------------------------------------------------------------------------"
-       @echo "===fptools== Finished recursively making \`$@' for ways: $(WAYS) ..."
+       @echo "== Finished recursively making \`$@' for ways: $(WAYS) ..."
        @echo "PWD = $(shell pwd)"
        @echo "------------------------------------------------------------------------"
 
@@ -1171,21 +1171,21 @@ endif
 
 $(ALL_TARGET) docs runtests $(BOOT_TARGET) TAGS clean distclean mostlyclean maintainer-clean $(INSTALL_TARGET) $(INSTALL_DOCS_TARGET) html chm HxS ps dvi txt::
        @echo "------------------------------------------------------------------------"
-       @echo "===fptools== Recursively making \`$@' in $(SUBDIRS) ..."
+       @echo "== Recursively making \`$@' in $(SUBDIRS) ..."
        @echo "PWD = $(shell pwd)"
        @echo "------------------------------------------------------------------------"
 # Don't rely on -e working, instead we check exit return codes from sub-makes.
        @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \
        for i in $(SUBDIRS); do \
          echo "------------------------------------------------------------------------"; \
-         echo "==fptools== $(MAKE) $@ $(MFLAGS);"; \
+         echo "== $(MAKE) $@ $(MFLAGS);"; \
          echo " in $(shell pwd)/$$i"; \
          echo "------------------------------------------------------------------------"; \
          $(MAKE) --no-print-directory -C $$i $(MFLAGS) $@; \
          if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ;  then true; else exit 1; fi; \
        done
        @echo "------------------------------------------------------------------------"
-       @echo "===fptools== Finished making \`$@' in $(SUBDIRS) ..."
+       @echo "== Finished making \`$@' in $(SUBDIRS) ..."
        @echo "PWD = $(shell pwd)"
        @echo "------------------------------------------------------------------------"
 
similarity index 100%
rename from ghc/rts/Adjustor.c
rename to rts/Adjustor.c
similarity index 100%
rename from ghc/rts/AdjustorAsm.S
rename to rts/AdjustorAsm.S
similarity index 100%
rename from ghc/rts/Apply.cmm
rename to rts/Apply.cmm
similarity index 100%
rename from ghc/rts/Apply.h
rename to rts/Apply.h
similarity index 100%
rename from ghc/rts/Arena.c
rename to rts/Arena.c
similarity index 100%
rename from ghc/rts/Arena.h
rename to rts/Arena.h
similarity index 100%
rename from ghc/rts/AutoApply.h
rename to rts/AutoApply.h
similarity index 100%
rename from ghc/rts/AwaitEvent.h
rename to rts/AwaitEvent.h
similarity index 100%
rename from ghc/rts/BlockAlloc.c
rename to rts/BlockAlloc.c
similarity index 100%
rename from ghc/rts/BlockAlloc.h
rename to rts/BlockAlloc.h
similarity index 100%
rename from ghc/rts/Capability.c
rename to rts/Capability.c
similarity index 100%
rename from ghc/rts/Capability.h
rename to rts/Capability.h
similarity index 100%
rename from ghc/rts/ClosureFlags.c
rename to rts/ClosureFlags.c
similarity index 100%
rename from ghc/rts/Disassembler.c
rename to rts/Disassembler.c
similarity index 100%
rename from ghc/rts/Disassembler.h
rename to rts/Disassembler.h
similarity index 100%
rename from ghc/rts/Exception.cmm
rename to rts/Exception.cmm
similarity index 100%
rename from ghc/rts/Exception.h
rename to rts/Exception.h
similarity index 100%
rename from ghc/rts/FrontPanel.c
rename to rts/FrontPanel.c
similarity index 100%
rename from ghc/rts/FrontPanel.h
rename to rts/FrontPanel.h
similarity index 100%
rename from ghc/rts/GC.c
rename to rts/GC.c
similarity index 100%
rename from ghc/rts/GCCompact.c
rename to rts/GCCompact.c
similarity index 100%
rename from ghc/rts/GCCompact.h
rename to rts/GCCompact.h
similarity index 100%
rename from ghc/rts/GetTime.h
rename to rts/GetTime.h
similarity index 100%
rename from ghc/rts/HSprel.def
rename to rts/HSprel.def
similarity index 100%
rename from ghc/rts/Hash.c
rename to rts/Hash.c
similarity index 100%
rename from ghc/rts/Hash.h
rename to rts/Hash.h
similarity index 100%
rename from ghc/rts/HsFFI.c
rename to rts/HsFFI.c
similarity index 100%
rename from ghc/rts/Interpreter.c
rename to rts/Interpreter.c
similarity index 100%
rename from ghc/rts/Interpreter.h
rename to rts/Interpreter.h
similarity index 100%
rename from ghc/rts/LdvProfile.c
rename to rts/LdvProfile.c
similarity index 100%
rename from ghc/rts/LdvProfile.h
rename to rts/LdvProfile.h
similarity index 100%
rename from ghc/rts/Linker.c
rename to rts/Linker.c
similarity index 100%
rename from ghc/rts/MBlock.c
rename to rts/MBlock.c
similarity index 100%
rename from ghc/rts/MBlock.h
rename to rts/MBlock.h
similarity index 100%
rename from ghc/rts/Main.c
rename to rts/Main.c
similarity index 99%
rename from ghc/rts/Makefile
rename to rts/Makefile
index ef3e244..2319788 100644 (file)
@@ -195,7 +195,7 @@ AUTO_APPLY_CMM = AutoApply$(_way).cmm
 ifneq "$(BootingFromHc)" "YES"
 $(AUTO_APPLY_CMM): $(GHC_GENAPPLY)
        @$(RM) $@
-       $(GHC_GENAPPLY) $(if $(filter $(way), u debug_u), -u) >$@
+       $(GENAPPLY) $(if $(filter $(way), u debug_u), -u) >$@
 endif
 
 EXTRA_CMM_SRCS += $(AUTO_APPLY_CMM)
similarity index 100%
rename from ghc/rts/PosixSource.h
rename to rts/PosixSource.h
similarity index 100%
rename from ghc/rts/Prelude.h
rename to rts/Prelude.h
similarity index 100%
rename from ghc/rts/PrimOps.cmm
rename to rts/PrimOps.cmm
similarity index 100%
rename from ghc/rts/Printer.c
rename to rts/Printer.c
similarity index 100%
rename from ghc/rts/Printer.h
rename to rts/Printer.h
similarity index 100%
rename from ghc/rts/ProfHeap.c
rename to rts/ProfHeap.c
similarity index 100%
rename from ghc/rts/ProfHeap.h
rename to rts/ProfHeap.h
similarity index 100%
rename from ghc/rts/Profiling.c
rename to rts/Profiling.c
similarity index 100%
rename from ghc/rts/Profiling.h
rename to rts/Profiling.h
similarity index 100%
rename from ghc/rts/Proftimer.c
rename to rts/Proftimer.c
similarity index 100%
rename from ghc/rts/Proftimer.h
rename to rts/Proftimer.h
similarity index 100%
rename from ghc/rts/RetainerSet.c
rename to rts/RetainerSet.c
similarity index 100%
rename from ghc/rts/RetainerSet.h
rename to rts/RetainerSet.h
similarity index 100%
rename from ghc/rts/RtsAPI.c
rename to rts/RtsAPI.c
similarity index 100%
rename from ghc/rts/RtsDllMain.c
rename to rts/RtsDllMain.c
similarity index 100%
rename from ghc/rts/RtsFlags.c
rename to rts/RtsFlags.c
similarity index 100%
rename from ghc/rts/RtsMessages.c
rename to rts/RtsMessages.c
similarity index 100%
rename from ghc/rts/RtsSignals.h
rename to rts/RtsSignals.h
similarity index 100%
rename from ghc/rts/RtsStartup.c
rename to rts/RtsStartup.c
similarity index 100%
rename from ghc/rts/RtsUtils.c
rename to rts/RtsUtils.c
similarity index 100%
rename from ghc/rts/RtsUtils.h
rename to rts/RtsUtils.h
similarity index 100%
rename from ghc/rts/STM.c
rename to rts/STM.c
similarity index 100%
rename from ghc/rts/Sanity.c
rename to rts/Sanity.c
similarity index 100%
rename from ghc/rts/Sanity.h
rename to rts/Sanity.h
similarity index 100%
rename from ghc/rts/Schedule.c
rename to rts/Schedule.c
similarity index 100%
rename from ghc/rts/Schedule.h
rename to rts/Schedule.h
similarity index 100%
rename from ghc/rts/Sparks.c
rename to rts/Sparks.c
similarity index 100%
rename from ghc/rts/Sparks.h
rename to rts/Sparks.h
similarity index 100%
rename from ghc/rts/Stable.c
rename to rts/Stable.c
similarity index 100%
rename from ghc/rts/Stats.c
rename to rts/Stats.c
similarity index 100%
rename from ghc/rts/Stats.h
rename to rts/Stats.h
similarity index 100%
rename from ghc/rts/StgCRun.c
rename to rts/StgCRun.c
similarity index 100%
rename from ghc/rts/StgPrimFloat.c
rename to rts/StgPrimFloat.c
similarity index 100%
rename from ghc/rts/StgRun.h
rename to rts/StgRun.h
similarity index 100%
rename from ghc/rts/StgStartup.cmm
rename to rts/StgStartup.cmm
similarity index 100%
rename from ghc/rts/Storage.c
rename to rts/Storage.c
similarity index 100%
rename from ghc/rts/Task.c
rename to rts/Task.c
similarity index 100%
rename from ghc/rts/Task.h
rename to rts/Task.h
similarity index 100%
rename from ghc/rts/ThreadLabels.c
rename to rts/ThreadLabels.c
similarity index 100%
rename from ghc/rts/ThreadLabels.h
rename to rts/ThreadLabels.h
similarity index 100%
rename from ghc/rts/Ticker.h
rename to rts/Ticker.h
similarity index 100%
rename from ghc/rts/Ticky.c
rename to rts/Ticky.c
similarity index 100%
rename from ghc/rts/Ticky.h
rename to rts/Ticky.h
similarity index 100%
rename from ghc/rts/Timer.c
rename to rts/Timer.c
similarity index 100%
rename from ghc/rts/Timer.h
rename to rts/Timer.h
similarity index 100%
rename from ghc/rts/Updates.cmm
rename to rts/Updates.cmm
similarity index 100%
rename from ghc/rts/Updates.h
rename to rts/Updates.h
similarity index 100%
rename from ghc/rts/VisCallbacks.c
rename to rts/VisCallbacks.c
similarity index 100%
rename from ghc/rts/VisCallbacks.h
rename to rts/VisCallbacks.h
similarity index 100%
rename from ghc/rts/VisSupport.c
rename to rts/VisSupport.c
similarity index 100%
rename from ghc/rts/VisSupport.h
rename to rts/VisSupport.h
similarity index 100%
rename from ghc/rts/VisWindow.c
rename to rts/VisWindow.c
similarity index 100%
rename from ghc/rts/VisWindow.h
rename to rts/VisWindow.h
similarity index 100%
rename from ghc/rts/Weak.c
rename to rts/Weak.c
similarity index 100%
rename from ghc/rts/Weak.h
rename to rts/Weak.h
similarity index 100%
rename from ghc/rts/dotnet/Invoke.c
rename to rts/dotnet/Invoke.c
similarity index 100%
rename from ghc/rts/dotnet/Makefile
rename to rts/dotnet/Makefile
similarity index 100%
rename from ghc/rts/gmp/.gdbinit
rename to rts/gmp/.gdbinit
similarity index 100%
rename from ghc/rts/gmp/AUTHORS
rename to rts/gmp/AUTHORS
similarity index 100%
rename from ghc/rts/gmp/COPYING
rename to rts/gmp/COPYING
similarity index 100%
rename from ghc/rts/gmp/COPYING.LIB
rename to rts/gmp/COPYING.LIB
similarity index 100%
rename from ghc/rts/gmp/INSTALL
rename to rts/gmp/INSTALL
similarity index 100%
rename from ghc/rts/gmp/Makefile.am
rename to rts/gmp/Makefile.am
similarity index 100%
rename from ghc/rts/gmp/Makefile.in
rename to rts/gmp/Makefile.in
similarity index 100%
rename from ghc/rts/gmp/NEWS
rename to rts/gmp/NEWS
similarity index 100%
rename from ghc/rts/gmp/README
rename to rts/gmp/README
similarity index 100%
rename from ghc/rts/gmp/acconfig.h
rename to rts/gmp/acconfig.h
similarity index 100%
rename from ghc/rts/gmp/aclocal.m4
rename to rts/gmp/aclocal.m4
similarity index 100%
rename from ghc/rts/gmp/ansi2knr.1
rename to rts/gmp/ansi2knr.1
similarity index 100%
rename from ghc/rts/gmp/ansi2knr.c
rename to rts/gmp/ansi2knr.c
similarity index 100%
rename from ghc/rts/gmp/assert.c
rename to rts/gmp/assert.c
similarity index 100%
rename from ghc/rts/gmp/compat.c
rename to rts/gmp/compat.c
similarity index 100%
rename from ghc/rts/gmp/config.in
rename to rts/gmp/config.in
similarity index 100%
rename from ghc/rts/gmp/config.sub
rename to rts/gmp/config.sub
similarity index 100%
rename from ghc/rts/gmp/configure
rename to rts/gmp/configure
similarity index 100%
rename from ghc/rts/gmp/depcomp
rename to rts/gmp/depcomp
similarity index 100%
rename from ghc/rts/gmp/errno.c
rename to rts/gmp/errno.c
similarity index 100%
rename from ghc/rts/gmp/gmp-impl.h
rename to rts/gmp/gmp-impl.h
similarity index 100%
rename from ghc/rts/gmp/gmp.h
rename to rts/gmp/gmp.h
similarity index 100%
rename from ghc/rts/gmp/install-sh
rename to rts/gmp/install-sh
similarity index 100%
rename from ghc/rts/gmp/longlong.h
rename to rts/gmp/longlong.h
similarity index 100%
rename from ghc/rts/gmp/ltconfig
rename to rts/gmp/ltconfig
similarity index 100%
rename from ghc/rts/gmp/ltmain.sh
rename to rts/gmp/ltmain.sh
similarity index 100%
rename from ghc/rts/gmp/mdate-sh
rename to rts/gmp/mdate-sh
similarity index 100%
rename from ghc/rts/gmp/memory.c
rename to rts/gmp/memory.c
similarity index 100%
rename from ghc/rts/gmp/missing
rename to rts/gmp/missing
similarity index 100%
rename from ghc/rts/gmp/mp.h
rename to rts/gmp/mp.h
similarity index 100%
rename from ghc/rts/gmp/mp_bpl.c
rename to rts/gmp/mp_bpl.c
similarity index 100%
rename from ghc/rts/gmp/mpn/README
rename to rts/gmp/mpn/README
similarity index 100%
rename from ghc/rts/gmp/mpz/README
rename to rts/gmp/mpz/README
similarity index 100%
rename from ghc/rts/gmp/mpz/abs.c
rename to rts/gmp/mpz/abs.c
similarity index 100%
rename from ghc/rts/gmp/mpz/add.c
rename to rts/gmp/mpz/add.c
similarity index 100%
rename from ghc/rts/gmp/mpz/and.c
rename to rts/gmp/mpz/and.c
similarity index 100%
rename from ghc/rts/gmp/mpz/clear.c
rename to rts/gmp/mpz/clear.c
similarity index 100%
rename from ghc/rts/gmp/mpz/cmp.c
rename to rts/gmp/mpz/cmp.c
similarity index 100%
rename from ghc/rts/gmp/mpz/com.c
rename to rts/gmp/mpz/com.c
similarity index 100%
rename from ghc/rts/gmp/mpz/dump.c
rename to rts/gmp/mpz/dump.c
similarity index 100%
rename from ghc/rts/gmp/mpz/gcd.c
rename to rts/gmp/mpz/gcd.c
similarity index 100%
rename from ghc/rts/gmp/mpz/get_d.c
rename to rts/gmp/mpz/get_d.c
similarity index 100%
rename from ghc/rts/gmp/mpz/init.c
rename to rts/gmp/mpz/init.c
similarity index 100%
rename from ghc/rts/gmp/mpz/ior.c
rename to rts/gmp/mpz/ior.c
similarity index 100%
rename from ghc/rts/gmp/mpz/iset.c
rename to rts/gmp/mpz/iset.c
similarity index 100%
rename from ghc/rts/gmp/mpz/lcm.c
rename to rts/gmp/mpz/lcm.c
similarity index 100%
rename from ghc/rts/gmp/mpz/mod.c
rename to rts/gmp/mpz/mod.c
similarity index 100%
rename from ghc/rts/gmp/mpz/mul.c
rename to rts/gmp/mpz/mul.c
similarity index 100%
rename from ghc/rts/gmp/mpz/neg.c
rename to rts/gmp/mpz/neg.c
similarity index 100%
rename from ghc/rts/gmp/mpz/powm.c
rename to rts/gmp/mpz/powm.c
similarity index 100%
rename from ghc/rts/gmp/mpz/root.c
rename to rts/gmp/mpz/root.c
similarity index 100%
rename from ghc/rts/gmp/mpz/scan0.c
rename to rts/gmp/mpz/scan0.c
similarity index 100%
rename from ghc/rts/gmp/mpz/scan1.c
rename to rts/gmp/mpz/scan1.c
similarity index 100%
rename from ghc/rts/gmp/mpz/set.c
rename to rts/gmp/mpz/set.c
similarity index 100%
rename from ghc/rts/gmp/mpz/set_d.c
rename to rts/gmp/mpz/set_d.c
similarity index 100%
rename from ghc/rts/gmp/mpz/set_f.c
rename to rts/gmp/mpz/set_f.c
similarity index 100%
rename from ghc/rts/gmp/mpz/set_q.c
rename to rts/gmp/mpz/set_q.c
similarity index 100%
rename from ghc/rts/gmp/mpz/size.c
rename to rts/gmp/mpz/size.c
similarity index 100%
rename from ghc/rts/gmp/mpz/sqrt.c
rename to rts/gmp/mpz/sqrt.c
similarity index 100%
rename from ghc/rts/gmp/mpz/sub.c
rename to rts/gmp/mpz/sub.c
similarity index 100%
rename from ghc/rts/gmp/mpz/swap.c
rename to rts/gmp/mpz/swap.c
similarity index 100%
rename from ghc/rts/gmp/mpz/xor.c
rename to rts/gmp/mpz/xor.c
similarity index 100%
rename from ghc/rts/gmp/rand.c
rename to rts/gmp/rand.c
similarity index 100%
rename from ghc/rts/gmp/randclr.c
rename to rts/gmp/randclr.c
similarity index 100%
rename from ghc/rts/gmp/randlc.c
rename to rts/gmp/randlc.c
similarity index 100%
rename from ghc/rts/gmp/randlc2x.c
rename to rts/gmp/randlc2x.c
similarity index 100%
rename from ghc/rts/gmp/randraw.c
rename to rts/gmp/randraw.c
similarity index 100%
rename from ghc/rts/gmp/randsd.c
rename to rts/gmp/randsd.c
similarity index 100%
rename from ghc/rts/gmp/randsdui.c
rename to rts/gmp/randsdui.c
similarity index 100%
rename from ghc/rts/gmp/stamp-h.in
rename to rts/gmp/stamp-h.in
similarity index 100%
rename from ghc/rts/gmp/stamp-vti
rename to rts/gmp/stamp-vti
similarity index 100%
rename from ghc/rts/gmp/urandom.h
rename to rts/gmp/urandom.h
similarity index 100%
rename from ghc/rts/gmp/version.c
rename to rts/gmp/version.c
similarity index 100%
rename from ghc/rts/hooks/OnExit.c
rename to rts/hooks/OnExit.c
similarity index 100%
rename from ghc/rts/hooks/RtsOpts.c
rename to rts/hooks/RtsOpts.c
similarity index 97%
rename from ghc/rts/package.conf.in
rename to rts/package.conf.in
index 2550415..935b71d 100644 (file)
@@ -21,9 +21,9 @@ library-dirs:         LIB_DIR
                        /* force the dist-provided gcc-lib/ into scope. */
 # endif
 #else /* !INSTALLING */
-library-dirs:          FPTOOLS_TOP_ABS"/ghc/rts"
+library-dirs:          FPTOOLS_TOP_ABS"/rts"
 # if !defined(HAVE_LIBGMP) && !defined(HAVE_FRAMEWORK_GMP)
-                       , FPTOOLS_TOP_ABS"/ghc/rts/gmp"
+                       , FPTOOLS_TOP_ABS"/rts/gmp"
 # endif
 #endif
 
@@ -60,7 +60,7 @@ include-dirs:         INCLUDE_DIR
                        , INCLUDE_DIR"/mingw"
 # endif
 #else /* !INSTALLING */
-include-dirs:          FPTOOLS_TOP_ABS"/ghc/includes"
+include-dirs:          FPTOOLS_TOP_ABS"/includes"
 #endif
 
 includes:              Stg.h
similarity index 100%
rename from ghc/rts/parallel/Dist.c
rename to rts/parallel/Dist.c
similarity index 100%
rename from ghc/rts/parallel/Dist.h
rename to rts/parallel/Dist.h
similarity index 100%
rename from ghc/rts/parallel/HLC.h
rename to rts/parallel/HLC.h
similarity index 100%
rename from ghc/rts/parallel/LLC.h
rename to rts/parallel/LLC.h
similarity index 100%
rename from ghc/rts/parallel/Pack.c
rename to rts/parallel/Pack.c
similarity index 100%
rename from ghc/rts/parallel/RBH.c
rename to rts/parallel/RBH.c
similarity index 100%
rename from ghc/rts/posix/GetTime.c
rename to rts/posix/GetTime.c
similarity index 100%
rename from ghc/rts/posix/Itimer.c
rename to rts/posix/Itimer.c
similarity index 100%
rename from ghc/rts/posix/Itimer.h
rename to rts/posix/Itimer.h
similarity index 100%
rename from ghc/rts/posix/Select.c
rename to rts/posix/Select.c
similarity index 100%
rename from ghc/rts/posix/Select.h
rename to rts/posix/Select.h
similarity index 100%
rename from ghc/rts/posix/Signals.c
rename to rts/posix/Signals.c
similarity index 100%
rename from ghc/rts/posix/Signals.h
rename to rts/posix/Signals.h
similarity index 100%
rename from ghc/rts/win32/AsyncIO.c
rename to rts/win32/AsyncIO.c
similarity index 100%
rename from ghc/rts/win32/AsyncIO.h
rename to rts/win32/AsyncIO.h
similarity index 100%
rename from ghc/rts/win32/GetTime.c
rename to rts/win32/GetTime.c
similarity index 100%
rename from ghc/rts/win32/Ticker.c
rename to rts/win32/Ticker.c
similarity index 55%
rename from ghc/utils/Makefile
rename to utils/Makefile
index 7348160..9416d77 100644 (file)
@@ -3,12 +3,13 @@ include $(TOP)/mk/boilerplate.mk
 
 ifneq "$(BIN_DIST_NAME)" ""
 # We're doing a binary-dist, descend into a subset of the dirs.
-SUBDIRS = hp2ps stat2resid unlit
+SUBDIRS = hp2ps unlit
 else
 ifeq "$(BootingFromHc)" "YES"
-SUBDIRS = genapply genprimopcode ghc-pkg unlit
+SUBDIRS = mkdependC mkdirhier runstdtest genapply genprimopcode ghc-pkg unlit
 else
-SUBDIRS = hasktags ghc-pkg hp2ps hsc2hs parallel stat2resid prof unlit genprimopcode genapply runghc
+SUBDIRS = mkdependC mkdirhier runstdtest ghc-pkg hasktags hp2ps hsc2hs lndir \
+         parallel prof unlit genprimopcode genapply runghc
 endif
 endif
 
@@ -16,8 +17,19 @@ ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
 SUBDIRS += touchy
 endif
 
-# hstags died when the new parser was introduced.
-#        hstags        \
+# Utils that we don't build by default:
+#      nofib-analyse
+
+# Utils that are old and/or bitrotted:
+#      stat2resid
+#      debugNCG
+#      ext-core
+#      genargs
+#      heap-view
+#      pvm
+#      verbatim
+#      ltx
+#      hstags
 
 # "heap-view" is not in the list because (a) it requires
 #  a Haskell compiler (which you may not have yet), and (b) you are
similarity index 92%
rename from ghc/utils/genapply/Makefile
rename to utils/genapply/Makefile
index 41084d6..f9a10a2 100644 (file)
@@ -3,7 +3,7 @@ include $(TOP)/mk/boilerplate.mk
 
 HS_PROG = $(GHC_GENAPPLY_PGM)
 
-# genapply is needed to boot in ghc/rts...
+# genapply is needed to boot in rts/...
 ifneq "$(BootingFromHc)" "YES"
 boot :: all
 endif
similarity index 89%
rename from ghc/utils/ghc-pkg/Makefile
rename to utils/ghc-pkg/Makefile
index d513a91..c8a075d 100644 (file)
@@ -1,5 +1,3 @@
-# -----------------------------------------------------------------------------
-
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
@@ -12,7 +10,7 @@ INSTALLING=1
 SRC_HC_OPTS += -cpp -Wall -fno-warn-name-shadowing -fno-warn-unused-matches
 
 # This causes libghccompat.a to be used:
-include $(GHC_LIB_COMPAT_DIR)/compat.mk
+include $(GHC_COMPAT_DIR)/compat.mk
 
 # This is required because libghccompat.a must be built with
 # $(GhcHcOpts) because it is linked to the compiler, and hence
@@ -43,7 +41,7 @@ EXTRA_SRCS += $(VERSION_HS)
 
 boot :: $(VERSION_HS)
 
-Version.hs : Makefile $(TOP)/mk/version.mk
+Version.hs : Makefile $(TOP)/mk/config.mk
        @$(RM) -f $(VERSION_HS)
        @echo "Creating $(VERSION_HS) ... "
        @echo "module Version where" >>$(VERSION_HS)
@@ -66,8 +64,8 @@ GHCPKGBIN=$(libexecdir)/$(HS_PROG)
 PKGCONF=$(libdir)/package.conf
 endif # BIN_DIST
 else
-GHCPKGBIN=$(FPTOOLS_TOP_ABS)/ghc/utils/ghc-pkg/$(HS_PROG)
-PKGCONF=$(FPTOOLS_TOP_ABS_PLATFORM)/ghc/driver/package.conf.inplace
+GHCPKGBIN=$(FPTOOLS_TOP_ABS)/utils/ghc-pkg/$(HS_PROG)
+PKGCONF=$(FPTOOLS_TOP_ABS_PLATFORM)/driver/package.conf.inplace
 endif
 
 ifneq "$(HOSTPLATFORM)" "i386-unknown-mingw32"
@@ -102,7 +100,7 @@ clean distclean maintainer-clean ::
        $(MAKE) INSTALLING=0 BIN_DIST=0 $(MFLAGS) $@
 endif
 
-# ghc-pkg is needed to boot in ghc/rts and library dirs
+# ghc-pkg is needed to boot in rts/ and library dirs
 # Do a recursive 'make all' after generating dependencies, because this
 # will work with 'make -j'.
 ifneq "$(BootingFromHc)" "YES"
similarity index 81%
rename from ghc/utils/hasktags/Makefile
rename to utils/hasktags/Makefile
index 59a03d8..99afec6 100644 (file)
@@ -1,10 +1,6 @@
-
 TOP=../..
-
 include $(TOP)/mk/boilerplate.mk
 
-CURRENT_DIR=ghc/utils/hasktags
-
 HS_PROG = hasktags
 
 CLEAN_FILES += Main.hi
similarity index 80%
rename from ghc/utils/heap-view/Makefile
rename to utils/heap-view/Makefile
index 2d8a819..e8fa8fa 100644 (file)
@@ -1,8 +1,3 @@
-#---------------------------------------------------------------------
-# $Id: Makefile,v 1.3 1997/03/13 09:36:28 sof Exp $
-#
-#---------------------------------------------------------------------
-
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
similarity index 100%
rename from ghc/utils/hp2ps/Axes.c
rename to utils/hp2ps/Axes.c
similarity index 100%
rename from ghc/utils/hp2ps/Axes.h
rename to utils/hp2ps/Axes.h
similarity index 100%
rename from ghc/utils/hp2ps/CHANGES
rename to utils/hp2ps/CHANGES
similarity index 100%
rename from ghc/utils/hp2ps/Error.c
rename to utils/hp2ps/Error.c
similarity index 100%
rename from ghc/utils/hp2ps/Error.h
rename to utils/hp2ps/Error.h
similarity index 100%
rename from ghc/utils/hp2ps/Key.c
rename to utils/hp2ps/Key.c
similarity index 100%
rename from ghc/utils/hp2ps/Key.h
rename to utils/hp2ps/Key.h
similarity index 100%
rename from ghc/utils/hp2ps/Main.c
rename to utils/hp2ps/Main.c
similarity index 100%
rename from ghc/utils/hp2ps/Main.h
rename to utils/hp2ps/Main.h
similarity index 100%
rename from ghc/utils/hp2ps/Marks.c
rename to utils/hp2ps/Marks.c
similarity index 100%
rename from ghc/utils/hp2ps/Marks.h
rename to utils/hp2ps/Marks.h
similarity index 100%
rename from ghc/utils/hp2ps/Scale.c
rename to utils/hp2ps/Scale.c
similarity index 100%
rename from ghc/utils/hp2ps/Scale.h
rename to utils/hp2ps/Scale.h
similarity index 100%
rename from ghc/utils/hp2ps/Shade.c
rename to utils/hp2ps/Shade.c
similarity index 100%
rename from ghc/utils/hp2ps/Shade.h
rename to utils/hp2ps/Shade.h
similarity index 100%
rename from ghc/utils/hp2ps/hp2ps.1
rename to utils/hp2ps/hp2ps.1
similarity index 92%
rename from ghc/utils/hsc2hs/Makefile
rename to utils/hsc2hs/Makefile
index ccaf68e..0216983 100644 (file)
@@ -5,13 +5,10 @@
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
-CURRENT_DIR=ghc/utils/hsc2hs
-INCLUDE_DIR=ghc/includes
-
 INSTALLING=1
 
 # This causes libghccompat.a to be used:
-include $(GHC_LIB_COMPAT_DIR)/compat.mk
+include $(GHC_COMPAT_DIR)/compat.mk
 
 # This is required because libghccompat.a must be built with
 # $(GhcHcOpts) because it is linked to the compiler, and hence
@@ -59,14 +56,14 @@ HSC2HS_DIR=$(libdir)
 HSC2HS_EXTRA=--cc=$(bindir)/ghc-$(ProjectVersion)
 endif # BIN_DIST
 else
-HSC2HS_BINDIR=$(FPTOOLS_TOP_ABS)/$(CURRENT_DIR)
-HSC2HS_DIR=$(FPTOOLS_TOP_ABS_PLATFORM)/$(CURRENT_DIR)
+HSC2HS_BINDIR=$(FPTOOLS_TOP_ABS)/$(GHC_HSC2HS_DIR_REL)
+HSC2HS_DIR=$(FPTOOLS_TOP_ABS_PLATFORM)/$(GHC_HSC2HS_DIR_REL)
 
 ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32"
 extra_flags=$(addprefix --cflag=,$(filter-out -O,$(SRC_CC_OPTS)))
 endif
 
-HSC2HS_EXTRA="--cc=$(CC) --ld=$(CC) $(extra_flags) --cflag=-D__GLASGOW_HASKELL__=$(ProjectVersionInt) -I$(FPTOOLS_TOP_ABS_PLATFORM)/$(INCLUDE_DIR)"
+HSC2HS_EXTRA="--cc=$(CC) --ld=$(CC) $(extra_flags) --cflag=-D__GLASGOW_HASKELL__=$(ProjectVersionInt) -I$(FPTOOLS_TOP_ABS_PLATFORM)/$(GHC_INCLUDE_DIR_REL)"
 endif
 
 $(SCRIPT_PROG) : Makefile
similarity index 100%
rename from ghc/utils/hstags/README
rename to utils/hstags/README
similarity index 97%
rename from glafp-utils/lndir/Makefile
rename to utils/lndir/Makefile
index d85f92c..c8223df 100644 (file)
@@ -1,4 +1,4 @@
-TOP=..
+TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
 C_SRCS=lndir.c
similarity index 95%
rename from glafp-utils/ltx/Makefile
rename to utils/ltx/Makefile
index 6271c07..480fa0d 100644 (file)
@@ -1,4 +1,4 @@
-TOP=..
+TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
 SCRIPT_PROG=ltx
similarity index 100%
rename from glafp-utils/ltx/ltx.prl
rename to utils/ltx/ltx.prl
similarity index 97%
rename from glafp-utils/mkdependC/Makefile
rename to utils/mkdependC/Makefile
index 9a96fdf..9b07685 100644 (file)
@@ -2,7 +2,7 @@
 # Boilerplate Makefile for building perl script that
 # needs some configured constants prepended to it.
 #
-TOP=..
+TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
 boot :: all
similarity index 87%
rename from glafp-utils/mkdirhier/Makefile
rename to utils/mkdirhier/Makefile
index 8ae4c4a..f698112 100644 (file)
@@ -1,9 +1,8 @@
-#
-#
-
-TOP=..
+TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
+boot :: all
+
 SCRIPT_PROG=mkdirhier
 SCRIPT_OBJS=mkdirhier.sh
 INTERP=$(SHELL)
similarity index 51%
rename from glafp-utils/nofib-analyse/Makefile
rename to utils/nofib-analyse/Makefile
index 01323bf..155b8df 100644 (file)
@@ -1,8 +1,4 @@
-# -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.6 2005/06/07 10:58:31 simonmar Exp $
-# (c) Simon Marlow 1999-2000
-
-TOP=..
+TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
 SRC_HC_OPTS    += -fglasgow-exts -package util -package data -package text -cpp -package lang
similarity index 81%
rename from ghc/utils/prof/Makefile
rename to utils/prof/Makefile
index 7887be7..994d8c8 100644 (file)
@@ -1,9 +1,3 @@
-#-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.5 2000/09/05 10:16:41 simonmar Exp $
-#
-# (c) The GHC Team, 2000
-#
-
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
diff --git a/utils/prof/cgprof/Makefile b/utils/prof/cgprof/Makefile
new file mode 100644 (file)
index 0000000..17c5675
--- /dev/null
@@ -0,0 +1,9 @@
+TOP=../../..
+include $(TOP)/mk/boilerplate.mk
+
+C_PROG = cgprof
+INSTALL_LIBEXECS=$(C_PROG)
+
+SRC_CC_OPTS += -Wall -I$(GHC_INCLUDE_DIR)
+
+include $(TOP)/mk/target.mk
diff --git a/utils/prof/icons/Makefile b/utils/prof/icons/Makefile
new file mode 100644 (file)
index 0000000..fde1b16
--- /dev/null
@@ -0,0 +1,7 @@
+TOP=../../..
+include $(TOP)/mk/boilerplate.mk
+
+override datadir=$(libdir)/icons
+INSTALL_DATAS=$(wildcard *.xbm)
+
+include $(TOP)/mk/target.mk
similarity index 100%
rename from ghc/utils/pvm/README
rename to utils/pvm/README
similarity index 100%
rename from ghc/utils/pvm/debugger2
rename to utils/pvm/debugger2
similarity index 94%
rename from ghc/utils/runghc/Makefile
rename to utils/runghc/Makefile
index fd18313..90e4949 100644 (file)
@@ -8,7 +8,7 @@ UseGhcForCc = YES
 SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR)
 
 # This causes libghccompat.a to be used:
-include $(GHC_LIB_COMPAT_DIR)/compat.mk
+include $(GHC_COMPAT_DIR)/compat.mk
 
 # This is required because libghccompat.a must be built with
 # $(GhcHcOpts) because it is linked to the compiler, and hence
similarity index 77%
rename from glafp-utils/runstdtest/Makefile
rename to utils/runstdtest/Makefile
index ec2f66a..0bd2bab 100644 (file)
@@ -1,7 +1,4 @@
-# $Id: Makefile,v 1.5 2000/09/05 10:16:41 simonmar Exp $
-#
-
-TOP=..
+TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
 SCRIPT_PROG=runstdtest
similarity index 88%
rename from ghc/utils/stat2resid/Makefile
rename to utils/stat2resid/Makefile
index 42c0c41..f474f52 100644 (file)
@@ -1,6 +1,3 @@
-#-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.11 2000/09/05 10:16:41 simonmar Exp $
-
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
similarity index 100%
rename from ghc/utils/unlit/README
rename to utils/unlit/README
similarity index 100%
rename from ghc/utils/unlit/unlit.c
rename to utils/unlit/unlit.c
similarity index 96%
rename from glafp-utils/verbatim/Makefile
rename to utils/verbatim/Makefile
index eb40f0d..4a4301d 100644 (file)
@@ -1,4 +1,4 @@
-TOP=..
+TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
 C_SRCS = verbatim.c