X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fghc.cabal.in;h=55f235a298a781c37e9f0e338bf2e59912c369cf;hp=b37165805a609170009628c0d25053fd2bf45d12;hb=34cc75e1a62638f2833815746ebce0a9114dc26b;hpb=74e1368d4688ee16f6decdf2cd3ebe27506b26ba diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index b371658..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: