Makefile 896 B

123456789101112131415161718192021222324
  1. MODULES = WTF JavaScriptCore ThirdParty/ANGLE WebCore WebInspectorUI WebKit WebKit2
  2. ifneq (,$(findstring iphoneos,$(SDKROOT)))
  3. MODULES = WTF JavaScriptCore ThirdParty/ANGLE WebCore WebKit
  4. else ifneq (,$(findstring iphonesimulator,$(SDKROOT)))
  5. MODULES = WTF JavaScriptCore ThirdParty/ANGLE WebCore WebKit
  6. endif
  7. all:
  8. @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
  9. if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
  10. debug d:
  11. @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
  12. if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
  13. release r:
  14. @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
  15. if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
  16. clean:
  17. @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
  18. if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done