summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-01-20 04:44:59 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-01-20 04:44:59 +0000
commit63ae1932b06c580ba74685664271d364a0559133 (patch)
tree95d85d40f5bfed86a2ccab5f054744532dd50761 /lib/libc
parente3dfaff774e3eb00fb85d39b31f9ef86f5ad1373 (diff)
use LIBCSRCDIR
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/alpha/Makefile.inc18
-rw-r--r--lib/libc/arch/sparc/Makefile.inc10
2 files changed, 14 insertions, 14 deletions
diff --git a/lib/libc/arch/alpha/Makefile.inc b/lib/libc/arch/alpha/Makefile.inc
index c1d56e1ec94..d832133f450 100644
--- a/lib/libc/arch/alpha/Makefile.inc
+++ b/lib/libc/arch/alpha/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.4 1996/11/13 20:46:46 niklas Exp $
+# $OpenBSD: Makefile.inc,v 1.5 1999/01/20 04:44:58 d Exp $
# $NetBSD: Makefile.inc,v 1.4 1996/10/17 02:58:18 cgd Exp $
KMINCLUDES=
@@ -12,42 +12,42 @@ SRCS+= __remqu.S __remq.S __remlu.S __reml.S
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
+__divqu.S: ${LIBCSRCDIR}/arch/alpha/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
@(echo "define(NAME,\`__divqu')define(OP,\`div')define(S,\`false')"; \
echo "define(WORDSIZE,64)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
-__divq.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
+__divq.S: ${LIBCSRCDIR}/arch/alpha/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
@(echo "define(NAME,\`__divq')define(OP,\`div')define(S,\`true')"; \
echo "define(WORDSIZE,64)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
-__divlu.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
+__divlu.S: ${LIBCSRCDIR}/arch/alpha/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
@(echo "define(NAME,\`__divlu')define(OP,\`div')define(S,\`false')"; \
echo "define(WORDSIZE,32)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
-__divl.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
+__divl.S: ${LIBCSRCDIR}/arch/alpha/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
@(echo "define(NAME,\`__divl')define(OP,\`div')define(S,\`true')"; \
echo "define(WORDSIZE,32)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
-__remqu.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
+__remqu.S: ${LIBCSRCDIR}/arch/alpha/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
@(echo "define(NAME,\`__remqu')define(OP,\`rem')define(S,\`false')"; \
echo "define(WORDSIZE,64)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
-__remq.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
+__remq.S: ${LIBCSRCDIR}/arch/alpha/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
@(echo "define(NAME,\`__remq')define(OP,\`rem')define(S,\`true')"; \
echo "define(WORDSIZE,64)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
-__remlu.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
+__remlu.S: ${LIBCSRCDIR}/arch/alpha/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
@(echo "define(NAME,\`__remlu')define(OP,\`rem')define(S,\`false')"; \
echo "define(WORDSIZE,32)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
-__reml.S: ${.CURDIR}/arch/alpha/gen/divrem.m4
+__reml.S: ${LIBCSRCDIR}/arch/alpha/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
@(echo "define(NAME,\`__reml')define(OP,\`rem')define(S,\`true')"; \
echo "define(WORDSIZE,32)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
diff --git a/lib/libc/arch/sparc/Makefile.inc b/lib/libc/arch/sparc/Makefile.inc
index 5e1ff388a1e..0298ade72d7 100644
--- a/lib/libc/arch/sparc/Makefile.inc
+++ b/lib/libc/arch/sparc/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.2 1996/08/19 08:17:22 tholo Exp $
+# $OpenBSD: Makefile.inc,v 1.3 1999/01/20 04:44:58 d Exp $
KMINCLUDES= arch/sparc/SYS.h arch/sparc/DEFS.h
KMSRCS= bzero.S ffs.S strlen.S htonl.S htons.S \
@@ -10,25 +10,25 @@ KMSRCS= bzero.S 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/sparc/gen/divrem.m4
+sdiv.S: ${LIBCSRCDIR}/arch/sparc/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/sparc/gen/divrem.m4
+udiv.S: ${LIBCSRCDIR}/arch/sparc/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/sparc/gen/divrem.m4
+rem.S: ${LIBCSRCDIR}/arch/sparc/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/sparc/gen/divrem.m4
+urem.S: ${LIBCSRCDIR}/arch/sparc/gen/divrem.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'
@(echo "define(NAME,\`.urem')define(OP,\`rem')define(S,\`false')"; \
cat ${.ALLSRC}) | m4 > ${.TARGET}