[project @ 2000-01-14 10:18:37 by simonmar]
[ghc-hetmet.git] / ghc / mk / version.mk
index 8b467a7..3c4d50f 100644 (file)
 #
 # Ghc project settings:
 # 
-# *ProjectVersion    is treated as a *string*
-# *ProjectVersionInt is treated as an *integer* (for cpp defines)
+# ProjectVersion    is treated as a *string*
+# ProjectVersionInt is treated as an *integer* (for cpp defines)
+
+# Versioning scheme: A.BB.C
+#         A: major version, any number of digits
+#         B: minor version, two digits padded with leading zeros
+#        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).
 
 ProjectName       = The Glorious Glasgow Haskell Compilation System
 ProjectNameShort  = ghc
-ProjectVersion    = 3.03
-ProjectVersionInt = 303
-ProjectPatchLevel = 0
+ProjectVersion    = 4.06
+ProjectVersionInt = 406
 
 #
 # Optionally, you can get the compiler driver to check the
@@ -35,7 +43,19 @@ ProjectPatchLevel = 0
 # version - one (semi-valid) reason for having them separate is that
 # object files produced by different versions of the compiler need
 # not be incompatible..
-HscMajorVersion=33
+HscMajorVersion=40
 HscMinorVersion=0
 CcMajorVersion=36
 CcMinorVersion=1
+
+#
+# Interface file version
+#
+# If you should happen to make changes to the interface file format
+# that will break compatibility with older versions, up this variable.
+# 
+HscIfaceFileVersion=5
+#      But watch out: interface file format after Simon's renamer
+#      hacking isn't the same as before, but it may not make
+#      any difference for the GHC boot files.
+#              May 1999