Add .MAKE to targets that run ${MAKE} so that parallel makes work properly.

This commit is contained in:
dsl 2006-02-04 11:23:45 +00:00
parent b38b1510eb
commit 8d7fb15302

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.3 2005/12/11 12:17:40 christos Exp $
# $NetBSD: Makefile.inc,v 1.4 2006/02/04 11:23:45 dsl Exp $
# $OpenBSD: Makefile.inc,v 1.4 2001/03/29 03:58:17 mickey Exp $
#
@ -23,21 +23,21 @@ SPMATHMAKE= \
NM='${NM}' LORDER='${LORDER}' \
XMACHINE='${MACHINE}' XMACHINE_ARCH='${MACHINE_ARCH}'
${SPMATH}: .NOTMAIN __always_make_spmath
${SPMATH}: .NOTMAIN .MAKE __always_make_spmath
@echo making sure the spmath library is up to date...
@${SPMATHMAKE} spmath.o
${SPMATH_PROF}: .NOTMAIN __always_make_spmath
${SPMATH_PROF}: .NOTMAIN .MAKE __always_make_spmath
@echo making sure the profiled spmath library is up to date...
@${SPMATHMAKE} spmath.po
__CLEANSPMATH: .NOTMAIN __always_make_spmath
__CLEANSPMATH: .NOTMAIN .MAKE __always_make_spmath
@echo cleaning the spmath library objects
@${SPMATHMAKE} clean
clean: __CLEANSPMATH
__DEPENDSPMATH: .NOTMAIN __always_make_spmath assym.h
__DEPENDSPMATH: .NOTMAIN .MAKE __always_make_spmath assym.h
@echo depending the spmath library objects
@${SPMATHMAKE} depend