Fix up the rules default tip
authorBenjamin Smedberg <benjamin@smedbergs.us>
Thu, 26 Jun 2008 08:21:20 -0400
changeset 13 f51708e7f0d9
parent 12 30574df5c435
push id10
push userbsmedberg@mozilla.com
push date2008-06-26 12:21 +0000
Fix up the rules
testheaderrules.mk
--- a/testheaderrules.mk
+++ b/testheaderrules.mk
@@ -1,9 +1,9 @@
 # Copy this to objdir/myrules.mk to test
 
 ifneq ($(XPIDLSRCS)$(SDK_XPIDLSRCS),)
-export:: $(patsubst %.idl,$(XPIDL_GEN_DIR)/%.pyh, $(XPIDLSRCS))
+export:: $(patsubst %.idl,$(XPIDL_GEN_DIR)/%.pyh, $(XPIDLSRCS) $(SDK_XPIDLSRCS))
 endif
 
 $(XPIDL_GEN_DIR)/%.pyh: %.idl $(XPIDL_GEN_DIR)/%.h /builds/idl-parser/header.py /builds/idl-parser/xpidl.py
-	python /builds/idl-parser/header.py --cachedir=$(DEPTH)/config $(XPIDL_FLAGS) $< > $@
+	python -O /builds/idl-parser/header.py --cachedir=$(DEPTH)/config $(XPIDL_FLAGS) $< > $@
 	diff -w -B -U 3 $(XPIDL_GEN_DIR)/$*.h $@