Fix a few mdoc issues.
[dragonfly.git] / lib / libldns / Makefile
blobebce4fd8e448c8c9db808f5e6ec7a0eee2ff48aa
1 # $FreeBSD: src/lib/libexpat/Makefile,v 1.9 2010/01/02 09:58:07 ed Exp $
3 LDNS= ${.CURDIR}/../../contrib/ldns
5 LIB= private_ldns
6 SHLIB_MAJOR= 1
7 PRIVATELIB=
9 NO_STRICT_ALIASING=
11 SRCS = rdata.c util.c rr.c packet.c wire2host.c \
12 host2str.c buffer.c str2host.c tsig.c resolver.c \
13 net.c host2wire.c dname.c dnssec.c dnssec_verify.c \
14 keys.c higher.c rr_functions.c parse.c update.c \
15 error.c zone.c dnssec_zone.c dnssec_sign.c rbtree.c \
16 sha1.c sha2.c
18 SRCS+= b32_ntop.c b32_pton.c b64_ntop.c b64_pton.c
20 INCSDIR= ${INCLUDEDIR}/ldns
21 INCS= common.h ldns.h net.h util.h
22 INCS+= buffer.h \
23 dane.h \
24 dname.h \
25 dnssec.h \
26 dnssec_sign.h \
27 dnssec_verify.h \
28 dnssec_zone.h \
29 duration.h \
30 error.h \
31 higher.h \
32 host2str.h \
33 host2wire.h \
34 keys.h \
35 packet.h\
36 parse.h \
37 rbtree.h \
38 rdata.h \
39 resolver.h \
40 rr.h \
41 rr_functions.h \
42 sha1.h \
43 sha2.h \
44 str2host.h \
45 tsig.h \
46 update.h \
47 wire2host.h \
48 zone.h
50 .PATH: ${LDNS} ${LDNS}/compat ${LDNS}/ldns ${.CURDIR}/ldns
52 CFLAGS+= -I${.CURDIR} -I${LDNS}
53 CFLAGS+= -I${.CURDIR}/../../crypto/libressl/include
55 WARNS?= 2
57 .include <bsd.lib.mk>