xref: /netbsd-src/external/bsd/unbound/lib/libunbound/Makefile (revision c38e7cc395b1472a774ff828e46123de44c628e9)
1# $NetBSD: Makefile,v 1.3 2018/02/06 03:05:48 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 \
36fptr_wlist.c \
37infra.c \
38iter_delegpt.c \
39iter_donotq.c \
40iter_fwd.c \
41iter_hints.c \
42iter_priv.c \
43iter_resptype.c \
44iter_scrub.c \
45iter_utils.c \
46iterator.c \
47keyraw.c \
48libunbound.c \
49libworker.c \
50listen_dnsport.c \
51localzone.c \
52locks.c \
53log.c \
54lookup3.c \
55lruhash.c \
56mesh.c \
57mini_event.c \
58modstack.c \
59module.c \
60msgencode.c \
61msgparse.c \
62msgreply.c \
63net_help.c \
64netevent.c \
65outbound_list.c \
66outside_network.c \
67packed_rrset.c \
68parse.c \
69parseutil.c \
70random.c \
71rbtree.c \
72regional.c \
73respip.c \
74rrdef.c \
75rrset.c \
76rtt.c \
77sbuffer.c \
78slabhash.c \
79str2wire.c \
80timehist.c \
81tube.c \
82ub_event_pluggable.c \
83val_anchor.c \
84val_kcache.c \
85val_kentry.c \
86val_neg.c \
87val_nsec.c \
88val_nsec3.c \
89val_secalgo.c \
90val_sigcrypt.c \
91val_utils.c \
92validator.c \
93view.c \
94winsock_event.c \
95wire2str.c
96
97LIBDPLIBS+= ${DPLIBS}
98
99INCS=unbound.h
100INCSDIR=/usr/include
101
102MAN=libunbound.3
103CLEANFILES+=libunbound.3
104
105libunbound.3: libunbound.3.in __subst
106
107.include <bsd.lib.mk>
108
109# Use the generated files
110.y.c:
111