summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/named/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bind/named/Makefile')
-rw-r--r--usr.sbin/bind/named/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/usr.sbin/bind/named/Makefile b/usr.sbin/bind/named/Makefile
new file mode 100644
index 000000000000..6fe3d75fc822
--- /dev/null
+++ b/usr.sbin/bind/named/Makefile
@@ -0,0 +1,25 @@
+# $Id$
+
+.include "${.CURDIR}/../Makefile.inc"
+
+.PATH: ${BIND_DIR}/named
+.PATH: ${BIND_DIR}/man
+
+PROG= named
+SRCS= version.c db_dump.c db_glue.c db_load.c db_lookup.c db_reload.c \
+ db_save.c db_secure.c db_update.c dmalloc.c ns_forw.c \
+ ns_init.c ns_main.c ns_maint.c ns_ncache.c ns_req.c ns_resp.c \
+ ns_sort.c ns_stats.c ns_validate.c storage.c tree.c
+MAN8= named.8
+
+BINDIR= ${DESTSBIN}
+
+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>