xref: /netbsd-src/external/bsd/unbound/lib/libunbound/Makefile (revision 9fb66d812c00ebfb445c0b47dea128f32aa6fe96)
1# $NetBSD: Makefile,v 1.7 2021/03/15 20:15:36 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 \
71random.c \
72rbtree.c \
73regional.c \
74respip.c \
75rpz.c \
76rrdef.c \
77rrset.c \
78rtt.c \
79sbuffer.c \
80slabhash.c \
81str2wire.c \
82tcp_conn_limit.c \
83timehist.c \
84tube.c \
85ub_event_pluggable.c \
86val_anchor.c \
87val_kcache.c \
88val_kentry.c \
89val_neg.c \
90val_nsec.c \
91val_nsec3.c \
92val_secalgo.c \
93val_sigcrypt.c \
94val_utils.c \
95validator.c \
96view.c \
97winsock_event.c \
98wire2str.c
99
100LIBDPLIBS+= ${DPLIBS}
101
102INCS=unbound.h
103INCSDIR=/usr/include
104
105MAN=libunbound.3
106CLEANFILES+=libunbound.3
107
108libunbound.3: libunbound.3.in __subst
109
110.include <bsd.lib.mk>
111
112# Use the generated files
113.y.c:
114