Fix Makefile based build.
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Dec 2010 19:41:35 +0000 (19:41 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Dec 2010 19:41:35 +0000 (19:41 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@74692 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Sources/Makefile
Sources/ThirdParty/Makefile [new file with mode: 0644]
Sources/ThirdParty/Makefile.shared [new file with mode: 0644]

index 5f3c4b7a22dc65680261a015d91dcfe664ceb504..910f0d985b33608aa0523c48f782cb1aec47ce9f 100644 (file)
@@ -1,4 +1,4 @@
-MODULES = JavaScriptGlue
+MODULES = JavaScriptGlue ThirdParty/ANGLE
 
 all:
        @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
diff --git a/Sources/ThirdParty/Makefile b/Sources/ThirdParty/Makefile
new file mode 100644 (file)
index 0000000..d9b8d2a
--- /dev/null
@@ -0,0 +1,17 @@
+MODULES = ANGLE
+
+all:
+       @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
+       if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
+
+debug d development dev develop:
+       @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
+       if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
+
+release r deployment dep deploy:
+       @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
+       if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
+
+clean:
+       @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
+       if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
diff --git a/Sources/ThirdParty/Makefile.shared b/Sources/ThirdParty/Makefile.shared
new file mode 100644 (file)
index 0000000..1c78613
--- /dev/null
@@ -0,0 +1,2 @@
+SCRIPTS_PATH ?= ../../../Tools/Scripts
+include ../../../Makefile.shared