Commit e4e2da51432c199a0a23bbfb72e5c55358821234

Steffen Jaeckel 2019-01-15T16:56:08

Merge pull request #148 from czurnieden/develop added new license and end-comment (cherry picked from commit 75bbbe5956b6f8cf93c6b41ba6ef7c3e56f9840d)

diff --git a/dep.pl b/dep.pl
old mode 100644
new mode 100755
index 4ba7ef5..f631100
--- a/dep.pl
+++ b/dep.pl
@@ -30,7 +30,6 @@ print {$class} << 'EOS';
 #   define LTM2
 #endif
 #define LTM1
-
 #if defined(LTM_ALL)
 EOS
 
@@ -59,6 +58,17 @@ EOS
       print {$out} << "EOS";
 #include "tommath_private.h"
 #ifdef $define
+/* LibTomMath, multiple-precision integer library -- Tom St Denis
+ *
+ * LibTomMath is a library that provides multiple-precision
+ * integer arithmetic as well as number theoretic functionality.
+ *
+ * The library was designed directly after the MPI library by
+ * Michael Fromberger but has been written from scratch with
+ * additional optimizations in place.
+ *
+ * SPDX-License-Identifier: Unlicense
+ */
 $line
 EOS
       $apply = 1;
@@ -71,6 +81,9 @@ EOS
    if ($apply == 1) {
       print {$out} << 'EOS';
 #endif
+/* ref:         \$Format:\%D$ */
+/* git commit:  \$Format:\%H$ */
+/* commit time: \$Format:\%ai$ */
 EOS
    }
    close $src;
@@ -81,7 +94,6 @@ EOS
 }
 print {$class} << 'EOS';
 #endif
-
 EOS
 
 # now do classes