Split main/GHC into GHC and GhcMake
authorsimonpj@microsoft.com <unknown>
Tue, 25 Jan 2011 16:16:32 +0000 (16:16 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 25 Jan 2011 16:16:32 +0000 (16:16 +0000)
commita79a531965cd1f0d04dd3e0250b076037bf9ff4e
treeef0be88551fded7af6cb2a3969b083adbcaf2158
parent45bc009da2922cf8d5181d79d01c1c61e8d603fa
Split main/GHC into GHC and GhcMake

There are two things going on in main/GHC.hs.
  * It's the root module of the GHC package
  * It contains lots of stuff for --make
It is also gigantic (2.7k lines)

This patch splits it into two
  * GHC.hs is the root module for the GHC package
      (1.3k lines)
  * GhcMake.hs contains the stuff for --make
      (1.4k lines)

Happily the functional split divided it almost
exactly in half.

This is a pure refactoring.  There should be no
behavioural change.
compiler/ghc.cabal.in
compiler/main/GHC.hs
compiler/main/GhcMake.hs [new file with mode: 0644]
compiler/main/GhcMonad.hs