35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# $Id$
|
|
|
|
.include "${.CURDIR}/Makefile.inc"
|
|
|
|
.PATH: ${BIND_DIR}/named
|
|
.PATH: ${BIND_DIR}/man
|
|
|
|
PROG= named
|
|
SRCS= version.c db_dump.c db_glue.c db_load.c db_lookup.c db_reload.c \
|
|
db_save.c db_secure.c db_update.c dmalloc.c ns_forw.c \
|
|
ns_init.c ns_main.c ns_maint.c ns_ncache.c ns_req.c ns_resp.c \
|
|
ns_sort.c ns_stats.c ns_validate.c storage.c tree.c
|
|
MAN8= named.8
|
|
|
|
CLEANFILES+= version.c
|
|
|
|
version.c: Version.c ${BIND_DIR}/Makefile
|
|
(u=$${USER-root} d=`pwd` h=`hostname` t=`date`; \
|
|
sed -e "s|%WHEN%|$${t}|" -e "s|%VERSION%|"${VER}"|" \
|
|
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
|
|
< ${BIND_DIR}/named/Version.c > version.c)
|
|
|
|
MAN3+= gethostbyname.3 getnetent.3 resolver.3
|
|
|
|
MLINKS+=gethostbyname.3 endhostent.3 gethostbyname.3 gethostbyaddr.3 \
|
|
gethostbyname.3 sethostent.3 gethostbyname.3 gethostent.3 \
|
|
gethostbyname.3 herror.3
|
|
MLINKS+=getnetent.3 endnetent.3 getnetent.3 getnetbyaddr.3 \
|
|
getnetent.3 getnetbyname.3 getnetent.3 setnetent.3
|
|
MLINKS+=resolver.3 dn_comp.3 resolver.3 dn_expand.3 resolver.3 res_init.3 \
|
|
resolver.3 res_mkquery.3 resolver.3 res_send.3 resolver.3 res_query.3 \
|
|
resolver.3 res_search.3
|
|
|
|
.include <bsd.prog.mk>
|