blob: b4ca91bd049b9a31a0582a73eeb8da9c2c2c0364 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
VERSION = 1.1
PREFIX = /usr/local
EXECPREFIX = $(PREFIX)
MANPREFIX = $(PREFIX)/share/man
CC = cc
AR = ar
RANLIB = ranlib
# Unless /dev/urandom exists and is a non-blocking random number generator,
# you have to add -DFAST_RANDOM_PATHNAME=... to CPPFLAGS, and
# unless /dev/random exists and is a blocking secure random number generator
# you have to add -DSECURE_RANDOM_PATHNAME=... to CPPFLAGS.
# Remove -DGOOD_RAND if the higher bits have higher entropy in the lower
# bits in rand(3), this was historically the case.
# Add -DUNSAFE if you rather libzahl did not check for errors.
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -DGOOD_RAND
CFLAGS = -std=c99 -flto -O3 -Wall -pedantic
LDFLAGS = -s
|