freebsd-skq/usr.sbin/named/Makefile

24 lines
667 B
Makefile
Raw Normal View History

1997-02-22 16:15:28 +00:00
# $Id$
1994-09-22 20:45:34 +00:00
.include "${.CURDIR}/Makefile.inc"
.PATH: ${BIND_DIR}/named
.PATH: ${BIND_DIR}/man
1994-09-22 20:45:34 +00:00
PROG= named
SRCS= version.c db_dump.c db_glue.c db_load.c db_lookup.c db_reload.c \
1997-01-01 09:30:13 +00:00
db_save.c db_secure.c db_update.c ns_forw.c \
ns_init.c ns_main.c ns_maint.c ns_ncache.c ns_req.c ns_resp.c \
1997-01-01 09:30:13 +00:00
ns_sort.c ns_stats.c ns_udp.c ns_validate.c storage.c tree.c
1994-09-26 23:14:33 +00:00
MAN8= named.8
1994-09-22 20:45:34 +00:00
CLEANFILES+= version.c
1994-09-22 20:45:34 +00:00
version.c: Version.c ${BIND_DIR}/Makefile
1996-11-26 03:31:26 +00:00
(u=$${USER-root} d=`pwd` h=`hostname` t=`LC_TIME=C date`; \
1994-09-22 20:45:34 +00:00
sed -e "s|%WHEN%|$${t}|" -e "s|%VERSION%|"${VER}"|" \
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
< ${BIND_DIR}/named/Version.c > version.c)
1994-09-22 20:45:34 +00:00
.include <bsd.prog.mk>