Commit Graph

63 Commits

Author SHA1 Message Date
Steffen Jaeckel
4c2bb90dec Merge pull request #382 from ararslan/aa/freebsd
Make the build logic more robust for BSD systems
(cherry picked from commit 5ab8dcf04d13494c17e503d121efc79748d5f401)
2018-05-31 14:18:13 +02:00
Steffen Jaeckel
60df7d360a Fix 'fixme check'
The error produced by `make zipup` - but ignored by make - was:

```
...
fixme check
makefile_include.mk:448: recipe for target 'zipup' failed
make: [zipup] Error 123 (ignored)
mkdir -p libtomcrypt-...
```
2018-01-22 11:01:34 +01:00
Steffen Jaeckel
c7ff3bb86e Bump revision 2018-01-22 10:45:28 +01:00
Steffen Jaeckel
4800543664 add -p switch to install commands in GNU makefiles
This fixes #340

[skip ci]

(cherry picked from commit fc6eb3ecf07e1cceb5ce85907db8191877704570)
2018-01-22 10:05:03 +01:00
Steffen Jaeckel
c7bdb247bf Update makefiles 2017-12-05 18:40:57 +01:00
Steffen Jaeckel
ce93eaa577 add fixme-check to zipup make-target
(cherry picked from commit 6c83a2f36365a44a739bb6f8d932b7c6f6a411e0)
2017-12-05 18:39:46 +01:00
Steffen Jaeckel
c165f3a23a Update makefiles 2017-10-10 15:48:35 +02:00
Steffen Jaeckel
233ef83530 suppress some warnings when compiling with mingw-gcc
[skip ci]
2017-10-10 14:29:34 +02:00
Karel Miko
2041f9528e update makefiles 2017-10-07 11:35:27 +02:00
Steffen Jaeckel
adcd6ee9fd only try to print the version from git if there's git installed 2017-10-03 19:54:27 +02:00
Steffen Jaeckel
062fc3ffe3 print info when doing a debug build 2017-10-01 22:56:46 +02:00
Steffen Jaeckel
9ff889b330 Update makefiles 2017-09-27 21:37:23 +02:00
Steffen Jaeckel
5049463774 bump the libtool version
yeah, helper.pl doesn't update it anymore automagically...
we'll probably find a new way to do that in the future...
or we keep on updating it manually...

This fixes #300
2017-09-27 21:19:33 +02:00
Steffen Jaeckel
f868a16a44 Update makefiles 2017-09-25 16:56:59 +02:00
Karel Miko
b2813480bf LTC_CFLAGS += -Wwrite-strings 2017-09-18 12:35:03 +02:00
Steffen Jaeckel
2dd446dbdb clang and -Wno-missing-field-initializers 2017-09-14 17:11:06 +02:00
Steffen Jaeckel
a22140f94c oops, fix .common_uninstall make-target
[skip-ci]
2017-08-28 17:31:44 +02:00
Steffen Jaeckel
041b7aa5c0 Update makefiles 2017-08-23 22:35:35 +02:00
Steffen Jaeckel
bc0c18f347 Update makefiles 2017-08-02 18:55:42 +02:00
Steffen Jaeckel
1e1170df29 move timing to BROKEN_DEMOS 2017-07-17 13:36:34 +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
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