summaryrefslogtreecommitdiff
path: root/packages/webkit/files/Makefile.shared
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-08-12 08:01:52 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-12 08:01:52 +0000
commit73e690b1094c7adf154de89653f34099caefb4be (patch)
treeb06ab1613ea3453e2fe27a3fba95acf3352c34e4 /packages/webkit/files/Makefile.shared
parentf3775cc8bd368bfc25ec82964fab214601e27572 (diff)
webkit: rename to webkit-gtk
Diffstat (limited to 'packages/webkit/files/Makefile.shared')
-rw-r--r--packages/webkit/files/Makefile.shared21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/webkit/files/Makefile.shared b/packages/webkit/files/Makefile.shared
new file mode 100644
index 0000000000..a036aacc50
--- /dev/null
+++ b/packages/webkit/files/Makefile.shared
@@ -0,0 +1,21 @@
+SCRIPTS_PATH ?= ../WebKitTools/Scripts
+XCODE_OPTIONS = `perl -I$(SCRIPTS_PATH) -Mwebkitdirs -e 'print XcodeOptionString()'` $(ARGS)
+
+all:
+ ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
+
+debug d development dev develop: force
+ $(SCRIPTS_PATH)/set-webkit-configuration --debug
+ ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
+
+release r deployment dep deploy: force
+ $(SCRIPTS_PATH)/set-webkit-configuration --release
+ ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
+
+universal u: force
+ ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) 'ARCHS=ppc i386' | grep -v setenv && exit $${PIPESTATUS[0]} )
+
+clean:
+ ( xcodebuild $(OTHER_OPTIONS) -alltargets clean $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
+
+force: ;