X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fghc.cabal.in;h=55f235a298a781c37e9f0e338bf2e59912c369cf;hp=483303d84f69712a3286bcb74d20795faac9214c;hb=34cc75e1a62638f2833815746ebce0a9114dc26b;hpb=42222f95a101fb3647f8728302bbf1098b74e59e diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index 483303d..55f235a 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -1,3 +1,6 @@ +-- WARNING: ghc.cabal is automatically generated from ghc.cabal.in by +-- ./configure. Make sure you are editing ghc.cabal.in, not ghc.cabal. + Name: ghc Version: @ProjectVersion@ License: BSD3 @@ -45,6 +48,15 @@ Flag ncg Flag stage1 Description: Is this stage 1? + Default: False + +Flag stage2 + Description: Is this stage 2? + Default: False + +Flag stage3 + Description: Is this stage 3? + Default: False Library Exposed: False @@ -103,7 +115,12 @@ Library Build-Depends: extensible-exceptions Extensions: PatternSignatures else - Include-Dirs: stage2plus + if flag(stage2) + Include-Dirs: stage2 + else + if flag(stage3) + Include-Dirs: stage2 + Install-Includes: HsVersions.h, ghc_boot_platform.h c-sources: @@ -481,6 +498,7 @@ Library PPC.CodeGen SPARC.Base SPARC.Regs + SPARC.RegPlate SPARC.Imm SPARC.AddrMode SPARC.Cond