From 0a08800d0e55e492717f15983c2e844481d04574 Mon Sep 17 00:00:00 2001 From: Benjamin Smedberg Date: Mon, 30 Mar 2009 17:29:41 -0400 Subject: [PATCH] Bug 486158 - Fix the quickstub dependencies: when multiple targets are listed for a single rule, GNU make doesn't run the rule once and combine the targets: instead, it builds each target separately. This only really matters in parallel builds where targets may be evaluated in parallel. r=ted --- js/src/xpconnect/src/Makefile.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/js/src/xpconnect/src/Makefile.in b/js/src/xpconnect/src/Makefile.in index 3eb7e4d9ab7..412bcd24a51 100644 --- a/js/src/xpconnect/src/Makefile.in +++ b/js/src/xpconnect/src/Makefile.in @@ -203,11 +203,13 @@ nsXPConnect.$(OBJ_SUFFIX): dom_quickstubs.h xpcjsruntime.$(OBJ_SUFFIX): dom_quickstubs.h -dom_quickstubs.h dom_quickstubs.cpp: $(srcdir)/dom_quickstubs.qsconf \ - $(srcdir)/qsgen.py \ - $(topsrcdir)/xpcom/idl-parser/header.py \ - $(topsrcdir)/xpcom/idl-parser/xpidl.py \ - $(DEPTH)/js/src/mozilla-config.h +dom_quickstubs.h: dom_quickstubs.cpp + +dom_quickstubs.cpp: $(srcdir)/dom_quickstubs.qsconf \ + $(srcdir)/qsgen.py \ + $(topsrcdir)/xpcom/idl-parser/header.py \ + $(topsrcdir)/xpcom/idl-parser/xpidl.py \ + $(DEPTH)/js/src/mozilla-config.h PYTHONPATH=$(topsrcdir)/xpcom/idl-parser \ $(PYTHON) $(srcdir)/qsgen.py \ --idlpath=$(DEPTH)/dist/idl \