blob: 56ed9784ee6ce6ee3f260c4fd6a52ef4a630cd2e [file] [log] [blame]
mitz@apple.com10955a5a2010-12-18 00:02:12 +00001SCRIPTS_PATH ?= ../Tools/Scripts
thatcherb0cc0752007-07-18 13:55:11 +00002XCODE_OPTIONS = `perl -I$(SCRIPTS_PATH) -Mwebkitdirs -e 'print XcodeOptionString()'` $(ARGS)
thatcherfab20772006-01-08 04:14:06 +00003
4all:
thatchera3c1ab12006-12-14 19:30:36 +00005 ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
thatcherfab20772006-01-08 04:14:06 +00006
thatcher8abc3742006-03-07 23:35:12 +00007debug d development dev develop: force
thatcherb0cc0752007-07-18 13:55:11 +00008 $(SCRIPTS_PATH)/set-webkit-configuration --debug
thatchera3c1ab12006-12-14 19:30:36 +00009 ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
thatcherfab20772006-01-08 04:14:06 +000010
thatcher8abc3742006-03-07 23:35:12 +000011release r deployment dep deploy: force
thatcherb0cc0752007-07-18 13:55:11 +000012 $(SCRIPTS_PATH)/set-webkit-configuration --release
slewis@apple.com87920482010-04-27 23:19:44 +000013 ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
thatcherfab20772006-01-08 04:14:06 +000014
15clean:
thatcherb0cc0752007-07-18 13:55:11 +000016 ( xcodebuild $(OTHER_OPTIONS) -alltargets clean $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
thatcher8abc3742006-03-07 23:35:12 +000017
18force: ;