From dd200f8c97fdd3fe1ba63e57fda2b654031413e1 Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 24 Dec 2003 10:59:33 +0000 Subject: Properly spell make binary as ${MAKE}. This fixes buildworld for systems with old make(1) binaries. Reported by: Benjamin Close --- rescue/rescue/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'rescue') diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile index 7b9dba6..48dd6da 100644 --- a/rescue/rescue/Makefile +++ b/rescue/rescue/Makefile @@ -266,17 +266,17 @@ $(OUTPUTS): $(CONF) -c $(OUTC) $(CONF) $(PROG): $(OUTPUTS) objs - MAKEOBJDIRPREFIX=${CRUNCHOBJS} make -f $(OUTMK) + MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${MAKE} -f $(OUTMK) objs: $(OUTMK) - MAKEOBJDIRPREFIX=${CRUNCHOBJS} make -f $(OUTMK) objs + MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${MAKE} -f $(OUTMK) objs # Someone should replace the bin/csh and bin/sh build-tools with # shell scripts so we can remove this nonsense. build-tools: .for _tool in bin/csh bin/sh cd $(.CURDIR)/../../${_tool}; \ - MAKEOBJDIRPREFIX=${CRUNCHOBJS} make DIRPRFX=rescue/${_tool} build-tools + MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${MAKE} DIRPRFX=rescue/${_tool} build-tools .endfor # Use a separate build tree to hold files compiled for this crunchgen binary @@ -288,10 +288,10 @@ cleandepend cleandir obj objlink: .for P in $(CRUNCH_PROGS_$(D)) .ifdef CRUNCH_SRCDIR_${P} cd ${CRUNCH_SRCDIR_$(P)} && \ - MAKEOBJDIRPREFIX=${CANONICALOBJDIR} make ${.TARGET} + MAKEOBJDIRPREFIX=${CANONICALOBJDIR} ${MAKE} ${.TARGET} .else cd $(.CURDIR)/../../${D}/${P} && \ - MAKEOBJDIRPREFIX=${CANONICALOBJDIR} make ${.TARGET} + MAKEOBJDIRPREFIX=${CANONICALOBJDIR} ${MAKE} ${.TARGET} .endif .endfor .endfor @@ -299,16 +299,16 @@ cleandepend cleandir obj objlink: clean: rm -f ${CLEANFILES} if [ -e ${.OBJDIR}/$(OUTMK) ]; then \ - MAKEOBJDIRPREFIX=${CRUNCHOBJS} make -f $(OUTMK) clean; \ + MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${MAKE} -f $(OUTMK) clean; \ fi .for D in $(CRUNCH_SRCDIRS) .for P in $(CRUNCH_PROGS_$(D)) .ifdef CRUNCH_SRCDIR_${P} cd ${CRUNCH_SRCDIR_$(P)} && \ - MAKEOBJDIRPREFIX=${CANONICALOBJDIR} make ${.TARGET} + MAKEOBJDIRPREFIX=${CANONICALOBJDIR} ${MAKE} ${.TARGET} .else cd $(.CURDIR)/../../${D}/${P} && \ - MAKEOBJDIRPREFIX=${CANONICALOBJDIR} make ${.TARGET} + MAKEOBJDIRPREFIX=${CANONICALOBJDIR} ${MAKE} ${.TARGET} .endif .endfor .endfor -- cgit v1.1