adding the new Makefiles.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 Jan 2006 04:14:06 +0000 (04:14 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 Jan 2006 04:14:06 +0000 (04:14 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11926 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/Makefile [new file with mode: 0644]
Makefile [new file with mode: 0644]
Makefile.shared [new file with mode: 0644]
WebCore/Makefile [new file with mode: 0644]
WebKit/Makefile [new file with mode: 0644]

diff --git a/JavaScriptCore/Makefile b/JavaScriptCore/Makefile
new file mode 100644 (file)
index 0000000..c2921ca
--- /dev/null
@@ -0,0 +1,2 @@
+export OTHER_OPTIONS = -target All
+include ../Makefile.shared
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..46956f3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+MODULES = JavaScriptCore WebCore WebKit
+
+all:
+       @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; if [ $$? -ne 0 ]; then \break; fi; done;
+
+debug d development dev develop:
+       @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; if [ $$? -ne 0 ]; then \break; fi; done;
+
+release r deployment dep deploy:
+       @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; if [ $$? -ne 0 ]; then \break; fi; done;
+
+clean:
+       @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; if [ $$? -ne 0 ]; then \break; fi; done;
diff --git a/Makefile.shared b/Makefile.shared
new file mode 100644 (file)
index 0000000..718439a
--- /dev/null
@@ -0,0 +1,16 @@
+XCODE_OPTIONS = `perl -I../WebKitTools/Scripts -Mwebkitdirs -e 'print XcodeOptionString()'`
+XCODE_OPTIONS_NO_CONFIG = `perl -I../WebKitTools/Scripts -Mwebkitdirs -e 'print XcodeOptionStringNoConfig()'`
+
+all:
+       xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS)
+
+debug d development dev develop:
+       ../WebKitTools/Scripts/set-webkit-configuration --development
+       xcodebuild $(OTHER_OPTIONS) -configuration Development $(XCODE_OPTIONS_NO_CONFIG)
+
+release r deployment dep deploy:
+       ../WebKitTools/Scripts/set-webkit-configuration --deployment
+       xcodebuild $(OTHER_OPTIONS) -configuration Deployment $(XCODE_OPTIONS_NO_CONFIG)
+
+clean:
+       xcodebuild -alltargets clean $(XCODE_OPTIONS)
diff --git a/WebCore/Makefile b/WebCore/Makefile
new file mode 100644 (file)
index 0000000..cb4c11a
--- /dev/null
@@ -0,0 +1 @@
+include ../Makefile.shared
diff --git a/WebKit/Makefile b/WebKit/Makefile
new file mode 100644 (file)
index 0000000..cb4c11a
--- /dev/null
@@ -0,0 +1 @@
+include ../Makefile.shared