102 lines
3.6 KiB
Makefile
102 lines
3.6 KiB
Makefile
# $NetBSD: Makefile,v 1.20 2002/06/20 11:43:09 itojun Exp $
|
|
|
|
NOPIC= # defined
|
|
NOPROFILE= # defined
|
|
NOLINT= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB=bind
|
|
|
|
CPPFLAGS+= ${INCLUDE} -I${BIND_DIST_DIR}/lib/dst \
|
|
-DHMAC_MD5 -DUSE_MD5
|
|
.if 0 # ${MKCRYPTO} == "yes"
|
|
CPPFLAGS+= -I${BIND_CRYPTO_DIST_DIR}/lib/dnssafe -DDNSSAFE \
|
|
-I${BIND_CRYPTO_DIST_DIR}/lib/cylink -DCYLINK_DSS
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
.PATH: ${BIND_DIST_DIR}/lib/resolv \
|
|
${BIND_DIST_DIR}/lib/isc \
|
|
${BIND_DIST_DIR}/lib/inet \
|
|
${BIND_DIST_DIR}/lib/nameser \
|
|
${BIND_DIST_DIR}/lib/dst \
|
|
${BIND_DIST_DIR}/lib/irs \
|
|
${BIND_DIST_DIR}/lib/bsd \
|
|
${BIND_CRYPTO_DIST_DIR}/lib/cylink \
|
|
${BIND_CRYPTO_DIST_DIR}/lib/dnssafe
|
|
|
|
# ${BIND_DIST_DIR}/lib/resolv
|
|
SRCS+= herror.c res_debug.c res_data.c res_comp.c res_init.c \
|
|
res_mkquery.c res_query.c res_send.c res_sendsigned.c \
|
|
res_mkupdate.c res_update.c res_findzonecut.c
|
|
# ${BIND_DIST_DIR}/lib/isc
|
|
SRCS+= tree.c base64.c bitncmp.c assertions.c memcluster.c \
|
|
logging.c heap.c ctl_p.c ctl_srvr.c ctl_clnt.c \
|
|
eventlib.c ev_connects.c ev_files.c ev_timers.c \
|
|
ev_streams.c ev_waits.c hex.c movefile.c
|
|
# ${BIND_DIST_DIR}/lib/inet
|
|
#SRCS+= inet_addr.c
|
|
SRCS+= nsap_addr.c inet_ntop.c inet_pton.c \
|
|
inet_ntoa.c inet_neta.c inet_net_ntop.c inet_net_pton.c \
|
|
inet_cidr_ntop.c inet_cidr_pton.c \
|
|
inet_lnaof.c inet_makeaddr.c inet_netof.c inet_network.c
|
|
# ${BIND_DIST_DIR}/lib/nameser
|
|
SRCS+= ns_parse.c ns_print.c ns_netint.c ns_ttl.c ns_name.c \
|
|
ns_sign.c ns_verify.c ns_date.c ns_samedomain.c
|
|
# ${BIND_DIST_DIR}/lib/dst
|
|
SRCS+= dst_api.c prandom.c rsaref_link.c support.c bsafe_link.c \
|
|
cylink_link.c hmac_link.c eay_dss_link.c md5_dgst.c
|
|
# ${BIND_DIST_DIR}/lib/irs
|
|
SRCS+= dns.c dns_gr.c dns_ho.c dns_nw.c dns_pr.c dns_pw.c \
|
|
dns_sv.c gai_strerror.c gen.c gen_gr.c gen_ho.c \
|
|
gen_ng.c gen_nw.c gen_pr.c gen_pw.c gen_sv.c \
|
|
getaddrinfo.c getgrent.c getgrent_r.c gethostent.c \
|
|
gethostent_r.c getnameinfo.c getnetent.c getnetent_r.c \
|
|
getnetgrent.c getnetgrent_r.c getprotoent.c \
|
|
getprotoent_r.c getpwent.c getpwent_r.c getservent.c \
|
|
getservent_r.c hesiod.c irp.c irp_gr.c irp_ho.c \
|
|
irp_ng.c irp_nw.c irp_pr.c irp_pw.c irp_sv.c \
|
|
irpmarshall.c irs_data.c lcl.c lcl_gr.c lcl_ho.c \
|
|
lcl_ng.c lcl_nw.c lcl_pr.c lcl_pw.c lcl_sv.c nis.c \
|
|
nis_gr.c nis_ho.c nis_ng.c nis_nw.c nis_pr.c nis_pw.c \
|
|
nis_sv.c nul_ng.c util.c
|
|
# ${BIND_DIST_DIR}/lib/bsd
|
|
SRCS+= gettimeofday.c
|
|
.if 0 # ${MKCRYPTO} == "yes"
|
|
# ${BIND_DIST_DIR}/lib/cylink
|
|
SRCS+= bn.c bn00.c lbn00.c lbnmem.c legal.c \
|
|
bits.c dss.c math.c ctk_prime.c rand.c sha.c swap.c
|
|
# ${BIND_DIST_DIR}/lib/dnssafe
|
|
SRCS+= bgclrbit.c bgmdmpyx.c bgmdsqx.c bgmodexp.c\
|
|
bgpegcd.c big2exp.c bigabs.c bigacc.c bigarith.c\
|
|
bigcmp.c bigconst.c biginv.c biglen.c bigmodx.c\
|
|
bigmpy.c bigpdiv.c bigpmpy.c bigpmpyh.c bigpmpyl.c\
|
|
bigpsq.c bigqrx.c bigsmod.c bigtocan.c bigu.c\
|
|
bigunexp.c cantobig.c crt2.c \
|
|
digrand.c intbits.c md5.c md5rand.c prime.c\
|
|
rsa.c rsakeygn.c seccbcd.c seccbce.c surrendr.c\
|
|
ahchdig.c ahchencr.c ahchgen.c ahchrand.c ahdigest.c\
|
|
ahencryp.c ahgen.c ahrandom.c ahrsaenc.c ahrsaepr.c\
|
|
ahrsaepu.c aichdig.c aichenc8.c aichencn.c aichencr.c\
|
|
aichgen.c aichrand.c aimd5.c\
|
|
aimd5ran.c ainfotyp.c ainull.c airsaepr.c airsaepu.c\
|
|
airsakgn.c airsaprv.c airsapub.c algchoic.c algobj.c\
|
|
amcrte.c ammd5.c ammd5r.c\
|
|
amrkg.c amrsae.c balg.c binfocsh.c bkey.c bmempool.c\
|
|
digest.c encrypt.c generate.c intitem.c\
|
|
keyobj.c ki8byte.c kiitem.c kinfotyp.c\
|
|
kifulprv.c kipkcrpr.c kirsacrt.c kirsapub.c random.c
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
sha.o: sha.c
|
|
@echo "Compiling without optimization due to toolchain bugs"
|
|
${COMPILE.c:N-O*} ${.IMPSRC}
|
|
.endif
|
|
|
|
# only needed during build
|
|
libinstall::
|
|
|
|
.include <bsd.lib.mk>
|