NetBSD/usr.sbin/bind/named-xfer/Makefile

23 lines
620 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.3 1998/10/09 19:30:02 tron Exp $
1998-10-05 22:01:57 +04:00
.PATH: ${.CURDIR}/../named \
${.CURDIR}/../man
WARNS= 0
PROG= named-xfer
SRCS= ${PROG}.c db_glue.c ns_glue.c tmp_version.c
CPPFLAGS+= ${INCLUDE}
LDADD= ${LIBRARY}
CLEANFILES+= tmp_version.c
MAN= ${PROG}.8
BINDIR= /usr/libexec
1998-10-05 22:01:57 +04:00
tmp_version.c: ${.CURDIR}/../named/version.c Makefile ../Makefile
1998-10-05 22:01:57 +04:00
(u=$${USER-root} d=`pwd` h=`${HOSTNAMECMD}` t=`date`; \
sed -e "s|%WHEN%|$${t}|" -e "s|%VERSION%|"${VER}"|" \
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
< ${.CURDIR}/../named/version.c > tmp_version.c)
1998-10-05 22:01:57 +04:00
.include "../../Makefile.inc"
.include <bsd.prog.mk>