diff options
author | peter <peter@FreeBSD.org> | 1996-08-29 21:46:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-08-29 21:46:46 +0000 |
commit | 2ea25bcd92186d4c62f5fcc285f76d4775fa94cd (patch) | |
tree | 357c158cfb0c37630fd4884b5b86b3d6eeb273ab /usr.sbin/ndc/Makefile | |
parent | 7a5c6bbe57c9ce14c16117ff0a8a7acb7121e664 (diff) | |
download | FreeBSD-src-2ea25bcd92186d4c62f5fcc285f76d4775fa94cd.zip FreeBSD-src-2ea25bcd92186d4c62f5fcc285f76d4775fa94cd.tar.gz |
build bind-4.9.4-P1 ndc in it's own directory
Diffstat (limited to 'usr.sbin/ndc/Makefile')
-rw-r--r-- | usr.sbin/ndc/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/usr.sbin/ndc/Makefile b/usr.sbin/ndc/Makefile new file mode 100644 index 0000000..abb3e3d --- /dev/null +++ b/usr.sbin/ndc/Makefile @@ -0,0 +1,25 @@ +# $Id$ + +.include "${.CURDIR}/../named/Makefile.inc" + +.PATH: ${BIND_DIR}/named +.PATH: ${BIND_DIR}/man + +MAN8= ndc.8 +CLEANFILES+= ndc + +all: ndc + +realinstall: + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ndc \ + ${DESTDIR}${BINDIR} + +ndc: ndc.sh ndcedit.awk ${BIND_DIR}/Makefile + sed -e "s|%PIDDIR%|${PIDDIR}|" \ + -e "s|%INDOT%|${INDOT}|" \ + -e "s|%PS%|${PS}|" \ + -e "s|%DESTSBIN%|${DESTSBIN}|" \ + -e "s|%IOT%|${IOT}|" \ + < ${BIND_DIR}/named/ndc.sh | awk -f ${.CURDIR}/ndcedit.awk > ndc + +.include <bsd.prog.mk> |