• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1MAJOR_VERSION = 528;
2MINOR_VERSION = 15;
3TINY_VERSION = 0;
4FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION);
5
6// The bundle version and short version string are set based on the current build configuration, see below.
7BUNDLE_VERSION = $(BUNDLE_VERSION_$(CONFIGURATION));
8SHORT_VERSION_STRING = $(SHORT_VERSION_STRING_$(CONFIGURATION))
9
10// The system version prefix is based on the current system version.
11SYSTEM_VERSION_PREFIX = $(SYSTEM_VERSION_PREFIX_$(MAC_OS_X_VERSION_MAJOR));
12SYSTEM_VERSION_PREFIX_ = 4; // Some Tiger versions of Xcode don't set MAC_OS_X_VERSION_MAJOR.
13SYSTEM_VERSION_PREFIX_1040 = 4;
14SYSTEM_VERSION_PREFIX_1050 = 5;
15SYSTEM_VERSION_PREFIX_1060 = 6;
16
17// The production build always uses the full version with a system version prefix.
18BUNDLE_VERSION_Production = $(SYSTEM_VERSION_PREFIX)$(FULL_VERSION);
19BUNDLE_VERSION_ = $(BUNDLE_VERSION_Production);
20
21// The production build always uses the major version with a system version prefix
22SHORT_VERSION_STRING_Production = $(SYSTEM_VERSION_PREFIX)$(MAJOR_VERSION);
23SHORT_VERSION_STRING_ = $(SHORT_VERSION_STRING_Production);
24
25// Local builds are the full version with a plus suffix.
26BUNDLE_VERSION_Release = $(FULL_VERSION)+;
27BUNDLE_VERSION_Debug = $(BUNDLE_VERSION_Release);
28
29// Local builds use the major version with a plus suffix
30SHORT_VERSION_STRING_Release = $(MAJOR_VERSION)+;
31SHORT_VERSION_STRING_Debug = $(SHORT_VERSION_STRING_Release);
32
33DYLIB_COMPATIBILITY_VERSION = 1;
34DYLIB_CURRENT_VERSION = $(FULL_VERSION);
35