summaryrefslogtreecommitdiffstats
path: root/usr.sbin/named/xfer/Makefile
blob: 20e6bd358339c94766f0b08742f312035d6ed112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#	@(#)Makefile	5.1 (Berkeley) 5/28/90

PROG=	named-xfer
SRCS=	named-xfer.c db_glue.c
OBJS+=	version.o
CLEANFILES+=version.c version.o
CFLAGS+=-I${.CURDIR}/..
.PATH:	${.CURDIR}/..
BINDIR=	/usr/libexec
MAN8= named-xfer.8


VER	= 4.9.3-BETA26-LOCAL

version.c: ${.CURDIR}/../Version.c ${.CURDIR}/Makefile ${SRCS}
	(LC_TIME=; export LC_TIME; u=$${USER-root} d=`pwd |sed -e 's|/obj/|/src/|'` \
	 h=`hostname` t=`date`; \
	sed -e "s|%WHEN%|$${t}|" -e "s|%VERSION%|"${VER}"|" \
	    -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
	    < ${.CURDIR}/../Version.c > version.c)

.include "../../Makefile.inc"
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud