summaryrefslogtreecommitdiff
path: root/utils/genapply/genapply.cabal
blob: 8926db11783c5d4138d278394799f1468a89be0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Name: genapply
Version: 0.1
Copyright: XXX
License: BSD3
-- XXX License-File: LICENSE
-- XXX Author:
-- XXX Maintainer:
Synopsis: Generate the application closures
Description:
    This script is responsible for generating the @AutoApply.cmm@ source
    file during the build process of GHC's runtime system. This file
    defines the standard closures used to represent application of functions
    of various arities.
build-type: Simple
cabal-version: >=1.10

Flag unregisterised
    description: Are we building an unregisterised compiler?
    default:     False
    manual:      True

Executable genapply
    Default-Language: Haskell2010
    Main-Is: Main.hs
    Build-Depends: base       >= 3   && < 5,
                   pretty

    if flag(unregisterised)
        Cpp-Options: -DNO_REGS