blob: 4e9be05f4795957f4aea8aed2491535bfcfc3177 [file] [log] [blame]
# 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"
ifneq (,$(filter iphoneos iphonesimulator,$(foreach sdk,iphoneos iphonesimulator,$(findstring $(sdk),$(SDKROOT)))))
OTHER_OPTIONS += -target All-iOS
endif
include ../Makefile.shared
else
all: ;
debug d development dev develop: ;
release r deployment dep deploy: ;
clean: ;
endif