Commit cb8f2128a19ab04bf34e82a00841e1bff6dda88c

Steffen Jaeckel 2022-02-21T11:18:52

add SPDX identifiers Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3efd953..d74e866 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Unlicense
 #
 # LibTomMath, a free open source portable number theoretic multiple-precision
 # integer (MPI) library written entirely in C.
diff --git a/helper.pl b/helper.pl
index ac87556..3701799 100755
--- a/helper.pl
+++ b/helper.pl
@@ -223,7 +223,10 @@ sub patch_file {
 
 sub make_sources_cmake {
   my @list = @_;
-  my $output = "set(SOURCES\n";
+  my $output = "# SPDX-License-Identifier: Unlicense
+# Autogenerated File! Do not edit.
+
+set(SOURCES\n";
   foreach my $obj (sort @list) {
     $output .= $obj . "\n";
   }
diff --git a/sources.cmake b/sources.cmake
index 7f395c9..2bc8911 100644
--- a/sources.cmake
+++ b/sources.cmake
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: Unlicense
+# Autogenerated File! Do not edit.
+
 set(SOURCES
 mp_2expt.c
 mp_abs.c