Commit Graph

1133 Commits

Author SHA1 Message Date
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
Karel Miko
31cf796011 updated makefile.unix should work fine with Intel C compiler, so no need to keep an extra clone - makefile.icc 2017-05-11 23:04:37 +02:00
Karel Miko
9a3db508bb typo in "git commit: .." 2017-05-11 23:04:37 +02:00
Karel Miko
5c2bea093a zipup target facelift 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
3fd1771d35 also install useful demos 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
90daad0764 add new make-target 'bins'
so you can easily build the useful demos
2017-05-11 23:04:37 +02:00
Steffen Jaeckel
85dc39483f rename crypt to ltcrypt
a binary called crypt already exists and creates a name-clash as we won't
implement the entire CLI even if this tool implements similar functionality
2017-05-11 23:04:37 +02:00
Karel Miko
f544418d56 re-work makefile.mingw in the same style as makefile.unix 2017-05-11 23:04:37 +02:00
Karel Miko
c225f22a23 remove building dynamic libs from makefile.unix 2017-05-11 23:04:37 +02:00
Karel Miko
ceb7332631 typo 2017-05-11 23:04:37 +02:00
Karel Miko
3540eedb4a HP-UX make does not like ?= and $< 2017-05-11 23:04:37 +02:00
Karel Miko
bb4a051e40 makefile.unix facelift 2017-05-11 23:04:37 +02:00