Update to libtomcrypt 1.18.1, merged with Dropbear changes

This commit is contained in:
Matt Johnston
2018-02-09 21:44:05 +08:00
parent d72f50ff32
commit 4f2eb1914b
516 changed files with 87083 additions and 11842 deletions

23
libtomcrypt/updatemakes.sh Normal file → Executable file
View File

@@ -1,21 +1,12 @@
#!/bin/bash
bash genlist.sh > tmplist
./helper.pl --update-makefiles || exit 1
perl filter.pl makefile tmplist
mv -f tmp.delme makefile
makefiles=(makefile makefile_include.mk makefile.shared makefile.unix makefile.mingw makefile.msvc)
vcproj=(libtomcrypt_VS2008.vcproj)
perl filter.pl makefile.icc tmplist
mv -f tmp.delme makefile.icc
if [ $# -eq 1 ] && [ "$1" == "-c" ]; then
git add ${makefiles[@]} ${vcproj[@]} doc/Doxyfile && git commit -m 'Update makefiles'
fi
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
exit 0