Change licensing
[lttng-tools.git] / LICENSE
diff --git a/LICENSE b/LICENSE
new file mode 100644 (file)
index 0000000..1826125
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,25 @@
+LTTng Toots licensing
+David Goulet <david.goulet@polymtl.ca>
+July 18, 2011
+
+* LGPLv2.1
+
+The library part is distributed under LGPLv2.1. See lgpl-2.1.txt for details.
+This applies to:
+
+-) lttng.h
+-) liblttngctl.c
+
+LGPL-compatible source code can statically use the library header using:
+
+#define _LGPL_SOURCE
+#include <lttng/lttng.h>
+
+Dynamic-only linking with the LGPL library is used if _LGPL_SOURCE is not
+defined. It permits relinking with newer versions of the library, which is
+required by the LGPL license.
+
+* GPLv2
+
+All remaining source code is distributed under the GPLv2 license. See
+gpl-2.0.txt for details. 
This page took 0.022977 seconds and 4 git commands to generate.