1997-01-01 11:03:27 +00:00
|
|
|
# $Id: Makefile,v 1.3 1996/11/26 03:31:26 ache Exp $
|
1996-08-29 21:50:49 +00:00
|
|
|
|
|
|
|
.include "${.CURDIR}/../../usr.sbin/named/Makefile.inc"
|
|
|
|
|
|
|
|
.PATH: ${BIND_DIR}/named
|
|
|
|
.PATH: ${BIND_DIR}/man
|
|
|
|
|
|
|
|
PROG= named-xfer
|
1997-01-01 11:03:27 +00:00
|
|
|
SRCS= named-xfer.c db_glue.c storage.c version.c
|
1996-08-29 21:50:49 +00:00
|
|
|
MAN8= named-xfer.8
|
|
|
|
|
|
|
|
CLEANFILES+= version.c
|
|
|
|
|
|
|
|
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`; \
|
1996-08-29 21:50:49 +00:00
|
|
|
sed -e "s|%WHEN%|$${t}|" -e "s|%VERSION%|"${VER}"|" \
|
|
|
|
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
|
|
|
|
< ${BIND_DIR}/named/Version.c > version.c)
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|