freebsd-dev/usr.sbin/named/xfer/Makefile

24 lines
616 B
Makefile
Raw Normal View History

1994-09-22 20:45:34 +00:00
# @(#)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
1994-09-22 20:45:34 +00:00
CFLAGS+=-I${.CURDIR}/..
.PATH: ${.CURDIR}/..
BINDIR= /usr/libexec
MAN8= named-xfer.8
1994-09-22 20:45:34 +00:00
VER = LOCAL-`date +%y%m%d.%H%M%S`
version.c: ${.CURDIR}/../Version.c ${.CURDIR}/Makefile ${SRCS}
1995-10-20 20:32:26 +00:00
(LANG=; 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)
1994-09-22 20:45:34 +00:00
.include "../../Makefile.inc"
.include <bsd.prog.mk>