3 BIND_DIR=${.CURDIR}/../../contrib/bind
8 # This may or may not work yet. It's not compatable with the core
9 # system components since it overrides the master.passwd handling etc.
11 .PATH: ${BIND_DIR}/lib/irs
12 SRCS+= dns.c dns_gr.c dns_ho.c dns_nw.c dns_pr.c dns_pw.c \
13 dns_sv.c gai_strerror.c gen.c gen_gr.c gen_ho.c \
14 gen_ng.c gen_nw.c gen_pr.c gen_pw.c gen_sv.c \
15 getaddrinfo.c getgrent.c getgrent_r.c gethostent.c \
16 gethostent_r.c getnameinfo.c getnetent.c getnetent_r.c \
17 getnetgrent.c getnetgrent_r.c getprotoent.c \
18 getprotoent_r.c getpwent.c getpwent_r.c getservent.c \
19 getservent_r.c hesiod.c irs_data.c \
20 irp.c irp_gr.c irp_ho.c irp_ng.c irp_nw.c \
21 irp_pr.c irp_pw.c irp_sv.c irpmarshall.c \
23 lcl_ho.c lcl_ng.c lcl_nw.c lcl_pr.c lcl_pw.c \
24 lcl_sv.c nis.c nis_gr.c nis_ho.c nis_ng.c nis_nw.c \
25 nis_pr.c nis_pw.c nis_sv.c nul_ng.c util.c
27 .PATH: ${BIND_DIR}/lib/nameser
28 SRCS+= ns_parse.c ns_print.c ns_netint.c ns_ttl.c ns_name.c \
29 ns_sign.c ns_verify.c ns_date.c ns_samedomain.c
31 .PATH: ${BIND_DIR}/lib/resolv
32 SRCS+= herror.c res_debug.c res_data.c res_comp.c res_init.c \
33 res_mkquery.c res_query.c res_send.c res_sendsigned.c \
34 res_mkupdate.c res_update.c res_findzonecut.c
37 .if defined(WANT_CYLINK) && exists(${BIND_DIR}/lib/cylink)
38 .PATH: ${BIND_DIR}/lib/cylink
39 CFLAGS+=-DCYLINK_DSS -I${BIND_DIR}/lib/cylink
40 SRCS+= bn.c bn00.c lbn00.c lbnmem.c legal.c \
41 bits.c dss.c math.c ctk_prime.c rand.c sha.c swap.c
44 .if defined(WANT_DNSSAFE) && exists(${BIND_DIR}/lib/dnssafe)
45 .PATH: ${BIND_DIR}/lib/dnssafe
46 CFLAGS+=-DDNSSAFE -I${BIND_DIR}/lib/dnssafe
47 SRCS+= bgclrbit.c bgmdmpyx.c bgmdsqx.c bgmodexp.c \
48 bgpegcd.c big2exp.c bigabs.c bigacc.c bigarith.c \
49 bigcmp.c bigconst.c biginv.c biglen.c bigmodx.c \
50 bigmpy.c bigpdiv.c bigpmpy.c bigpmpyh.c bigpmpyl.c \
51 bigpsq.c bigqrx.c bigsmod.c bigtocan.c bigu.c \
52 bigunexp.c cantobig.c crt2.c \
53 digrand.c intbits.c md5.c md5rand.c prime.c \
54 rsa.c rsakeygn.c seccbcd.c seccbce.c surrendr.c \
55 ahchdig.c ahchencr.c ahchgen.c ahchrand.c ahdigest.c \
56 ahencryp.c ahgen.c ahrandom.c ahrsaenc.c ahrsaepr.c \
57 ahrsaepu.c aichdig.c aichenc8.c aichencn.c aichencr.c \
58 aichgen.c aichrand.c aimd5.c \
59 aimd5ran.c ainfotyp.c ainull.c airsaepr.c airsaepu.c \
60 airsakgn.c airsaprv.c airsapub.c algchoic.c algobj.c \
61 amcrte.c ammd5.c ammd5r.c \
62 amrkg.c amrsae.c balg.c binfocsh.c bkey.c bmempool.c \
63 digest.c encrypt.c generate.c intitem.c \
64 keyobj.c ki8byte.c kiitem.c kinfotyp.c \
65 kifulprv.c kipkcrpr.c kirsacrt.c kirsapub.c random.c
68 .PATH: ${BIND_DIR}/lib/dst
69 CFLAGS+=-DHMAC_MD5 -DUSE_MD5
70 SRCS+= dst_api.c prandom.c rsaref_link.c support.c bsafe_link.c \
71 cylink_link.c hmac_link.c md5_dgst.c eay_dss_link.c
73 .PATH: ${BIND_DIR}/lib/isc
74 SRCS+= tree.c bitncmp.c assertions.c \
75 memcluster.c logging.c heap.c \
76 ctl_p.c ctl_srvr.c ctl_clnt.c \
77 eventlib.c ev_connects.c ev_files.c \
78 ev_timers.c ev_streams.c ev_waits.c
85 # XXX contrib/bind/include/* must not override any real system includes
86 CFLAGS:= -I${BIND_DIR}/port/freebsd/include -I${BIND_DIR}/include ${CFLAGS}