Parallel compilation frequently stops on syntax errors in generated gSWF*.cpp files. The errors are not reproducible. Looks like the compiler starts processing those files before xsltproc finishes writing them.
The problem can be fixed by replacing the rule:
$(CODEGEN_GENERATEDSOURCES) $(CODEGEN_GENERATEDHEADERS): $(CODEGEN_SRC)
xsltproc $(srcdir)/codegen/mk.xsl $(srcdir)/codegen/source.xml
with 2 rules:
$(CODEGEN_GENERATEDSOURCES) $(CODEGEN_GENERATEDHEADERS): .code.generated
Parallel compilation frequently stops on syntax errors in generated gSWF*.cpp files. The errors are not reproducible. Looks like the compiler starts processing those files before xsltproc finishes writing them.
The problem can be fixed by replacing the rule: $(CODEGEN_GENERATEDSOURCES) $(CODEGEN_GENERATEDHEADERS): $(CODEGEN_SRC) xsltproc $(srcdir)/codegen/mk.xsl $(srcdir)/codegen/source.xml
with 2 rules: $(CODEGEN_GENERATEDSOURCES) $(CODEGEN_GENERATEDHEADERS): .code.generated
.code.generated: $(CODEGEN_SRC) xsltproc $(srcdir)/codegen/mk.xsl $(srcdir)/codegen/source.xml touch .code.generated
The patch for Makefile.am and Makefile.in has been submitted to the mailing list.