Commit Graph

1244 Commits

Author SHA1 Message Date
Steffen Jaeckel
1c4c84e7f9 fix tv_gen 2017-06-08 22:20:44 +02:00
Steffen Jaeckel
3f66f7df83 Update makefiles 2017-06-08 22:20:44 +02:00
Steffen Jaeckel
eaf20dda5b demos must now link against testprof/common.o 2017-06-08 22:20:44 +02:00
Steffen Jaeckel
9b8fff6260 add testprof/common.c
so we can remove all the duplicate registration implementations
...and we can put some other shared stuff in there as well
2017-06-08 22:20:44 +02:00
Steffen Jaeckel
db5438ca55 don't build openssl-enc for tests 2017-06-08 22:19:48 +02:00
Steffen Jaeckel
08a461b39c also build openssl-enc 2017-06-08 21:32:10 +02:00
Steffen Jaeckel
4929860641 fix file modes 2017-05-31 01:57:40 +02:00
Steffen Jaeckel
1de3f2a1f6 correctly NOP
there's still mac_test() which doesn't NOP correctly but who cares anyway?
2017-05-30 11:20:18 +02:00
Steffen Jaeckel
f1118b4647 Merge pull request #222 from bmwiedemann/develop
sort input files
2017-05-29 18:18:57 +02:00
Bernhard M. Wiedemann
704055810f sort input files
when building packages (e.g. for openSUSE Linux)
(random) filesystem order of input files
influences ordering of functions in the output,
thus without the patch, builds (in disposable VMs) would differ.

See https://reproducible-builds.org/ for why this matters.
2017-05-29 14:58:07 +02:00
Steffen Jaeckel
04573d8100 Merge pull request #221 from ksherlock/echo-n
echo -n portability
2017-05-24 09:46:02 +02:00
Kelvin Sherlock
9913c1dcb8 AIX and OS X (and maybe BSD) sh has a built-in echo which doesn’t support the -n flag (OS X sh is actually bash but it doesn’t support -n based on compile-time flags and the POSIXLY_CORRECT environment variable).
AIX /bin/echo doesn’t support -n.

AIX echo and OS X /bin/echo support \c to prevent a trailing newline but linux echo (bash builtin and /bin/echo) don’t support it unless you also use the -e flag (which is not support by AIX /bin/echo or OS X sh or /bin/echo).

The BSD echo man page suggests using printf to avoid trailing newline, which is available on linux, OS X, and AIX.
2017-05-22 17:30:30 -04:00
Steffen Jaeckel
88eec86d1a Merge pull request #220 from ksherlock/compare_testvector
replace XMEMCMP with compare_testvector
2017-05-22 21:50:04 +02:00
Kelvin Sherlock
a8d81a7214 fix sha3 test numbers 2017-05-21 15:32:16 -04:00
Kelvin Sherlock
30f8aaad8c replace XMEMCMP with compare_testvector, other consistency cleanup in testing code. 2017-05-14 22:17:59 -04:00
Steffen Jaeckel
4efe229726 Merge pull request #208 from libtom/improve/makefiles
Re-work, improve & fix makefiles
2017-05-11 23:56:47 +02:00
Steffen Jaeckel
a12b97f84e travis doesn't seem to provide lcov... 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
90d5fe5bdb re-format .travis.yml
no sudo required to gem install
2017-05-11 23:04:37 +02:00
Steffen Jaeckel
56283c947a improve coverage creation 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
6a4978ef5e better EXTRALIBS 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
81f0297285 small fix-ups 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
7379c94f0a merge .include and .common makefiles 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
2c27aee5d4 fixup df733f79fa 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
ea67579298 further clean-up
- improve doc generation
- update version handling
  no need for VERSION_{MAJ,MIN}
2017-05-11 23:04:37 +02:00
Steffen Jaeckel
6cd8f2504b clean-up some makefiles
move shared variables between makefile and makefile.shared
  to makefile.include
2017-05-11 23:04:37 +02:00
Steffen Jaeckel
d996958133 move biggest part of install rules to makefile.common 2017-05-11 23:04:37 +02:00
Karel Miko
2b9dbb4ff7 cosmetics in makefile.unix|mingw|msvc 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
0cd9e94736 Partially revert "don't include testprof for library build"
This partially reverts commit 3a1cbcfee2a16d15167876423b6ca720458e801a.
2017-05-11 23:04:37 +02:00
Steffen Jaeckel
794a416715 fix libtomcrypt.pc installation 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
abe9116de5 introduce makefile.common 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
ee0874b50b minor improvements 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
3c5ec6b699 split-out binary installation in separate install target 2017-05-11 23:04:37 +02:00
Karel Miko
7ed5a832b0 tuning makefile.msvc+mingw 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
37fa03829c use gnu-make wildcard to get source files 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
12cf50d4e2 move translation rule after modifications of CFLAGS 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
39f12dafc4 make travis build a bit more verbose 2017-05-11 23:04:37 +02:00
Karel Miko
ab34b0bd93 or perhaps exclude .git* 2017-05-11 23:04:37 +02:00
Karel Miko
85197a485a do not exclude anything during make zipup 2017-05-11 23:04:37 +02:00
Karel Miko
add3495bfc fix perlcritics warnings in helper.pl 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
5e4415427a OSX touch has no "--reference" long-option, only "-r" 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
c93bee9575 rename perlcritic make target & also run helper.pl -a 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
b35ce0467b move documentation-related files to doc folder 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
6e484cd420 use make internal macros 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
c0abe2a5dc crypt doesn't exist anymore 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
8ee458b625 don't include testprof for library build
...well msvc still does it as I can't test it...
2017-05-11 23:04:37 +02:00
Steffen Jaeckel
1b71e23e42 fix some testprof related errors 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
544f7cc6ce ignore eclipse special files 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
ee17cc2e67 compress archive to xz 2017-05-11 23:04:37 +02:00
Karel Miko
1300c5ade5 make fixupind.pl part of helper.pl 2017-05-11 23:04:37 +02:00
Karel Miko
3176103c15 fix makefile.icc in makefile update scripts 2017-05-11 23:04:37 +02:00