kernel/icu: Fix a typo.
[dragonfly.git] / lib / librecrypto / Makefile.inc
blob563696eeb6849f80fc12856bd282477ff09f0f0c
1 .if exists (${.CURDIR}/../../Makefile.inc1)
2 LIBRESSL_SRC=   ${.CURDIR}/../../crypto/libressl
3 .elif exists (${.CURDIR}/../../../Makefile.inc1)
4 LIBRESSL_SRC=   ${.CURDIR}/../../../crypto/libressl
5 .else
6 .error "Cannot find base directory"
7 .endif
8 LCRYPTO_SRC=    ${LIBRESSL_SRC}/crypto
9 LSSL_SRC=       ${LIBRESSL_SRC}/ssl
11 CFLAGS+=        -I${LCRYPTO_SRC} -I${LSSL_SRC} -I${.OBJDIR}
12 CFLAGS+=        -I${LIBRESSL_SRC}/include -I${LIBRESSL_SRC}/include/compat
13 CFLAGS+=        -DSTDC_HEADERS=1 \
14                 -DHAVE_SYS_TYPES_H=1 \
15                 -DHAVE_SYS_STAT_H=1 \
16                 -DHAVE_STDLIB_H=1 \
17                 -DHAVE_STRING_H=1 \
18                 -DHAVE_MEMORY_H=1 \
19                 -DHAVE_STRINGS_H=1 \
20                 -DHAVE_INTTYPES_H=1 \
21                 -DHAVE_STDINT_H=1 \
22                 -DHAVE_UNISTD_H=1 \
23                 -DHAVE_DLFCN_H=1 \
24                 -DHAVE_SYMLINK=1 \
25                 -DHAVE_ERR_H=1 \
26                 -DHAVE_READPASSPHRASE_H=1 \
27                 -DHAVE_ASPRINTF=1 \
28                 -DHAVE_INET_PTON=1 \
29                 -DHAVE_MEMMEM=1 \
30                 -DHAVE_READPASSPHRASE=1 \
31                 -DHAVE_STRLCAT=1 \
32                 -DHAVE_STRLCPY=1 \
33                 -DHAVE_STRCASECMP=1 \
34                 -DHAVE_STRNDUP=1 \
35                 -DHAVE_STRNLEN=1 \
36                 -DHAVE_STRSEP=1 \
37                 -DHAVE_STRTONUM=1 \
38                 -DHAVE_TIMEGM=1 \
39                 -DHAVE_ACCEPT4=1 \
40                 -DHAVE_POLL=1 \
41                 -DHAVE_ARC4RANDOM=1 \
42                 -DHAVE_ARC4RANDOM_BUF=1 \
43                 -DHAVE_ARC4RANDOM_UNIFORM=1 \
44                 -DHAVE_VA_COPY=1 \
45                 -DHAVE___VA_COPY=1 \
46                 -DHAS_GNU_WARNING_LONG=1 \
47                 -DSIZEOF_TIME_T=8
48 CFLAGS+=        -DLIBRESSL_INTERNAL -DOPENSSL_NO_HW_PADLOCK
50 .if defined(LIB)
51 _docs=  ${LIB}
52 _skip=  SSLeay_version des_modes
53 _sec=   3
54 .else
55 _docs=  apps
56 _skip=  config
57 _sec=   1
58 .endif