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