ref: adding copyright headers and licensing files

Change-Id: I135f73159c3e010f7faf14f1215bbd74eb32c2cb
diff --git a/lib/vdl/build/build.go b/lib/vdl/build/build.go
index c3de1fd..c036e9d 100644
--- a/lib/vdl/build/build.go
+++ b/lib/vdl/build/build.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package build provides utilities to collect VDL build information, and
 // helpers to kick off the parser and compiler.
 //
diff --git a/lib/vdl/build/build_test.go b/lib/vdl/build/build_test.go
index 3a8ca5d..aa083b2 100644
--- a/lib/vdl/build/build_test.go
+++ b/lib/vdl/build/build_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package build_test
 
 import (
diff --git a/lib/vdl/codegen/doc.go b/lib/vdl/codegen/doc.go
index 19ccead..5a8537e 100644
--- a/lib/vdl/codegen/doc.go
+++ b/lib/vdl/codegen/doc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package codegen implements utilities useful for all vdl code generators.
 // Code generators for specific languages live in sub-directories.
 package codegen
diff --git a/lib/vdl/codegen/golang/const.go b/lib/vdl/codegen/golang/const.go
index 84cf374..6d68def 100644
--- a/lib/vdl/codegen/golang/const.go
+++ b/lib/vdl/codegen/golang/const.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package golang
 
 import (
diff --git a/lib/vdl/codegen/golang/const_test.go b/lib/vdl/codegen/golang/const_test.go
index eb37459..6439337 100644
--- a/lib/vdl/codegen/golang/const_test.go
+++ b/lib/vdl/codegen/golang/const_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package golang
 
 import (
diff --git a/lib/vdl/codegen/golang/gen.go b/lib/vdl/codegen/golang/gen.go
index 9193be4..73a32eb 100644
--- a/lib/vdl/codegen/golang/gen.go
+++ b/lib/vdl/codegen/golang/gen.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package golang implements Go code generation from compiled VDL packages.
 package golang
 
diff --git a/lib/vdl/codegen/golang/import.go b/lib/vdl/codegen/golang/import.go
index e8f9f90..78298a0 100644
--- a/lib/vdl/codegen/golang/import.go
+++ b/lib/vdl/codegen/golang/import.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package golang
 
 // TODO(toddw): Add tests for this logic.
diff --git a/lib/vdl/codegen/golang/type.go b/lib/vdl/codegen/golang/type.go
index 9f93c2a..c99dafb 100644
--- a/lib/vdl/codegen/golang/type.go
+++ b/lib/vdl/codegen/golang/type.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package golang
 
 import (
diff --git a/lib/vdl/codegen/golang/type_test.go b/lib/vdl/codegen/golang/type_test.go
index fb26f6f..495638e 100644
--- a/lib/vdl/codegen/golang/type_test.go
+++ b/lib/vdl/codegen/golang/type_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package golang
 
 import (
diff --git a/lib/vdl/codegen/import.go b/lib/vdl/codegen/import.go
index 5eb0ea0..b25d734 100644
--- a/lib/vdl/codegen/import.go
+++ b/lib/vdl/codegen/import.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package codegen
 
 import (
diff --git a/lib/vdl/codegen/java/const.go b/lib/vdl/codegen/java/const.go
index 79a62af..3ffbaec 100644
--- a/lib/vdl/codegen/java/const.go
+++ b/lib/vdl/codegen/java/const.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 const header = `
diff --git a/lib/vdl/codegen/java/file_array.go b/lib/vdl/codegen/java/file_array.go
index d4b6166..35e3330 100644
--- a/lib/vdl/codegen/java/file_array.go
+++ b/lib/vdl/codegen/java/file_array.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_client_factory.go b/lib/vdl/codegen/java/file_client_factory.go
index 08ffa58..ea2a8ef 100644
--- a/lib/vdl/codegen/java/file_client_factory.go
+++ b/lib/vdl/codegen/java/file_client_factory.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_client_interface.go b/lib/vdl/codegen/java/file_client_interface.go
index ac483c5..46c66e2 100644
--- a/lib/vdl/codegen/java/file_client_interface.go
+++ b/lib/vdl/codegen/java/file_client_interface.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_client_stub.go b/lib/vdl/codegen/java/file_client_stub.go
index 8e3b967..8812f5b 100644
--- a/lib/vdl/codegen/java/file_client_stub.go
+++ b/lib/vdl/codegen/java/file_client_stub.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_complex.go b/lib/vdl/codegen/java/file_complex.go
index 1bab459..2f9a5a6 100644
--- a/lib/vdl/codegen/java/file_complex.go
+++ b/lib/vdl/codegen/java/file_complex.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_constants.go b/lib/vdl/codegen/java/file_constants.go
index 5153eac..a4ba956 100644
--- a/lib/vdl/codegen/java/file_constants.go
+++ b/lib/vdl/codegen/java/file_constants.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_enum.go b/lib/vdl/codegen/java/file_enum.go
index 485d397..af2c036 100644
--- a/lib/vdl/codegen/java/file_enum.go
+++ b/lib/vdl/codegen/java/file_enum.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_errors.go b/lib/vdl/codegen/java/file_errors.go
index 217cc00..b140d44 100644
--- a/lib/vdl/codegen/java/file_errors.go
+++ b/lib/vdl/codegen/java/file_errors.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_list.go b/lib/vdl/codegen/java/file_list.go
index 38ce228..79c409c 100644
--- a/lib/vdl/codegen/java/file_list.go
+++ b/lib/vdl/codegen/java/file_list.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_map.go b/lib/vdl/codegen/java/file_map.go
index 1e7fdb9..bb506f8 100644
--- a/lib/vdl/codegen/java/file_map.go
+++ b/lib/vdl/codegen/java/file_map.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_package_info.go b/lib/vdl/codegen/java/file_package_info.go
index 540dee6..ac8c253 100644
--- a/lib/vdl/codegen/java/file_package_info.go
+++ b/lib/vdl/codegen/java/file_package_info.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_primitive.go b/lib/vdl/codegen/java/file_primitive.go
index 47874c7..295beef 100644
--- a/lib/vdl/codegen/java/file_primitive.go
+++ b/lib/vdl/codegen/java/file_primitive.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_server_interface.go b/lib/vdl/codegen/java/file_server_interface.go
index 6fa95c7..6171295 100644
--- a/lib/vdl/codegen/java/file_server_interface.go
+++ b/lib/vdl/codegen/java/file_server_interface.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_server_wrapper.go b/lib/vdl/codegen/java/file_server_wrapper.go
index b5cea36..75b7222 100644
--- a/lib/vdl/codegen/java/file_server_wrapper.go
+++ b/lib/vdl/codegen/java/file_server_wrapper.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_set.go b/lib/vdl/codegen/java/file_set.go
index 092cb5a..08e9c95 100644
--- a/lib/vdl/codegen/java/file_set.go
+++ b/lib/vdl/codegen/java/file_set.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_struct.go b/lib/vdl/codegen/java/file_struct.go
index 8193be0..77a974f 100644
--- a/lib/vdl/codegen/java/file_struct.go
+++ b/lib/vdl/codegen/java/file_struct.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/file_union.go b/lib/vdl/codegen/java/file_union.go
index 2143ec1..aca10b3 100644
--- a/lib/vdl/codegen/java/file_union.go
+++ b/lib/vdl/codegen/java/file_union.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/generate.go b/lib/vdl/codegen/java/generate.go
index fa135c1..bb301f8 100644
--- a/lib/vdl/codegen/java/generate.go
+++ b/lib/vdl/codegen/java/generate.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package java implements Java code generation from compiled VDL packages.
 package java
 
diff --git a/lib/vdl/codegen/java/util.go b/lib/vdl/codegen/java/util.go
index d681314..c379886 100644
--- a/lib/vdl/codegen/java/util.go
+++ b/lib/vdl/codegen/java/util.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/util_args.go b/lib/vdl/codegen/java/util_args.go
index 841acde..226a738 100644
--- a/lib/vdl/codegen/java/util_args.go
+++ b/lib/vdl/codegen/java/util_args.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/util_doc.go b/lib/vdl/codegen/java/util_doc.go
index 0b2abf8..cce01f5 100644
--- a/lib/vdl/codegen/java/util_doc.go
+++ b/lib/vdl/codegen/java/util_doc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/util_file.go b/lib/vdl/codegen/java/util_file.go
index dd51498..739ead6 100644
--- a/lib/vdl/codegen/java/util_file.go
+++ b/lib/vdl/codegen/java/util_file.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/util_interface.go b/lib/vdl/codegen/java/util_interface.go
index 43b7c52..73bc317 100644
--- a/lib/vdl/codegen/java/util_interface.go
+++ b/lib/vdl/codegen/java/util_interface.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/util_method.go b/lib/vdl/codegen/java/util_method.go
index c24762a..40a5dc2 100644
--- a/lib/vdl/codegen/java/util_method.go
+++ b/lib/vdl/codegen/java/util_method.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/util_path.go b/lib/vdl/codegen/java/util_path.go
index 9798eb9..faa0460 100644
--- a/lib/vdl/codegen/java/util_path.go
+++ b/lib/vdl/codegen/java/util_path.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/util_template.go b/lib/vdl/codegen/java/util_template.go
index 74289b4..5845aab 100644
--- a/lib/vdl/codegen/java/util_template.go
+++ b/lib/vdl/codegen/java/util_template.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/util_type.go b/lib/vdl/codegen/java/util_type.go
index 1e3efa1..2aaf468 100644
--- a/lib/vdl/codegen/java/util_type.go
+++ b/lib/vdl/codegen/java/util_type.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/java/util_val.go b/lib/vdl/codegen/java/util_val.go
index e95b815..963a1fc 100644
--- a/lib/vdl/codegen/java/util_val.go
+++ b/lib/vdl/codegen/java/util_val.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package java
 
 import (
diff --git a/lib/vdl/codegen/javascript/const_test.go b/lib/vdl/codegen/javascript/const_test.go
index edf9f46..f6250a4 100644
--- a/lib/vdl/codegen/javascript/const_test.go
+++ b/lib/vdl/codegen/javascript/const_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package javascript
 
 import (
diff --git a/lib/vdl/codegen/javascript/error_test.go b/lib/vdl/codegen/javascript/error_test.go
index 226dba3..a14463f 100644
--- a/lib/vdl/codegen/javascript/error_test.go
+++ b/lib/vdl/codegen/javascript/error_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package javascript
 
 import (
diff --git a/lib/vdl/codegen/javascript/errors.go b/lib/vdl/codegen/javascript/errors.go
index ee9f418..57f0f10 100644
--- a/lib/vdl/codegen/javascript/errors.go
+++ b/lib/vdl/codegen/javascript/errors.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package javascript
 
 import (
diff --git a/lib/vdl/codegen/javascript/gen.go b/lib/vdl/codegen/javascript/gen.go
index 5b4294d..2f0bdf5 100644
--- a/lib/vdl/codegen/javascript/gen.go
+++ b/lib/vdl/codegen/javascript/gen.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package javascript implements Javascript code generation from compiled VDL packages.
 package javascript
 
diff --git a/lib/vdl/codegen/javascript/gen_type_def.go b/lib/vdl/codegen/javascript/gen_type_def.go
index 76acc2a..3719aa6 100644
--- a/lib/vdl/codegen/javascript/gen_type_def.go
+++ b/lib/vdl/codegen/javascript/gen_type_def.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package javascript
 
 import (
diff --git a/lib/vdl/codegen/javascript/import.go b/lib/vdl/codegen/javascript/import.go
index 37dfa8b..a491ba2 100644
--- a/lib/vdl/codegen/javascript/import.go
+++ b/lib/vdl/codegen/javascript/import.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package javascript
 
 import (
diff --git a/lib/vdl/codegen/javascript/pkg_types.go b/lib/vdl/codegen/javascript/pkg_types.go
index 7f986da..cf4e88b 100644
--- a/lib/vdl/codegen/javascript/pkg_types.go
+++ b/lib/vdl/codegen/javascript/pkg_types.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package javascript
 
 import (
diff --git a/lib/vdl/codegen/javascript/type_test.go b/lib/vdl/codegen/javascript/type_test.go
index 7e932f2..13468c6 100644
--- a/lib/vdl/codegen/javascript/type_test.go
+++ b/lib/vdl/codegen/javascript/type_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package javascript
 
 import (
diff --git a/lib/vdl/codegen/vdlgen/const.go b/lib/vdl/codegen/vdlgen/const.go
index df1e6da..0f75fad 100644
--- a/lib/vdl/codegen/vdlgen/const.go
+++ b/lib/vdl/codegen/vdlgen/const.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package vdlgen
 
 // TODO(toddw): Add tests
diff --git a/lib/vdl/codegen/vdlgen/import.go b/lib/vdl/codegen/vdlgen/import.go
index e02b07c..248b936 100644
--- a/lib/vdl/codegen/vdlgen/import.go
+++ b/lib/vdl/codegen/vdlgen/import.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package vdlgen implements VDL code generation from compiled VDL packages.
 package vdlgen
 
diff --git a/lib/vdl/codegen/vdlgen/signature.go b/lib/vdl/codegen/vdlgen/signature.go
index 8c9e268..a41366a 100644
--- a/lib/vdl/codegen/vdlgen/signature.go
+++ b/lib/vdl/codegen/vdlgen/signature.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package vdlgen
 
 // TODO(toddw): Add tests.
diff --git a/lib/vdl/codegen/vdlgen/type.go b/lib/vdl/codegen/vdlgen/type.go
index 33e6169..94a4cfc 100644
--- a/lib/vdl/codegen/vdlgen/type.go
+++ b/lib/vdl/codegen/vdlgen/type.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package vdlgen
 
 // TODO(toddw): Add tests
diff --git a/lib/vdl/compile/builtin.go b/lib/vdl/compile/builtin.go
index 3a77603..a6711a8 100644
--- a/lib/vdl/compile/builtin.go
+++ b/lib/vdl/compile/builtin.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile
 
 import (
diff --git a/lib/vdl/compile/compile.go b/lib/vdl/compile/compile.go
index 0913c99..2ce4696 100644
--- a/lib/vdl/compile/compile.go
+++ b/lib/vdl/compile/compile.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package compile provides utilities to compile vdl files.  The Compile
 // function is the main entry point.
 package compile
diff --git a/lib/vdl/compile/compile_test.go b/lib/vdl/compile/compile_test.go
index ddc84bb..d8734fb 100644
--- a/lib/vdl/compile/compile_test.go
+++ b/lib/vdl/compile/compile_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile_test
 
 import (
diff --git a/lib/vdl/compile/const.go b/lib/vdl/compile/const.go
index 1f49c4b..bfe5bf7 100644
--- a/lib/vdl/compile/const.go
+++ b/lib/vdl/compile/const.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile
 
 import (
diff --git a/lib/vdl/compile/const_test.go b/lib/vdl/compile/const_test.go
index 1239cae..326bee1 100644
--- a/lib/vdl/compile/const_test.go
+++ b/lib/vdl/compile/const_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile_test
 
 import (
diff --git a/lib/vdl/compile/error.go b/lib/vdl/compile/error.go
index c02e612..61f82e6 100644
--- a/lib/vdl/compile/error.go
+++ b/lib/vdl/compile/error.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile
 
 import (
diff --git a/lib/vdl/compile/error_format_test.go b/lib/vdl/compile/error_format_test.go
index 28d4945..2f34b03 100644
--- a/lib/vdl/compile/error_format_test.go
+++ b/lib/vdl/compile/error_format_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile
 
 import (
diff --git a/lib/vdl/compile/error_test.go b/lib/vdl/compile/error_test.go
index ea46a5d..95a1020 100644
--- a/lib/vdl/compile/error_test.go
+++ b/lib/vdl/compile/error_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile_test
 
 import (
diff --git a/lib/vdl/compile/ident_test.go b/lib/vdl/compile/ident_test.go
index 73bc059..77f7819 100644
--- a/lib/vdl/compile/ident_test.go
+++ b/lib/vdl/compile/ident_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile_test
 
 import (
diff --git a/lib/vdl/compile/interface.go b/lib/vdl/compile/interface.go
index 1bd0651..eae574b 100644
--- a/lib/vdl/compile/interface.go
+++ b/lib/vdl/compile/interface.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile
 
 import (
diff --git a/lib/vdl/compile/interface_test.go b/lib/vdl/compile/interface_test.go
index bde66a9..4cc1d10 100644
--- a/lib/vdl/compile/interface_test.go
+++ b/lib/vdl/compile/interface_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile_test
 
 import (
diff --git a/lib/vdl/compile/reserved_words.go b/lib/vdl/compile/reserved_words.go
index df625e2..5d8f27a 100644
--- a/lib/vdl/compile/reserved_words.go
+++ b/lib/vdl/compile/reserved_words.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile
 
 import (
diff --git a/lib/vdl/compile/result.go b/lib/vdl/compile/result.go
index 9094eef..b30437e 100644
--- a/lib/vdl/compile/result.go
+++ b/lib/vdl/compile/result.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile
 
 import (
diff --git a/lib/vdl/compile/result_test.go b/lib/vdl/compile/result_test.go
index b91c064..223e9ab 100644
--- a/lib/vdl/compile/result_test.go
+++ b/lib/vdl/compile/result_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile
 
 import (
diff --git a/lib/vdl/compile/type.go b/lib/vdl/compile/type.go
index 5176e16..2f577a6 100644
--- a/lib/vdl/compile/type.go
+++ b/lib/vdl/compile/type.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile
 
 import (
diff --git a/lib/vdl/compile/type_test.go b/lib/vdl/compile/type_test.go
index 8569e4d..59396fe 100644
--- a/lib/vdl/compile/type_test.go
+++ b/lib/vdl/compile/type_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package compile_test
 
 import (
diff --git a/lib/vdl/opconst/big_complex.go b/lib/vdl/opconst/big_complex.go
index b0863e3..3d204d1 100644
--- a/lib/vdl/opconst/big_complex.go
+++ b/lib/vdl/opconst/big_complex.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package opconst
 
 import (
diff --git a/lib/vdl/opconst/const.go b/lib/vdl/opconst/const.go
index b1dda6d..fa5e04c 100644
--- a/lib/vdl/opconst/const.go
+++ b/lib/vdl/opconst/const.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package opconst provides the representation and operations for vdl constants.
 package opconst
 
diff --git a/lib/vdl/opconst/const_test.go b/lib/vdl/opconst/const_test.go
index 58329b4..9d69093 100644
--- a/lib/vdl/opconst/const_test.go
+++ b/lib/vdl/opconst/const_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package opconst
 
 import (
diff --git a/lib/vdl/opconst/op.go b/lib/vdl/opconst/op.go
index c4f65e1..bb55c41 100644
--- a/lib/vdl/opconst/op.go
+++ b/lib/vdl/opconst/op.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package opconst
 
 // UnaryOp represents a unary operation to be performed on a Const.
diff --git a/lib/vdl/opconst/testutil_test.go b/lib/vdl/opconst/testutil_test.go
index 528f0d7..e16b636 100644
--- a/lib/vdl/opconst/testutil_test.go
+++ b/lib/vdl/opconst/testutil_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package opconst
 
 // TODO(toddw): Merge with vdl/testutil_test.go.
diff --git a/lib/vdl/parse/COPYRIGHT b/lib/vdl/parse/COPYRIGHT
new file mode 100644
index 0000000..d3e8617
--- /dev/null
+++ b/lib/vdl/parse/COPYRIGHT
@@ -0,0 +1,4 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
diff --git a/lib/vdl/parse/const.go b/lib/vdl/parse/const.go
index d141e01..b15aaf6 100644
--- a/lib/vdl/parse/const.go
+++ b/lib/vdl/parse/const.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package parse
 
 import (
diff --git a/lib/vdl/parse/grammar.y.go b/lib/vdl/parse/grammar.y.go
index effcb3a..7b8585a 100644
--- a/lib/vdl/parse/grammar.y.go
+++ b/lib/vdl/parse/grammar.y.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 //line grammar.y:18
 
 // This grammar.y.go file was auto-generated by yacc from grammar.y.
diff --git a/lib/vdl/parse/grammar_gen.sh b/lib/vdl/parse/grammar_gen.sh
index e2efbbe..a67ae64 100755
--- a/lib/vdl/parse/grammar_gen.sh
+++ b/lib/vdl/parse/grammar_gen.sh
@@ -1,4 +1,7 @@
 #!/bin/bash
+# Copyright 2015 The Vanadium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
 
 # Generate the grammar.go source file, which contains the parser, by running
 # this shell script in the same directory, or by running go generate.  This also
@@ -7,8 +10,9 @@
 
 set -e
 
-go tool yacc -o grammar.y.go -v grammar.y.debug.tmp grammar.y
-gofmt -l -w grammar.y.go
+go tool yacc -o grammar.y.tmp.go -v grammar.y.debug.tmp grammar.y
+gofmt -l -w grammar.y.tmp.go
+cat - COPYRIGHT grammar.y.tmp.go > grammar.y.go
 cat - grammar.y.debug.tmp > grammar.y.debug <<EOF
 ***** PLEASE READ THIS! DO NOT DELETE THIS BLOCK! *****
 * The main reason this file has been generated and submitted is to try to ensure
@@ -24,4 +28,4 @@
 ***** PLEASE READ THIS! DO NOT DELETE THIS BLOCK! *****
 EOF
 
-rm grammar.y.debug.tmp
+rm grammar.y.debug.tmp grammar.y.tmp.go
diff --git a/lib/vdl/parse/parse.go b/lib/vdl/parse/parse.go
index ba89984..aa38c43 100644
--- a/lib/vdl/parse/parse.go
+++ b/lib/vdl/parse/parse.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package parse provides utilities to parse vdl files into a parse tree.  The
 // Parse function is the main entry point.
 package parse
diff --git a/lib/vdl/parse/parse_test.go b/lib/vdl/parse/parse_test.go
index 5ee99f5..1e6dcfa 100644
--- a/lib/vdl/parse/parse_test.go
+++ b/lib/vdl/parse/parse_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package parse_test
 
 // TODO(toddw): Add tests for imaginary literals.
diff --git a/lib/vdl/parse/result.go b/lib/vdl/parse/result.go
index 6f2fb9b..234154f 100644
--- a/lib/vdl/parse/result.go
+++ b/lib/vdl/parse/result.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package parse
 
 import (
diff --git a/lib/vdl/parse/type.go b/lib/vdl/parse/type.go
index 8c2a9e3..d72359a 100644
--- a/lib/vdl/parse/type.go
+++ b/lib/vdl/parse/type.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package parse
 
 import (
diff --git a/lib/vdl/testdata/nativetest/nativetest.go b/lib/vdl/testdata/nativetest/nativetest.go
index 9968269..594f46d 100644
--- a/lib/vdl/testdata/nativetest/nativetest.go
+++ b/lib/vdl/testdata/nativetest/nativetest.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package nativetest
 
 import (
diff --git a/lib/vdl/vdltest/vdltest.go b/lib/vdl/vdltest/vdltest.go
index 58820bb..d190b29 100644
--- a/lib/vdl/vdltest/vdltest.go
+++ b/lib/vdl/vdltest/vdltest.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package vdltest provides testing utilities for v.io/x/ref/lib/vdl/...
 package vdltest
 
diff --git a/lib/vdl/vdlutil/doc.go b/lib/vdl/vdlutil/doc.go
index 438b3f8..509458b 100644
--- a/lib/vdl/vdlutil/doc.go
+++ b/lib/vdl/vdlutil/doc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package vdlutil provides core utilities for vdl files.  It's used by the
 // auto-generated Go code, as well as the vdl parser, compiler and code
 // generators; it should have a small set of dependencies.
diff --git a/lib/vdl/vdlutil/errors.go b/lib/vdl/vdlutil/errors.go
index 5f0abb6..ceebf0a 100644
--- a/lib/vdl/vdlutil/errors.go
+++ b/lib/vdl/vdlutil/errors.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package vdlutil
 
 import (
diff --git a/lib/vdl/vdlutil/util.go b/lib/vdl/vdlutil/util.go
index 2015283..ba68205 100644
--- a/lib/vdl/vdlutil/util.go
+++ b/lib/vdl/vdlutil/util.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package vdlutil
 
 import (
diff --git a/lib/vdl/vdlutil/util_test.go b/lib/vdl/vdlutil/util_test.go
index bddb14b..0de4255 100644
--- a/lib/vdl/vdlutil/util_test.go
+++ b/lib/vdl/vdlutil/util_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package vdlutil
 
 import (
diff --git a/lib/vdl/vdlutil/vlog.go b/lib/vdl/vdlutil/vlog.go
index 06c86da..a760ca0 100644
--- a/lib/vdl/vdlutil/vlog.go
+++ b/lib/vdl/vdlutil/vlog.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package vdlutil
 
 import (