1996-10-18 09:55:26 +04:00
|
|
|
# $NetBSD: Makefile,v 1.4 1996/10/18 06:28:24 thorpej Exp $
|
1996-02-02 18:29:24 +03:00
|
|
|
# from: $Id: Makefile,v 8.1 1994/12/15 06:23:47 vixie Exp
|
|
|
|
|
1996-05-11 18:46:39 +04:00
|
|
|
.PATH: ${.CURDIR}/../man
|
1996-02-02 18:29:24 +03:00
|
|
|
|
1996-05-11 18:46:39 +04:00
|
|
|
all: ndc
|
1996-02-02 18:29:24 +03:00
|
|
|
CLEANFILES+= ndc
|
|
|
|
MAN= ndc.8
|
|
|
|
|
1996-05-11 18:46:39 +04:00
|
|
|
realinstall:
|
1996-10-18 09:55:26 +04:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
1996-02-02 18:29:24 +03:00
|
|
|
ndc ${DESTDIR}${BINDIR}/ndc
|
|
|
|
|
|
|
|
ndc: ndc.sh Makefile ${.CURDIR}/../Makefile.inc
|
|
|
|
sed -e "s|%PIDDIR%|${PIDDIR}|" \
|
|
|
|
-e "s|%PS%|${PS}|" \
|
|
|
|
-e "s|%DESTSBIN%|${BINDIR}|" \
|
|
|
|
-e "s|%IOT%|${IOT}|" \
|
|
|
|
< ${.CURDIR}/ndc.sh > ndc
|
|
|
|
chmod +x ndc
|
|
|
|
|
|
|
|
.include "../../Makefile.inc"
|
1996-05-11 18:36:24 +04:00
|
|
|
.include <bsd.prog.mk>
|