Commit Graph

157 Commits

Author SHA1 Message Date
Steffen Jaeckel
8d22018065 don't produce any console-output on make V=0 2019-10-11 14:32:22 +02:00
Steffen Jaeckel
6f3a7c9e3e improve GNU Makefiles a bit
* unignore type-limits warning
* add the possibility to do `make V=0 >/dev/null` and still get the
  CFLAGS and LDFLAGS that are used while compilation
2019-09-30 09:59:59 +02:00
Steffen Jaeckel
5f7feeab59 fix build
* LDFLAGS were missing when building the demo's
* change how CFLAGS and EXTRALIBS are passed
* also use EXTRALIBS when running testbuild.sh
2019-04-10 11:26:32 +02:00
Steffen Jaeckel
5546e85218 introduce LTC_EXTRALIBS
it's used for libraries added in the makefile
2017-12-10 12:35:59 +01:00
Steffen Jaeckel
196f25e32f there should be no need to pass CFLAGS when linking 2017-12-10 12:35:59 +01:00
Andrew Janke
cfce691a50 initialize ltc_mp to force allocation under all compilers, including clang on macOS 2017-09-14 17:07:49 +02:00
Steffen Jaeckel
ab8c5b8b49 fix help of {un,}install targets 2017-07-20 12:58:28 +02:00
Steffen Jaeckel
24c5b74193 introduce 'make help' 2017-07-17 13:36:34 +02:00
Steffen Jaeckel
bffaab4eed re-group demos and really build everything in 'all' target 2017-07-17 13:36:34 +02:00
Steffen Jaeckel
0e081d666a improve error message when using makefile on Mac OSX
[skip ci]
2017-07-17 13:36:34 +02:00
Steffen Jaeckel
b1c0227d54 introduce LTC_CFLAGS and LTC_LDFLAGS 2017-07-11 15:33:33 +02:00
Steffen Jaeckel
221f7f223d add 'uninstall' make target
[skip ci]
2017-07-10 10:16:35 +02:00
Steffen Jaeckel
7597d20c78 use CROSS_COMPILE instead of PREFIX to indicate toolchain prefix 2017-06-20 15:16:11 +02:00
Steffen Jaeckel
3995f971d7 make sure to use makefile.shared on Mac 2017-06-15 00:46:50 +02:00
Steffen Jaeckel
fe0b72ef51 remove dependency of demos to tests/common 2017-06-08 22:20:45 +02:00
Steffen Jaeckel
e1a1145802 rename 'testprof/' to 'tests/' 2017-06-08 22:20:45 +02:00
Steffen Jaeckel
07ffa0f1a2 remove tomcrypt_prof test-only library 2017-06-08 22:20:45 +02:00
Steffen Jaeckel
201681ee3b merge testprof/timing_test.c into demos/timing.c 2017-06-08 22:20:45 +02:00
Steffen Jaeckel
eaf20dda5b demos must now link against testprof/common.o 2017-06-08 22:20:44 +02:00
Steffen Jaeckel
56283c947a improve coverage creation 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
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
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
Steffen Jaeckel
12cf50d4e2 move translation rule after modifications of CFLAGS 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
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
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
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
bf45ea66e5 drop the need for testprof/makefile* 2017-05-11 23:04:37 +02:00
Steffen Jaeckel
d21d01bcb5 consolidate makefiles a bit 2017-05-11 23:04:37 +02:00
Karel Miko
28835a513f update makefiles 2017-04-28 19:24:58 +02:00
Steffen Jaeckel
57c703b14c update doc process a bit
* remove crypt.pdf from repo
* ignore generated PDF's
* make refman.pdf generation silent
2017-04-25 21:23:25 +02:00
Steffen Jaeckel
8e03799eb6 fix/improve doxygen generation 2017-04-25 21:23:25 +02:00
Steffen Jaeckel
434280587a also apply the verbosity settings to the doc generation 2017-04-25 21:23:25 +02:00
Karel Miko
3ea8a00ecd new multi_test 2017-04-23 23:29:10 +02:00
Karel Miko
f767ea3dcd update makefiles 2017-04-23 23:27:54 +02:00
Steffen Jaeckel
290926fe8a include CFLAGS when building demos 2017-04-21 19:45:59 +02:00
Kelvin Sherlock
b412ab539a update makefiles for blake2b. 2017-04-08 15:44:30 -04:00
Kelvin Sherlock
b0e9a23e31 makefile updates. 2017-04-07 23:47:16 -04:00