Steffen Jaeckel
4b3ef78901
TGTLIBTOOL wasn't always defined
2019-06-04 08:50:27 +02:00
orbea
ccc18b9eda
makefile.shared: Support rlibtool.
...
When building libtomcrypt with rlibtool instead of libtool it will fail
when rlibtool fails to parse the generated libtool which does not exist.
Since rlibtool should be the default choice for most slibtool users in
the future this patch will use slibtool-shared instead which will
correctly build the shared library.
This could also help build the shared library on additional targets and
hosts where the stock libtool does not have shared libraries enabled.
2018-09-06 18:19:10 +02:00
orbea
f2918866bc
makefile.shared: Respect LIBTOOL.
2018-05-19 08:36:41 -07:00
Steffen Jaeckel
fc6eb3ecf0
add -p switch to install
commands in GNU makefiles
...
This fixes #340
[skip ci]
2018-01-21 13:23:14 +01:00
Steffen Jaeckel
196f25e32f
there should be no need to pass CFLAGS when linking
2017-12-10 12:35:59 +01:00
Karel Miko
9c2c9f8af4
libtool on cygwin needs -no-undefined
2017-09-27 21:25:19 +02:00
Andrew Janke
39c721c8da
makefile.shared: protect commas in function calls through variable substitution
2017-08-31 05:51:37 -04: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
b1c0227d54
introduce LTC_CFLAGS and LTC_LDFLAGS
2017-07-11 15:33:33 +02:00
Steffen Jaeckel
dd5996dd1f
don't find the lo's to link, but use the list of objects
2017-07-10 10:20:36 +02:00
Steffen Jaeckel
221f7f223d
add 'uninstall' make target
...
[skip ci]
2017-07-10 10:16:35 +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
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
Steffen Jaeckel
fe19dad623
replace SVN tags
2017-06-20 15:16:11 +02:00
Steffen Jaeckel
8c11490e2d
fix usage of PREFIX vs. DESTDIR
...
This closes #232
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
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
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
7379c94f0a
merge .include and .common makefiles
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
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
Steffen Jaeckel
6e484cd420
use make internal macros
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
3fd1771d35
also install useful demos
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
7898864b24
use glibtool on Macs
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
Karel Miko
f767ea3dcd
update makefiles
2017-04-23 23:27:54 +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
Karel Miko
eefb8dc479
renaming prngs/chacha.c prngs/chacha20.c
2017-04-03 22:54:27 +02:00
Karel Miko
3cfb58c2f4
update makefiles
2017-04-02 18:13:45 +02:00
Karel Miko
ff6abc776c
RFC 7539 - ChaCha20 and Poly1305 + chacha based PRNG
2017-04-02 18:13:45 +02:00
Steffen Jaeckel
59b4026fa7
Update makefiles
2017-03-30 22:29:02 +02:00
Steffen Jaeckel
ac7915ed13
Update makefiles
2017-03-30 18:46:05 +02:00