xref: /netbsd/tools/Makefile.gmakehost (revision 92488770)
1*92488770Schristos#	$NetBSD: Makefile.gmakehost,v 1.7 2012/01/20 23:01:05 christos Exp $
2641014e8Smrg#
3641014e8Smrg# Rules used when building a GNU host package.  Expects MODULE to be set.
4641014e8Smrg# This version runs ${TOOL_GMAKE} instead of ${MAKE}
5641014e8Smrg#
6641014e8Smrg# There's not a lot we can do to build reliably in the face of many
7641014e8Smrg# available configuration options.  To be as low-overhead as possible,
8641014e8Smrg# we follow the following scheme:
9641014e8Smrg#
10641014e8Smrg# * Configuration is only re-run when an autoconf source file (such as
11641014e8Smrg#   "configure" or "config.sub") is changed.
12641014e8Smrg#
13641014e8Smrg# * "config.status" is run to rebuild Makefiles and .h files if an
14641014e8Smrg#   autoconf-parsed file (such as Makefile.in) is changed.
15641014e8Smrg#
16641014e8Smrg# * If MKUPDATE != "no", "make install" is only run if a build has happened
17641014e8Smrg#   since the last install in the current directory.
18641014e8Smrg
19641014e8Smrg.include <bsd.own.mk>
20*92488770SchristosMAKE_PROGRAM=${TOOL_GMAKE}
21*92488770Schristos.include "Makefile.gnuhost"
22