summaryrefslogtreecommitdiff
path: root/usr.sbin/named/named-xfer/Makefile
blob: 8e0c387bb2bd54ef8bf98ea15c068db460701f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#	$OpenBSD: Makefile,v 1.6 2002/11/14 23:23:43 millert Exp $
#	$NetBSD: Makefile,v 1.2 1996/02/04 12:02:12 mrg Exp $
# from: $Id: Makefile,v 8.2 1995/12/31 23:28:01 vixie Exp 

.PATH:	${.CURDIR}/../named \
	${.CURDIR}/../man

PROG=	named-xfer
SRCS=	named-xfer.c db_glue.c storage.c version.c
CFLAGS+= ${INCLUDE} -I${.CURDIR}/../named ${CONFIG}
MAN=	named-xfer.8
BINDIR=	/var/named
LDSTATIC= ${STATIC}

version.c: Version.c ${.CURDIR}/../Makefile
	(u=root d=`pwd` h=localhost t=`date +%c`; \
	sed -e "s|%WHEN%|$${t}|" -e "s|%VERSION%|"${VER}"|" \
	-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
	< ${.CURDIR}/../named/Version.c > version.c)

.include <bsd.prog.mk>
.include "../../Makefile.inc"