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