freebsd-dev/libexec/named-xfer/Makefile
Andrey A. Chernov ea9ce57fe2 Unlocalize date
1996-09-01 00:53:45 +00:00

21 lines
557 B
Makefile

# $Id: Makefile,v 1.1 1996/08/29 21:50:49 peter Exp $
.include "${.CURDIR}/../../usr.sbin/named/Makefile.inc"
.PATH: ${BIND_DIR}/named
.PATH: ${BIND_DIR}/man
PROG= named-xfer
SRCS= named-xfer.c db_glue.c storage.c dmalloc.c version.c
MAN8= named-xfer.8
CLEANFILES+= version.c
version.c: Version.c ${BIND_DIR}/Makefile
(u=$${USER-root} d=`pwd` h=`hostname` t=`LC_TIME= date`; \
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>