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 2012/12/27 18:49:16 UTC
[lucy-commits] [6/7] git commit: refs/heads/c-bindings-wip1 - Add header for
auto-generated files
Add header for auto-generated files
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/b5b9c835
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/b5b9c835
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/b5b9c835
Branch: refs/heads/c-bindings-wip1
Commit: b5b9c83561b9531d63c8cdb53e10f2a86b1c4cbb
Parents: 6a732f2
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Mon Dec 24 01:58:52 2012 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Mon Dec 24 01:58:52 2012 +0100
----------------------------------------------------------------------
c/Makefile | 5 ++++-
c/cfc_header | 23 +++++++++++++++++++++++
2 files changed, 27 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/b5b9c835/c/Makefile
----------------------------------------------------------------------
diff --git a/c/Makefile b/c/Makefile
index e8da574..1b2faa2 100644
--- a/c/Makefile
+++ b/c/Makefile
@@ -394,7 +394,10 @@ $(CFC) :
make -C $(CFC_DIR)
$(LUCY_AUTOGEN_DIR) : $(CFC)
- $(CFC) --source=$(LUCY_CORE_DIR) --dest=$(LUCY_AUTOGEN_DIR)
+ $(CFC) \
+ --source=$(LUCY_CORE_DIR) \
+ --dest=$(LUCY_AUTOGEN_DIR) \
+ --header=cfc_header
$(LUCY_OBJS) : $(CHARMONY_H) $(LUCY_JSON_PARSER).h $(LUCY_AUTOGEN_DIR)
http://git-wip-us.apache.org/repos/asf/lucy/blob/b5b9c835/c/cfc_header
----------------------------------------------------------------------
diff --git a/c/cfc_header b/c/cfc_header
new file mode 100644
index 0000000..d982cf9
--- /dev/null
+++ b/c/cfc_header
@@ -0,0 +1,23 @@
+/***********************************************
+
+ !!!! DO NOT EDIT !!!!
+
+ This file was auto-generated by cfc.
+
+ ***********************************************/
+
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */