[project @ 1999-10-05 10:30:26 by simonmar]
[ghc-hetmet.git] / ghc / mk / version.mk
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.BB.C
23 #         A: major version, any number of digits
24 #         B: minor version, two digits padded with leading zeros
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 ProjectName       = The Glorious Glasgow Haskell Compilation System
32 ProjectNameShort  = ghc
33 ProjectVersion    = 4.05
34 ProjectVersionInt = 405
35
36 #
37 # Optionally, you can get the compiler driver to check the
38 # version consistency between the object files being linked.
39
40 # Major numbers must always agree, minor disagreements yield a warning.
41 #
42 # These version numbers are currently separate from the project
43 # version - one (semi-valid) reason for having them separate is that
44 # object files produced by different versions of the compiler need
45 # not be incompatible..
46 HscMajorVersion=40
47 HscMinorVersion=0
48 CcMajorVersion=36
49 CcMinorVersion=1
50
51 #
52 # Interface file version
53 #
54 # If you should happen to make changes to the interface file format
55 # that will break compatibility with older versions, up this variable.
56
57 HscIfaceFileVersion=5
58 #       But watch out: interface file format after Simon's renamer
59 #       hacking isn't the same as before, but it may not make
60 #       any difference for the GHC boot files.
61 #               May 1999