1 SCRIPTS_PATH ?= ../Tools/Scripts
2 XCODE_OPTIONS = `perl -I$(SCRIPTS_PATH) -Mwebkitdirs -e 'print XcodeOptionString()'` $(ARGS)
4 DEFAULT_VERBOSITY := $(shell defaults read org.webkit.BuildConfiguration BuildTranscriptVerbosity 2>/dev/null || echo "default")
5 VERBOSITY ?= $(DEFAULT_VERBOSITY)
7 ifeq ($(VERBOSITY),default)
8 OUTPUT_FILTER = grep -v setenv
10 ifeq ($(VERBOSITY),noisy)
13 OUTPUT_FILTER = $(SCRIPTS_PATH)/filter-build-webkit
18 ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | $(OUTPUT_FILTER) && exit $${PIPESTATUS[0]} )
20 debug d development dev develop: force
21 $(SCRIPTS_PATH)/set-webkit-configuration --debug
22 ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | $(OUTPUT_FILTER) && exit $${PIPESTATUS[0]} )
24 release r deployment dep deploy: force
25 $(SCRIPTS_PATH)/set-webkit-configuration --release
26 ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | $(OUTPUT_FILTER) && exit $${PIPESTATUS[0]} )
29 ( xcodebuild $(OTHER_OPTIONS) -alltargets clean $(XCODE_OPTIONS) | $(OUTPUT_FILTER) && exit $${PIPESTATUS[0]} )