support MAKEVERBOSE and use ${HOST_SH}

This commit is contained in:
lukem 2003-10-19 04:25:00 +00:00
parent 87755a0463
commit a694177df5
5 changed files with 22 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.ioctl-c,v 1.8 2003/08/27 20:35:42 thorpej Exp $
# $NetBSD: Makefile.ioctl-c,v 1.9 2003/10/19 04:25:00 lukem Exp $
# NOTE: <bsd.own.mk> needs to be previously .included for NETBSDSRCDIR
@ -16,8 +16,10 @@ DEPFILES != grep -l '_IO.*(' ${DEPFILEGLOB}
.endif
ioctl.c: mkioctls ${DEPFILES}
${_MKMSGCREATE}
${_MKCMD}\
CC="${CC}" DESTDIR=${DESTDIR} \
/bin/sh ${NETBSDSRCDIR}/usr.bin/kdump/mkioctls \
${HOST_SH} ${NETBSDSRCDIR}/usr.bin/kdump/mkioctls \
${SEARCHFILES} > ioctl.c
${DEPFILES}: .PRECIOUS

View File

@ -1,8 +1,10 @@
# $NetBSD: Makefile.siginfo-c,v 1.1 2003/09/19 22:49:02 christos Exp $
# $NetBSD: Makefile.siginfo-c,v 1.2 2003/10/19 04:25:00 lukem Exp $
# NOTE: <bsd.own.mk> needs to be previously .included for NETBSDSRCDIR
siginfo.c: mksiginfos ${DESTDIR}/siginfo.h
${_MKMSGCREATE}
${_MKCMD}\
DESTDIR=${DESTDIR} \
${HOST_SH} ${NETBSDSRCDIR}/usr.bin/kdump/mksiginfos > siginfo.c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2003/02/11 10:43:29 drochner Exp $
# $NetBSD: Makefile,v 1.16 2003/10/19 04:25:18 lukem Exp $
NOMAN= # defined
@ -18,7 +18,10 @@ LDSTATIC?=-static
dump.c misc.c: misc.h
misc.h: ${DESTDIR}/usr/include/sys/errno.h \
${DESTDIR}/usr/include/sys/signal.h
CPP=${CPP:Q} CPPFLAGS=${CPPFLAGS:Q} sh ${.CURDIR}/makeerrnos.sh \
${_MKMSGCREATE}
${_MKCMD}\
CPP=${CPP:Q} CPPFLAGS=${CPPFLAGS:Q} \
${HOST_SH} ${.CURDIR}/makeerrnos.sh \
${DESTDIR}/usr/include/sys/errno.h \
${DESTDIR}/usr/include/sys/signal.h misc

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.4 (Berkeley) 6/24/90
# $NetBSD: Makefile,v 1.25 2003/05/18 07:57:34 lukem Exp $
# $NetBSD: Makefile,v 1.26 2003/10/19 04:25:29 lukem Exp $
#
# By default, flex will be configured to generate 8-bit scanners only if the
# -8 flag is given. If you want it to always generate 8-bit scanners, add
@ -29,10 +29,14 @@ LINKS= ${BINDIR}/lex ${BINDIR}/flex \
MLINKS= flex.1 lex.1
skel.c: mkskel.sh flex.skl
sh ${.ALLSRC} >${.TARGET}
${_MKMSGCREATE}
${_MKCMD}\
${HOST_SH} ${.ALLSRC} >${.TARGET}
.ifndef HOSTPROG
scan.c: scan.l
${_MKMSGLEX}
${_MKCMD}\
${LEX} -t -p ${.ALLSRC} >${.TARGET}
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.32 2003/08/01 17:04:06 lukem Exp $
# $NetBSD: Makefile,v 1.33 2003/10/19 04:27:52 lukem Exp $
.include <bsd.own.mk>
@ -34,7 +34,9 @@ LINT1= ${TOOLDIR}/libexec/${MACHINE_GNU_PLATFORM}-lint1
LINT1?= ./${PROG}
${MAN}: makeman ${LINT1:C/^\.\///} Makefile
sh ${.ALLSRC:M*makeman} ${LINT1} -m >${.TARGET}
${_MKMSGCREATE}
${_MKCMD}\
${HOST_SH} ${.ALLSRC:M*makeman} ${LINT1} -m >${.TARGET}
LDADD+= -lm
.ifndef HOSTPROG