remove empty dir
[ghc-hetmet.git] / ghc / mk / version.mk.in
1 #
2 # Project-specific version information.
3 #
4 # Note:
5 #   this config file is intended to centralise all
6 #   project version information. To bump up the version
7 #   info on your package, edit this file and recompile
8 #   all the dependents. This file lives in the source tree.
9 #
10 # In the case of the ghc/ project, if you make changes
11 # to this file, you'll *have to* to rebuild the driver
12 # in your build tree(s). The ghc/driver/Makefile has got
13 # a dependency that will force such rebuilding to happen,
14 # but it does require you to do a 'make' in ghc/driver.
15
16 #
17 # Ghc project settings:
18
19 # ProjectVersion    is treated as a *string*
20 # ProjectVersionInt is treated as an *integer* (for cpp defines)
21
22 # Versioning scheme: A.B.C
23 #         A: major version, decimal, any number of digits
24 #         B: minor version, decimal, any number of digits
25 #         C: patchlevel, one digit, omitted if zero.
26 #
27 # ProjectVersionInt does *not* contain the patchlevel (rationale: this
28 # figure is used for conditional compilations, and library interfaces
29 # etc. are not supposed to change between patchlevels).
30 #
31 # The ProjectVersionInt is included in interface files, and GHC
32 # checks that it's reading interface generated by the same ProjectVersion
33 # as itself. It does this even though interface file syntax may not 
34 # change between versions.  Rationale: calling conventions or other 
35 # random .o-file stuff might change even if the .hi syntax doesn't
36
37 ProjectName       = @ProjectName@
38 ProjectNameShort  = @ProjectNameShort@
39 ProjectVersion    = @ProjectVersion@
40 ProjectVersionInt = @ProjectVersionInt@
41 ProjectPatchLevel = @ProjectPatchLevel@
42
43 # Interface file version (hi-boot files only)
44 #
45 # A GHC built with HscIfaceFileVersion=n will look for 
46 #       M.hi-boot-n, and only then for 
47 #       M.hi-boot.
48 # (It'll be happy with the latter if the former doesn't exist.)
49 #
50 #
51 # This variable is used ONLY for hi-boot files.  Its only purpose is
52 # to allow you to have a single directory with multiple .hi-boot files
53 # for the same module, each corresponding to a different version of
54 # GHC.
55 #
56 # HscIfaceFileVersion is propagated to hsc via
57 # ghc/compiler/main/Config.hs, which is automatically generated by
58 # ghc/compiler/Makefile.
59
60 HscIfaceFileVersion=6