5 BIND_DIR= ${.CURDIR}/../../../contrib/bind9
7 LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
8 SRCDIR= ${BIND_DIR}/lib/bind
10 # XXX These should come before -I's from config.mk.
11 CFLAGS+= -I${SRCDIR}/port/freebsd/include -I${SRCDIR}/include
14 .include "${LIB_BIND_DIR}/config.mk"
19 SRCS+= ftruncate.c gettimeofday.c \
20 mktemp.c putenv.c readv.c setenv.c \
21 setitimer.c strcasecmp.c strdup.c \
22 strerror.c strpbrk.c strtoul.c utimes.c \
26 SRCS+= dst_api.c hmac_link.c md5_dgst.c support.c
29 SRCS+= inet_addr.c inet_cidr_ntop.c inet_cidr_pton.c \
30 inet_data.c inet_lnaof.c inet_makeaddr.c \
31 inet_net_ntop.c inet_net_pton.c inet_neta.c \
32 inet_netof.c inet_network.c inet_ntoa.c \
33 inet_ntop.c inet_pton.c nsap_addr.c
36 SRCS+= gethostent_r.c getnetgrent_r.c \
37 getprotoent_r.c getservent_r.c \
38 dns.c dns_ho.c dns_nw.c dns_pr.c \
39 dns_sv.c gai_strerror.c gen.c gen_ho.c \
40 gen_ng.c gen_nw.c gen_pr.c gen_sv.c \
41 getaddrinfo.c gethostent.c getnameinfo.c \
42 getnetent.c getnetent_r.c getnetgrent.c \
43 getprotoent.c getservent.c hesiod.c \
44 irp.c irp_ho.c irp_ng.c irp_nw.c \
45 irp_pr.c irp_sv.c irpmarshall.c irs_data.c \
46 lcl.c lcl_ho.c lcl_ng.c lcl_nw.c \
47 lcl_pr.c lcl_sv.c nis.c nul_ng.c util.c
50 SRCS+= assertions.c base64.c bitncmp.c ctl_clnt.c \
51 ctl_p.c ctl_srvr.c ev_connects.c ev_files.c \
52 ev_streams.c ev_timers.c ev_waits.c \
53 eventlib.c heap.c hex.c logging.c \
54 memcluster.c movefile.c tree.c
56 .PATH: ${SRCDIR}/nameser
57 SRCS+= ns_date.c ns_name.c ns_netint.c \
58 ns_parse.c ns_print.c ns_samedomain.c \
59 ns_sign.c ns_ttl.c ns_verify.c
61 .PATH: ${SRCDIR}/resolv
62 SRCS+= herror.c mtctxres.c res_comp.c \
63 res_data.c res_debug.c res_findzonecut.c \
64 res_init.c res_mkquery.c res_mkupdate.c \
65 res_query.c res_send.c res_sendsigned.c \
68 DPADD= ${PTHREAD_DPADD}
69 LDADD= ${PTHREAD_LDADD}
71 #.if ${MK_BIND_LIBS} != "no"
72 #INCS= ${SRCDIR}/include/isc/assertions.h \
73 # ${SRCDIR}/include/isc/ctl.h \
74 # ${SRCDIR}/include/isc/dst.h \
75 # ${SRCDIR}/include/isc/eventlib.h \
76 # ${SRCDIR}/include/isc/heap.h \
77 # ${SRCDIR}/include/isc/irpmarshall.h \
78 # ${SRCDIR}/include/isc/list.h \
79 # ${SRCDIR}/include/isc/logging.h \
80 # ${SRCDIR}/include/isc/memcluster.h \
81 # ${SRCDIR}/include/isc/misc.h \
82 # ${SRCDIR}/include/isc/tree.h
84 #INCSDIR= ${INCLUDEDIR}/isc