summaryrefslogtreecommitdiffstats
path: root/WebKit/mac/Configurations/Version.xcconfig
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/mac/Configurations/Version.xcconfig')
-rw-r--r--WebKit/mac/Configurations/Version.xcconfig27
1 files changed, 27 insertions, 0 deletions
diff --git a/WebKit/mac/Configurations/Version.xcconfig b/WebKit/mac/Configurations/Version.xcconfig
new file mode 100644
index 0000000..48128b5
--- /dev/null
+++ b/WebKit/mac/Configurations/Version.xcconfig
@@ -0,0 +1,27 @@
+MAJOR_VERSION = 526;
+MINOR_VERSION = 0;
+TINY_VERSION = 0;
+FULL_VERSION = $(MAJOR_VERSION);
+
+// The bundle version is set based on the current build configuration, see below.
+BUNDLE_VERSION = $(BUNDLE_VERSION_$(CONFIGURATION));
+
+// The local builds are always just the major version with a Plus suffix.
+BUNDLE_VERSION_Release = $(FULL_VERSION)+;
+BUNDLE_VERSION_Debug = $(BUNDLE_VERSION_Release);
+
+// The system version prefix is based on the current system version.
+SYSTEM_VERSION_PREFIX = $(SYSTEM_VERSION_PREFIX_$(MAC_OS_X_VERSION_MAJOR));
+SYSTEM_VERSION_PREFIX_ = 4; // Some Tiger versions of Xcode don't set MAC_OS_X_VERSION_MAJOR.
+SYSTEM_VERSION_PREFIX_1040 = 4;
+SYSTEM_VERSION_PREFIX_1050 = 5;
+SYSTEM_VERSION_PREFIX_1060 = 6;
+
+// The production build always uses the full version with a system version prefix.
+BUNDLE_VERSION_Production = $(SYSTEM_VERSION_PREFIX)$(FULL_VERSION);
+
+// If $(CONFIGURATION) is undefined, use the Production version.
+BUNDLE_VERSION_ = $(BUNDLE_VERSION_Production);
+
+DYLIB_COMPATIBILITY_VERSION = 1;
+DYLIB_CURRENT_VERSION = $(FULL_VERSION);