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