Add Python-specific details to charmonizer.

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

Branch: refs/heads/py_exp1
Commit: f4e841c4219ecf31bba5a73a4b17e2f59ac1aa4d
Parents: b99e973
Author: Marvin Humphrey <[email protected]>
Authored: Tue Dec 16 09:54:46 2014 -0800
Committer: Marvin Humphrey <[email protected]>
Committed: Tue Dec 16 09:56:49 2014 -0800

----------------------------------------------------------------------
 runtime/common/charmonizer.main | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/f4e841c4/runtime/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/runtime/common/charmonizer.main b/runtime/common/charmonizer.main
index 8d9b9d1..e6ac32b 100644
--- a/runtime/common/charmonizer.main
+++ b/runtime/common/charmonizer.main
@@ -249,6 +249,15 @@ cfish_MakeFile_new(chaz_CLI *cli) {
         self->host_src_dir = "ext";
         self->autogen_src_files = go_autogen_src_files;
     }
+    else if (strcmp(chaz_CLI_strval(cli, "host"), "python") == 0) {
+        static const char *python_autogen_src_files[] = {
+            "cfish_parcel",
+            "testcfish_parcel",
+            NULL
+        };
+        self->host_src_dir = "cfext";
+        self->autogen_src_files = python_autogen_src_files;
+    }
     else if (chaz_CLI_defined(cli, "enable-perl")) {
         static const char *perl_autogen_src_files[] = {
             "boot",

Reply via email to