summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Makefile')
-rw-r--r--Source/WebKit2/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Source/WebKit2/Makefile b/Source/WebKit2/Makefile
new file mode 100644
index 0000000..99177a6
--- /dev/null
+++ b/Source/WebKit2/Makefile
@@ -0,0 +1,20 @@
+# Build WebKit2 only on SnowLeopard and later.
+
+OSX_VERSION ?= $(shell sw_vers -productVersion | cut -d. -f 2)
+BUILD_WEBKIT2 = $(shell (( $(OSX_VERSION) >= 6 )) && echo "YES" )
+
+ifeq "$(BUILD_WEBKIT2)" "YES"
+
+include ../Makefile.shared
+
+else
+
+all: ;
+
+debug d development dev develop: ;
+
+release r deployment dep deploy: ;
+
+clean: ;
+
+endif