comparison libtomcrypt/updatemakes.sh @ 1471:6dba84798cd5

Update to libtomcrypt 1.18.1, merged with Dropbear changes
author Matt Johnston <matt@ucc.asn.au>
date Fri, 09 Feb 2018 21:44:05 +0800
parents 0cbe8f6dbf9e
children
comparison
equal deleted inserted replaced
1470:8bba51a55704 1471:6dba84798cd5
1 #!/bin/bash 1 #!/bin/bash
2 2
3 bash genlist.sh > tmplist 3 ./helper.pl --update-makefiles || exit 1
4 4
5 perl filter.pl makefile tmplist 5 makefiles=(makefile makefile_include.mk makefile.shared makefile.unix makefile.mingw makefile.msvc)
6 mv -f tmp.delme makefile 6 vcproj=(libtomcrypt_VS2008.vcproj)
7 7
8 perl filter.pl makefile.icc tmplist 8 if [ $# -eq 1 ] && [ "$1" == "-c" ]; then
9 mv -f tmp.delme makefile.icc 9 git add ${makefiles[@]} ${vcproj[@]} doc/Doxyfile && git commit -m 'Update makefiles'
10 fi
10 11
11 perl filter.pl makefile.shared tmplist 12 exit 0
12 mv -f tmp.delme makefile.shared
13
14 perl filter.pl makefile.unix tmplist
15 mv -f tmp.delme makefile.unix
16
17 perl filter.pl makefile.msvc tmplist
18 sed -e 's/\.o /.obj /g' < tmp.delme > makefile.msvc
19
20 rm -f tmplist
21 rm -f tmp.delme