diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2001-09-10 19:17:34 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2001-09-10 19:17:34 +0000 |
commit | 9e408d48f677e1feb7f2924e980bb9d082149f80 (patch) | |
tree | 81b241c54ef8287d84402fb87f1094b0ce28d104 /lib/libc/arch/sparc64 | |
parent | c07e8f4a6038fd83dd32471c8be8996cb81f6d42 (diff) |
Use ${LIBCSRCDIR} not ${.CURDIR} for relative path (allows libc_r to build)
Diffstat (limited to 'lib/libc/arch/sparc64')
-rw-r--r-- | lib/libc/arch/sparc64/Makefile.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/arch/sparc64/Makefile.inc b/lib/libc/arch/sparc64/Makefile.inc index 442beb6e191..a6eca83e90f 100644 --- a/lib/libc/arch/sparc64/Makefile.inc +++ b/lib/libc/arch/sparc64/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.1 2001/08/29 01:48:12 art Exp $ +# $OpenBSD: Makefile.inc,v 1.2 2001/09/10 19:17:33 jason Exp $ KMINCLUDES= arch/sparc64/SYS.h KMSRCS= ffs.S strlen.S htonl.S htons.S \ @@ -10,25 +10,25 @@ KMSRCS= ffs.S strlen.S htonl.S htons.S \ SRCS+= rem.S sdiv.S udiv.S urem.S CLEANFILES+=rem.S sdiv.S udiv.S urem.S -sdiv.S: ${.CURDIR}/arch/sparc64/gen/divrem.m4 +sdiv.S: ${LIBCSRCDIR}/arch/sparc64/gen/divrem.m4 @echo 'building ${.TARGET} from ${.ALLSRC}' @(echo "define(NAME,\`.div')define(OP,\`div')define(S,\`true')"; \ cat ${.ALLSRC}) | m4 > ${.TARGET} @chmod 444 ${.TARGET} -udiv.S: ${.CURDIR}/arch/sparc64/gen/divrem.m4 +udiv.S: ${LIBCSRCDIR}/arch/sparc64/gen/divrem.m4 @echo 'building ${.TARGET} from ${.ALLSRC}' @(echo "define(NAME,\`.udiv')define(OP,\`div')define(S,\`false')"; \ cat ${.ALLSRC}) | m4 > ${.TARGET} @chmod 444 ${.TARGET} -rem.S: ${.CURDIR}/arch/sparc64/gen/divrem.m4 +rem.S: ${LIBCSRCDIR}/arch/sparc64/gen/divrem.m4 @echo 'building ${.TARGET} from ${.ALLSRC}' @(echo "define(NAME,\`.rem')define(OP,\`rem')define(S,\`true')"; \ cat ${.ALLSRC}) | m4 > ${.TARGET} @chmod 444 ${.TARGET} -urem.S: ${.CURDIR}/arch/sparc64/gen/divrem.m4 +urem.S: ${LIBCSRCDIR}/arch/sparc64/gen/divrem.m4 @echo 'building ${.TARGET} from ${.ALLSRC}' @(echo "define(NAME,\`.urem')define(OP,\`rem')define(S,\`false')"; \ cat ${.ALLSRC}) | m4 > ${.TARGET} |