version.mk 2.14 KB
Newer Older
sof's avatar
sof committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Project-specific version information.
#
# Note:
#   this config file is intended to centralise all
#   project version information. To bump up the version
#   info on your package, edit this file and recompile
#   all the dependents. This file lives in the source tree.
#
# In the case of the ghc/ project, if you make changes
# to this file, you'll *have to* to rebuild the driver
# in your build tree(s). The ghc/driver/Makefile has got
# a dependency that will force such rebuilding to happen,
# but it does require you to do a 'make' in ghc/driver.

#
# Ghc project settings:
# 
19
20
21
# ProjectVersion    is treated as a *string*
# ProjectVersionInt is treated as an *integer* (for cpp defines)

22
23
24
# Versioning scheme: A.B.C
#         A: major version, decimal, any number of digits
#         B: minor version, decimal, any number of digits
25
26
27
28
29
#	  C: patchlevel, one digit, omitted if zero.
#
# ProjectVersionInt does *not* contain the patchlevel (rationale: this
# figure is used for conditional compilations, and library interfaces
# etc. are not supposed to change between patchlevels).
30
31
32
33
34
35
#
# The ProjectVersionInt is included in interface files, and GHC
# checks that it's reading interface generated by the same ProjectVersion
# as itself. It does this even though interface file syntax may not 
# change between versions.  Rationale: calling conventions or other 
# random .o-file stuff might change even if the .hi syntax doesn't
sof's avatar
sof committed
36
37
38

ProjectName       = The Glorious Glasgow Haskell Compilation System
ProjectNameShort  = ghc
39
ProjectVersion    = 6.1
40
ProjectVersionInt = 601
sof's avatar
sof committed
41
ProjectPatchLevel = 0
sof's avatar
sof committed
42

43
# Interface file version (hi-boot files only)
44
#
45
46
47
48
# A GHC built with HscIfaceFileVersion=n will look for 
#	M.hi-boot-n, and only then for 
#	M.hi-boot.
# (It'll be happy with the latter if the former doesn't exist.)
49
#
50
#
51
52
53
# This variable is used ONLY for hi-boot files.  Its only purpose is
# to allow you to have a single directory with multiple .hi-boot files
# for the same module, each corresponding to a different version of
54
# GHC.
55
56
57
58
#
# HscIfaceFileVersion is propagated to hsc via
# ghc/compiler/main/Config.hs, which is automatically generated by
# ghc/compiler/Makefile.
59

60
HscIfaceFileVersion=6