.: Add WebKit2 to the lists of modules to build.
[WebKit-https.git] / WebKitTools / MiniBrowser / Makefile
index 1f1dbbcb30fd47748dc187236083301f6dd7b6b5..61cd4756bea63f70a18f8b2c1920c4244153251c 100644 (file)
@@ -1,2 +1,21 @@
+# Build MiniBrowser only on SnowLeopard and later.
+
+OSX_VERSION ?= $(shell sw_vers -productVersion | cut -d. -f 2)
+BUILD_MINIBROWSER = $(shell (( $(OSX_VERSION) >= 6 )) && echo "YES" )
+
+ifeq "$(BUILD_MINIBROWSER)" "YES"
+
 SCRIPTS_PATH = ../Scripts
 include ../../Makefile.shared
 SCRIPTS_PATH = ../Scripts
 include ../../Makefile.shared
+
+else
+
+all: ;
+
+debug d development dev develop: ;
+
+release r deployment dep deploy: ;
+
+clean: ;
+
+endif