mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Update to libtomcrypt 1.18.1, merged with Dropbear changes
This commit is contained in:
23
libtomcrypt/updatemakes.sh
Normal file → Executable file
23
libtomcrypt/updatemakes.sh
Normal file → Executable 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
|
||||
|
||||
Reference in New Issue
Block a user