You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2013/03/14 14:45:04 UTC

[lucy-commits] [4/7] git commit: refs/heads/c-bindings-wip3 - Fix parallel builds

Fix parallel builds


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/6184ab59
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/6184ab59
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/6184ab59

Branch: refs/heads/c-bindings-wip3
Commit: 6184ab599514e296336a6193a0796d4582a3bc92
Parents: 38f04d8
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Thu Mar 14 14:37:55 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Thu Mar 14 14:37:55 2013 +0100

----------------------------------------------------------------------
 common/charmonizer.main |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/6184ab59/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/common/charmonizer.main b/common/charmonizer.main
index 43ecb41..f62c23d 100644
--- a/common/charmonizer.main
+++ b/common/charmonizer.main
@@ -280,6 +280,10 @@ S_write_makefile() {
     chaz_MakeRule_add_command(rule, scratch);
     free(scratch);
 
+    /* Needed for parallel builds. */
+    rule = chaz_MakeFile_add_rule(makefile, "$(AUTOGEN_DIR)" DIR_SEP "source"
+                                  DIR_SEP "parcel.c", "$(AUTOGEN_DIR)");
+
     rule = chaz_MakeFile_add_rule(makefile, "$(LUCY_OBJS)", NULL);
     chaz_MakeRule_add_prereq(rule, json_parser_c);
     chaz_MakeRule_add_prereq(rule, "$(AUTOGEN_DIR)");