summaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-02 02:14:04 (GMT)
committerYann Collet <cyan@fb.com>2016-11-02 02:14:04 (GMT)
commit67500142c16972e8d15f71f74adda1ce966a7a35 (patch)
tree0a5e650e62f7b9d40450b4a5127a92467e383a5c /LICENSE
parentf17302769055ad0c4b2e10e3de544f6593865e89 (diff)
downloadlz4-67500142c16972e8d15f71f74adda1ce966a7a35.zip
lz4-67500142c16972e8d15f71f74adda1ce966a7a35.tar.gz
lz4-67500142c16972e8d15f71f74adda1ce966a7a35.tar.bz2
Clarified license (#115, #244)
Diffstat (limited to 'LICENSE')
-rw-r--r--LICENSE15
1 files changed, 15 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..df1edbc
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,15 @@
+This repository uses 2 different licenses :
+- all files in the `lib` directory use a BSD 2-Clause license
+- all other files use a GPLv2 license, unless explicitly stated otherwise
+
+Relevant license is reminded at the top of each source file,
+and with the presence of COPYING or LICENSE file.
+
+This model emphasizes the fact that
+only files in the `lib` directory are designed to be included into 3rd party projects.
+
+Other files, such as those from `programs` or `examples` directory,
+are not intended to be compiled outside of their context.
+They can serve as source of inspiration,
+but they should not be copy/pasted into 3rd party projects,
+as this scenario is not supported.