X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghc.cabal;h=0fa37bad628c35b02bc130e7ac75b70d768af95f;hb=0abe050cfddb8fee8c11f382266d73078d9008f7;hp=2bb88fd3e97c9ef31e4474686614492e7b2ac519;hpb=71cd62b8fff15a9beea524bcd2953a525e9d33f8;p=ghc-hetmet.git diff --git a/compiler/ghc.cabal b/compiler/ghc.cabal index 2bb88fd..0fa37ba 100644 --- a/compiler/ghc.cabal +++ b/compiler/ghc.cabal @@ -29,10 +29,9 @@ Flag ghci Flag stage1 Description: Is this stage 1? -Flag windows - Description: On a Windows machine - Library + Exposed: False + if flag(base3) Build-Depends: base >= 3 && < 4, directory >= 1 && < 1.1, @@ -45,7 +44,7 @@ Library Build-Depends: base < 3 Build-Depends: filepath >= 1 && < 1.2 Build-Depends: haskell98, Cabal, hpc - if flag(windows) + if os(windows) Build-Depends: Win32 else Build-Depends: unix @@ -72,12 +71,10 @@ Library Include-Dirs: . parser utils - -- XXX Change these directory names: The stage2 files are what - -- we want for all stages >= 1 if flag(stage1) Include-Dirs: stage1 else - Include-Dirs: stage2 + Include-Dirs: stage2plus Install-Includes: HsVersions.h, ghc_boot_platform.h c-sources: @@ -120,6 +117,7 @@ Library BasicTypes DataCon Demand + Exception Id IdInfo Literal