Don't use 'm4' here. Use $TOOL_M4 instead.
This commit is contained in:
parent
57fc49ddbc
commit
9de49396cd
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.16 2004/05/25 21:06:50 petrov Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.17 2005/04/20 18:26:11 jmc Exp $
|
||||
|
||||
KMINCLUDES=
|
||||
KMSRCS= divrem.m4 \
|
||||
|
@ -16,35 +16,35 @@ CLEANFILES+= __divqu.S __divq.S __divlu.S __divl.S
|
|||
CLEANFILES+= __remqu.S __remq.S __remlu.S __reml.S
|
||||
|
||||
__divqu.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
|
||||
m4 -DNAME=__divqu -DOP=div -DS=false -DWORDSIZE=64 \
|
||||
${TOOL_M4} -DNAME=__divqu -DOP=div -DS=false -DWORDSIZE=64 \
|
||||
${.ALLSRC} > ${.TARGET}
|
||||
|
||||
__divq.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
|
||||
m4 -DNAME=__divq -DOP=div -DS=true -DWORDSIZE=64 \
|
||||
${TOOL_M4} -DNAME=__divq -DOP=div -DS=true -DWORDSIZE=64 \
|
||||
${.ALLSRC} > ${.TARGET}
|
||||
|
||||
__divlu.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
|
||||
m4 -DNAME=__divlu -DOP=div -DS=false -DWORDSIZE=32 \
|
||||
${TOOL_M4} -DNAME=__divlu -DOP=div -DS=false -DWORDSIZE=32 \
|
||||
${.ALLSRC} > ${.TARGET}
|
||||
|
||||
__divl.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
|
||||
m4 -DNAME=__divl -DOP=div -DS=true -DWORDSIZE=32 \
|
||||
${TOOL_M4} -DNAME=__divl -DOP=div -DS=true -DWORDSIZE=32 \
|
||||
${.ALLSRC} > ${.TARGET}
|
||||
|
||||
__remqu.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
|
||||
m4 -DNAME=__remqu -DOP=rem -DS=false -DWORDSIZE=64 \
|
||||
${TOOL_M4} -DNAME=__remqu -DOP=rem -DS=false -DWORDSIZE=64 \
|
||||
${.ALLSRC} > ${.TARGET}
|
||||
|
||||
__remq.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
|
||||
m4 -DNAME=__remq -DOP=rem -DS=true -DWORDSIZE=64 \
|
||||
${TOOL_M4} -DNAME=__remq -DOP=rem -DS=true -DWORDSIZE=64 \
|
||||
${.ALLSRC} > ${.TARGET}
|
||||
|
||||
__remlu.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
|
||||
m4 -DNAME=__remlu -DOP=rem -DS=false -DWORDSIZE=32 \
|
||||
${TOOL_M4} -DNAME=__remlu -DOP=rem -DS=false -DWORDSIZE=32 \
|
||||
${.ALLSRC} > ${.TARGET}
|
||||
|
||||
__reml.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
|
||||
m4 -DNAME=__reml -DOP=rem -DS=true -DWORDSIZE=32 \
|
||||
${TOOL_M4} -DNAME=__reml -DOP=rem -DS=true -DWORDSIZE=32 \
|
||||
${.ALLSRC} > ${.TARGET}
|
||||
|
||||
CPPFLAGS+= -I.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.9 2003/10/12 14:42:03 pk Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.10 2005/04/20 18:26:11 jmc Exp $
|
||||
|
||||
KMINCLUDES= arch/sparc/SYS.h
|
||||
KMSRCS= bzero.S ffs.S strlen.S htonl.S htons.S \
|
||||
|
@ -15,23 +15,23 @@ CLEANFILES+=rem.S sdiv.S udiv.S urem.S
|
|||
sdiv.S: ${.CURDIR}/arch/sparc/gen/divrem.m4
|
||||
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
||||
@(echo "define(NAME,\`.div')define(OP,\`div')define(S,\`true')"; \
|
||||
cat ${.ALLSRC}) | m4 > ${.TARGET}
|
||||
cat ${.ALLSRC}) | ${TOOL_M4} > ${.TARGET}
|
||||
@chmod 444 ${.TARGET}
|
||||
|
||||
udiv.S: ${.CURDIR}/arch/sparc/gen/divrem.m4
|
||||
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
||||
@(echo "define(NAME,\`.udiv')define(OP,\`div')define(S,\`false')"; \
|
||||
cat ${.ALLSRC}) | m4 > ${.TARGET}
|
||||
cat ${.ALLSRC}) | ${TOOL_M4} > ${.TARGET}
|
||||
@chmod 444 ${.TARGET}
|
||||
|
||||
rem.S: ${.CURDIR}/arch/sparc/gen/divrem.m4
|
||||
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
||||
@(echo "define(NAME,\`.rem')define(OP,\`rem')define(S,\`true')"; \
|
||||
cat ${.ALLSRC}) | m4 > ${.TARGET}
|
||||
cat ${.ALLSRC}) | ${TOOL_M4} > ${.TARGET}
|
||||
@chmod 444 ${.TARGET}
|
||||
|
||||
urem.S: ${.CURDIR}/arch/sparc/gen/divrem.m4
|
||||
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
||||
@(echo "define(NAME,\`.urem')define(OP,\`rem')define(S,\`false')"; \
|
||||
cat ${.ALLSRC}) | m4 > ${.TARGET}
|
||||
cat ${.ALLSRC}) | ${TOOL_M4} > ${.TARGET}
|
||||
@chmod 444 ${.TARGET}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.8 2003/10/27 00:46:05 christos Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.9 2005/04/20 18:26:11 jmc Exp $
|
||||
|
||||
KMINCLUDES= arch/sparc64/SYS.h
|
||||
KMSRCS= bzero.S ffs.S strlen.S htonl.S htons.S \
|
||||
|
@ -18,25 +18,25 @@ CLEANFILES+=rem.S sdiv.S udiv.S urem.S
|
|||
sdiv.S: ${.CURDIR}/arch/sparc64/gen/divrem.m4
|
||||
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
||||
@(echo "define(NAME,\`.div')define(OP,\`div')define(S,\`true')"; \
|
||||
cat ${.ALLSRC}) | m4 > ${.TARGET}
|
||||
cat ${.ALLSRC}) | ${TOOL_M4} > ${.TARGET}
|
||||
@chmod 444 ${.TARGET}
|
||||
|
||||
udiv.S: ${.CURDIR}/arch/sparc64/gen/divrem.m4
|
||||
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
||||
@(echo "define(NAME,\`.udiv')define(OP,\`div')define(S,\`false')"; \
|
||||
cat ${.ALLSRC}) | m4 > ${.TARGET}
|
||||
cat ${.ALLSRC}) | ${TOOL_M4} > ${.TARGET}
|
||||
@chmod 444 ${.TARGET}
|
||||
|
||||
rem.S: ${.CURDIR}/arch/sparc64/gen/divrem.m4
|
||||
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
||||
@(echo "define(NAME,\`.rem')define(OP,\`rem')define(S,\`true')"; \
|
||||
cat ${.ALLSRC}) | m4 > ${.TARGET}
|
||||
cat ${.ALLSRC}) | ${TOOL_M4} > ${.TARGET}
|
||||
@chmod 444 ${.TARGET}
|
||||
|
||||
urem.S: ${.CURDIR}/arch/sparc64/gen/divrem.m4
|
||||
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
||||
@(echo "define(NAME,\`.urem')define(OP,\`rem')define(S,\`false')"; \
|
||||
cat ${.ALLSRC}) | m4 > ${.TARGET}
|
||||
cat ${.ALLSRC}) | ${TOOL_M4} > ${.TARGET}
|
||||
@chmod 444 ${.TARGET}
|
||||
|
||||
.PATH: ${ARCHDIR}/softfloat
|
||||
|
|
Loading…
Reference in New Issue