xref: /netbsd-src/external/bsd/unbound/lib/libunbound/Makefile (revision 14b2fa6e0fd53c02fbfc60c724004dec5d666054)
1# $NetBSD: Makefile,v 1.9 2024/02/17 18:31:19 christos Exp $
2
3.include <bsd.init.mk>
4
5.PATH: \
6${UNBOUND}/cachedb \
7${UNBOUND}/dns64 \
8${UNBOUND}/iterator \
9${UNBOUND}/libunbound \
10${UNBOUND}/respip \
11${UNBOUND}/services \
12${UNBOUND}/services/cache \
13${UNBOUND}/sldns \
14${UNBOUND}/util \
15${UNBOUND}/util/data \
16${UNBOUND}/util/storage \
17${UNBOUND}/validator
18
19CPPFLAGS+=-I${UNBOUND} -I${UNBOUND}/../include
20
21LIB=unbound
22SRCS=\
23alloc.c \
24as112.c \
25authzone.c \
26autotrust.c \
27cachedb.c \
28config_file.c \
29configlexer.c \
30configparser.c \
31context.c \
32dname.c \
33dns.c \
34dns64.c \
35dnstree.c \
36edns.c \
37fptr_wlist.c \
38infra.c \
39iter_delegpt.c \
40iter_donotq.c \
41iter_fwd.c \
42iter_hints.c \
43iter_priv.c \
44iter_resptype.c \
45iter_scrub.c \
46iter_utils.c \
47iterator.c \
48keyraw.c \
49libunbound.c \
50libworker.c \
51listen_dnsport.c \
52localzone.c \
53locks.c \
54log.c \
55lookup3.c \
56lruhash.c \
57mesh.c \
58mini_event.c \
59modstack.c \
60module.c \
61msgencode.c \
62msgparse.c \
63msgreply.c \
64net_help.c \
65netevent.c \
66outbound_list.c \
67outside_network.c \
68packed_rrset.c \
69parse.c \
70parseutil.c \
71proxy_protocol.c \
72random.c \
73rbtree.c \
74regional.c \
75respip.c \
76rfc_1982.c \
77rpz.c \
78rrdef.c \
79rrset.c \
80rtt.c \
81sbuffer.c \
82siphash.c \
83slabhash.c \
84str2wire.c \
85tcp_conn_limit.c \
86timehist.c \
87timeval_func.c \
88tube.c \
89ub_event_pluggable.c \
90val_anchor.c \
91val_kcache.c \
92val_kentry.c \
93val_neg.c \
94val_nsec.c \
95val_nsec3.c \
96val_secalgo.c \
97val_sigcrypt.c \
98val_utils.c \
99validator.c \
100view.c \
101winsock_event.c \
102wire2str.c
103
104LIBDPLIBS+= ${DPLIBS}
105
106INCS=unbound.h
107INCSDIR=/usr/include
108
109MAN=libunbound.3
110CLEANFILES+=libunbound.3
111
112libunbound.3: libunbound.3.in __subst
113
114COPTS.keyraw.c+= -Wno-error=deprecated-declarations
115COPTS.net_help.c+= -Wno-error=deprecated-declarations
116
117.include <bsd.lib.mk>
118
119# Use the generated files
120.y.c:
121