summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/updatemakes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libtomcrypt/updatemakes.sh')
-rw-r--r--libtomcrypt/updatemakes.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/libtomcrypt/updatemakes.sh b/libtomcrypt/updatemakes.sh
new file mode 100644
index 0000000..9b6cbde
--- /dev/null
+++ b/libtomcrypt/updatemakes.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+bash genlist.sh > tmplist
+
+perl filter.pl makefile tmplist
+mv -f tmp.delme makefile
+
+perl filter.pl makefile.icc tmplist
+mv -f tmp.delme makefile.icc
+
+perl filter.pl makefile.shared tmplist
+mv -f tmp.delme makefile.shared
+
+perl filter.pl makefile.unix tmplist
+mv -f tmp.delme makefile.unix
+
+perl filter.pl makefile.msvc tmplist
+sed -e 's/\.o /.obj /g' < tmp.delme > makefile.msvc
+
+rm -f tmplist
+rm -f tmp.delme