Commit Graph

43 Commits

Author SHA1 Message Date
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
aa0f396c0c Update makefiles 2017-07-13 14:58:01 +02:00
Steffen Jaeckel
a2f48578e9 also pre-pend -Itests 2017-07-12 22:48:46 +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
3806629e9e fix default make target 2017-07-09 17:34:45 +02:00
Steffen Jaeckel
e53858c740 update VERSION variables in makefiles
VERSION is now VERSION_PC
the new VERSION contains the entire string of SCRYPT
2017-07-05 14:30:17 +02:00
Steffen Jaeckel
a8965f048a Update makefiles 2017-07-05 14:30:17 +02:00
Steffen Jaeckel
8167b4d1cc Update makefiles 2017-07-04 10:30:50 +02:00
Steffen Jaeckel
1cce065676 Update makefiles 2017-06-28 14:44:17 +02:00
Steffen Jaeckel
37ce78fdc8 Update makefiles 2017-06-27 22:10:10 +02:00
Steffen Jaeckel
f226efc9a9 Update makefiles 2017-06-27 22:00:13 +02:00
Karel Miko
b3e535f933 update makefiles 2017-06-27 20:11:52 +02:00
Steffen Jaeckel
a42f467ff1 Update makefiles 2017-06-27 20:05:36 +02:00
Steffen Jaeckel
e68d846429 hopefully finally fix usage of $(DESTDIR)
This closes #232
2017-06-23 14:05:57 +02:00
Steffen Jaeckel
09c4d4c93b proper use of $(DESTDIR)
@rofl0r @ [1]

"...still it's unusual/unexpected to embed DESTDIR in LIBPATH
etc. where this could hickup is when for example hardcoded paths need
to be embedded into the resulting binary. for example, in the
netbsd-curses makefile i linked earlier, such a case would be reference
to the terminfo DB location, which is derived from PREFIX.
other possible cases might be stuff that dlopen()s its own libs using an
absolute path, or uses other data files. for such a case a contributor
would typically re-use DATAPATH oslt and put it into CPPFLAGS or write
it into a header, to find the required files. when now these paths have
DESTDIR in them too, this will not work. thus it is good practice to use
$(DESTDIR) only in install targets, and keep it out of other vars."


[1] 8e29a6061f (commitcomment-22678488)

This closes #232
2017-06-22 14:21:14 +02:00
Karel Miko
a0257df999 update makefiles 2017-06-22 13:19:47 +02:00
Karel Miko
f9802359c9 update makefiles 2017-06-22 13:19:47 +02:00
Steffen Jaeckel
8c11490e2d fix usage of PREFIX vs. DESTDIR
This closes #232
2017-06-20 15:16:11 +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
b16066cbfc Add possibility to change install options
This closes #231
2017-06-20 15:16:11 +02:00
Steffen Jaeckel
a0e5c2e4ff add some makefile docs 2017-06-15 00:46:50 +02:00
Steffen Jaeckel
3995f971d7 make sure to use makefile.shared on Mac 2017-06-15 00:46:50 +02:00
Steffen Jaeckel
048cbc55b0 disable yet another warning 2017-06-15 00:46:50 +02:00
Steffen Jaeckel
5de7e58e84 disable yet another clang warning 2017-06-12 17:19:43 +02:00
Steffen Jaeckel
73934ad2fd add ld option -pthread when LTC_PTHREAD is enabled 2017-06-12 17:19:43 +02:00
Karel Miko
2d8816607b update makefiles 2017-06-08 23:34:16 +02:00
Steffen Jaeckel
f47a71bc6c Update makefiles 2017-06-08 22:20:45 +02:00
Steffen Jaeckel
e45e02d635 Update makefiles 2017-06-08 22:20:45 +02:00
Steffen Jaeckel
40747cfcfd add a build-run with debugging-options 2017-06-08 22:20:45 +02:00
Steffen Jaeckel
b83f9472c0 Update makefiles 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
70a27a852e Update makefiles 2017-06-08 22:20:45 +02:00
Steffen Jaeckel
3f66f7df83 Update makefiles 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
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
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