2 # $NetBSD: buildmake.sh.in,v 1.8 2006/08/26 22:17:48 christos Exp $
4 # buildmake.sh.in - Autoconf-processed shell script for building make(1).
8 : ${HOST_CFLAGS="@CPPFLAGS@ @CFLAGS@"}
9 : ${HOST_LDFLAGS="@LDFLAGS@ @LIBS@"}
17 MKSRCDIR
=@srcdir@
/..
/..
/usr.bin
/make
19 for f
in $MKSRCDIR/*.c
$MKSRCDIR/lst.lib
/*.c
; do
20 docmd
"${HOST_CC} ${HOST_CFLAGS} @DEFS@ -c $f"
23 docmd
"${HOST_CC} ${HOST_CFLAGS} -o ${_TOOL_PREFIX:-nb}make *.o ${HOST_LDFLAGS}"