summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--README16
-rw-r--r--etc/arm_header4
-rw-r--r--etc/mips_header4
-rw-r--r--src/LICENCE37
5 files changed, 60 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 038249f6..58400032 100644
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,11 @@
all: sail interpreter
apply_header:
+ $(MAKE) clean
headache -c etc/headache_config -h etc/mips_header `ls mips/*.sail`
headache -c etc/headache_config -h etc/mips_header `ls cheri/*.sail`
+ headache -c etc/headache_config -h src/LICENCE `ls src/*.{ml,mli,nll,mly}`
+ headache -c etc/headache_config -h src/LICENCE `ls src/lem_interp*.{ml,mli,lem}`
$(MAKE) -C arm apply_header
sail:
diff --git a/README b/README
index 8f649a81..9c968b28 100644
--- a/README
+++ b/README
@@ -168,6 +168,22 @@ The resulting output of these commands may well be untype checkable OCaml
******************************************************************************
+LICENCES
+
+The Sail implementation, in src/, is distributed under the 2-clause
+BSD licence in the headers of those files and in src/LICENCE, with the
+exception of the library src/pprint, which is distributed under the
+CeCILL-C free software licence in src/pprint/LICENSE.
+
+The ARMv8 model, in arm/, is distributed under the 2-clause BSD
+licence in the headers of those files.
+
+The MIPS and CHERI models, in mips/ and cheri/, are distributed under
+the 2-clause BSD licence in the headers of those files.
+
+
+
+******************************************************************************
DIRECTORY STRUCTURE
Sail sources and binaries are to be found in the directories of
diff --git a/etc/arm_header b/etc/arm_header
index 566020aa..28639935 100644
--- a/etc/arm_header
+++ b/etc/arm_header
@@ -1,6 +1,6 @@
-Copyright (c) 2015-2016 Shaked Flur
-Copyright (c) 2015-2016 Kathyrn Gray
+Copyright (c) 2015-2017 Shaked Flur
+Copyright (c) 2015-2017 Kathyrn Gray
All rights reserved.
This software was developed by the University of Cambridge Computer
diff --git a/etc/mips_header b/etc/mips_header
index baf682e8..4a99ad2e 100644
--- a/etc/mips_header
+++ b/etc/mips_header
@@ -1,6 +1,6 @@
-Copyright (c) 2015-2016 Robert M. Norton
-Copyright (c) 2015-2016 Kathyrn Gray
+Copyright (c) 2015-2017 Robert M. Norton
+Copyright (c) 2015-2017 Kathyrn Gray
All rights reserved.
This software was developed by the University of Cambridge Computer
diff --git a/src/LICENCE b/src/LICENCE
new file mode 100644
index 00000000..743c9719
--- /dev/null
+++ b/src/LICENCE
@@ -0,0 +1,37 @@
+ Sail
+
+Copyright (c) 2013-2017
+ Kathyrn Gray
+ Gabriel Kerneis
+ Robert Norton-Wright
+ Christopher Pulte
+ Peter Sewell
+
+All rights reserved.
+
+This software was developed by the University of Cambridge Computer
+Laboratory as part of the Rigorous Engineering of Mainstream Systems
+(REMS) project, funded by EPSRC grant EP/K008528/1.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS''
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.