comparison libtommath/updatemakes.sh @ 1655:f52919ffd3b1

update ltm to 1.1.0 and enable FIPS 186.4 compliant key-generation (#79) * make key-generation compliant to FIPS 186.4 * fix includes in tommath_class.h * update fuzzcorpus instead of error-out * fixup fuzzing make-targets * update Makefile.in * apply necessary patches to ltm sources * clean-up not required ltm files * update to vanilla ltm 1.1.0 this already only contains the required files * remove set/get double
author Steffen Jaeckel <s_jaeckel@gmx.de>
date Mon, 16 Sep 2019 15:50:38 +0200
parents 8bba51a55704
children
comparison
equal deleted inserted replaced
1654:cc0fc5131c5c 1655:f52919ffd3b1
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.shared makefile_include.mk makefile.msvc makefile.unix makefile.mingw)
6 sed -e 's/ *$//' < tmp.delme > makefile 6 vcproj=(libtommath_VS2008.vcproj)
7 rm -f tmp.delme
8 7
9 perl filter.pl makefile.icc tmplist 8 if [ $# -eq 1 ] && [ "$1" == "-c" ]; then
10 sed -e 's/ *$//' < tmp.delme > makefile.icc 9 git add ${makefiles[@]} ${vcproj[@]} && git commit -m 'Update makefiles'
11 rm -f tmp.delme 10 fi
12 11
13 perl filter.pl makefile.shared tmplist 12 exit 0
14 sed -e 's/ *$//' < tmp.delme > makefile.shared
15 rm -f tmp.delme
16 13
17 perl filter.pl makefile.cygwin_dll tmplist 14 # ref: HEAD -> master, tag: v1.1.0
18 sed -e 's/ *$//' < tmp.delme > makefile.cygwin_dll 15 # git commit: 08549ad6bc8b0cede0b357a9c341c5c6473a9c55
19 rm -f tmp.delme 16 # commit time: 2019-01-28 20:32:32 +0100
20
21 perl filter.pl makefile.bcc tmplist
22 sed -e 's/\.o /.obj /g' -e 's/ *$//' < tmp.delme > makefile.bcc
23 rm -f tmp.delme
24
25 perl filter.pl makefile.msvc tmplist
26 sed -e 's/\.o /.obj /g' -e 's/ *$//' < tmp.delme > makefile.msvc
27 rm -f tmp.delme
28
29 rm -f tmplist
30
31 # ref: $Format:%D$
32 # git commit: $Format:%H$
33 # commit time: $Format:%ai$