1997-05-09 01:11:01 +04:00
|
|
|
# $NetBSD: Makefile,v 1.10 1997/05/08 21:12:40 gwr Exp $
|
1996-02-02 18:29:24 +03:00
|
|
|
# from: $Id: Makefile,v 8.1 1994/12/15 06:23:47 vixie Exp
|
|
|
|
|
1997-05-09 01:11:01 +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
|
|
|
|
|
1997-03-25 01:02:40 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "../../Makefile.inc"
|
|
|
|
|
|
|
|
FILES=ndc
|
|
|
|
FILESMODE=${BINMODE}
|
1996-02-02 18:29:24 +03:00
|
|
|
|
|
|
|
ndc: ndc.sh Makefile ${.CURDIR}/../Makefile.inc
|
1997-04-07 11:55:37 +04:00
|
|
|
rm -f $@
|
1996-02-02 18:29:24 +03:00
|
|
|
sed -e "s|%PIDDIR%|${PIDDIR}|" \
|
|
|
|
-e "s|%PS%|${PS}|" \
|
|
|
|
-e "s|%DESTSBIN%|${BINDIR}|" \
|
|
|
|
-e "s|%IOT%|${IOT}|" \
|
1997-04-14 12:49:09 +04:00
|
|
|
-e "s|%INDOT%||" \
|
1997-04-07 11:55:37 +04:00
|
|
|
< ${.CURDIR}/ndc.sh > $@
|
|
|
|
chmod +x $@
|
1996-02-02 18:29:24 +03:00
|
|
|
|
1996-05-11 18:36:24 +04:00
|
|
|
.include <bsd.prog.mk>
|