summaryrefslogtreecommitdiffstats
path: root/libexec/named-xfer
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/named-xfer')
-rw-r--r--libexec/named-xfer/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/libexec/named-xfer/Makefile b/libexec/named-xfer/Makefile
new file mode 100644
index 0000000..165747e
--- /dev/null
+++ b/libexec/named-xfer/Makefile
@@ -0,0 +1,20 @@
+# $Id$
+
+.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=`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>
OpenPOWER on IntegriCloud