6 <!-- ================================================================== -->
7 <!-- Handling of binary compatiblity: -->
8 <!-- ================================================================== -->
10 <!-- this needs to be reset to 0 on beginning of stable series and
11 increment by one 1 every time binary incompatible change is made
12 (i.e. preferably never) -->
13 <set var=
"WX_BINARY_VERSION">0</set>
17 <!-- ================================================================== -->
18 <!-- Library version number: -->
19 <!-- ================================================================== -->
21 <!-- extract wx version number from wx/version.h: -->
22 <set var=
"WXVER_MAJOR">$(wxwin.getVersionMajor())
</set>
23 <set var=
"WXVER_MINOR">$(wxwin.getVersionMinor())
</set>
24 <set var=
"WXVER_RELEASE">$(wxwin.getVersionRelease())
</set>
28 <!-- ================================================================== -->
29 <!-- Derived variables: -->
30 <!-- ================================================================== -->
32 <!-- set misc helper variables: -->
34 <set var=
"WX_RELEASE" make_var=
"1">
35 $(WXVER_MAJOR).$(WXVER_MINOR)
37 <set var=
"WX_RELEASE_NODOT" make_var=
"1">
38 $(WXVER_MAJOR)$(WXVER_MINOR)
40 <set var=
"WX_VERSION" make_var=
"1">
41 $(WX_RELEASE).$(WXVER_RELEASE)
43 <set var=
"WX_VERSION_NODOT" make_var=
"1">
44 $(WX_RELEASE_NODOT)$(WXVER_RELEASE)
47 <set var=
"WX_STABLE_BRANCH">$(int(int(WXVER_MINOR) %
2 ==
0))
</set>
49 <set var=
"WXSOVERSION">
50 <if cond=
"WX_STABLE_BRANCH=='1'">$(WX_BINARY_VERSION)
.0.0</if>
51 <if cond=
"WX_STABLE_BRANCH=='0'">$(WXVER_RELEASE)
.0.0</if>
53 <set var=
"WXMACVERSION">$(WX_VERSION)
</set>
54 <set var=
"WXWIN32DLLVERSION">
55 <if cond=
"WX_STABLE_BRANCH=='1'">$(WX_RELEASE_NODOT)
</if>
56 <if cond=
"WX_STABLE_BRANCH=='0'">$(WX_VERSION_NODOT)
</if>