diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-31 00:43:23 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-31 00:43:23 +0000 |
commit | 1159c743c3a52da52101db4f883ad086a7a38f7d (patch) | |
tree | 3aeffe20aecc868865d0fcec828fc022c11f0f6b /sys/lib/libkern/Makefile | |
parent | 0970d4a8714e3f3891d2fffd1ea52ae426ff2671 (diff) |
Merge NetBSD/Alpha 961020
Diffstat (limited to 'sys/lib/libkern/Makefile')
-rw-r--r-- | sys/lib/libkern/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/sys/lib/libkern/Makefile b/sys/lib/libkern/Makefile index caee95f22a8..ceae3e037e9 100644 --- a/sys/lib/libkern/Makefile +++ b/sys/lib/libkern/Makefile @@ -1,21 +1,18 @@ -# $OpenBSD: Makefile,v 1.9 1996/08/10 21:41:14 deraadt Exp $ -# $NetBSD: Makefile,v 1.27 1996/05/10 21:27:32 scottr Exp $ +# $OpenBSD: Makefile,v 1.10 1996/10/31 00:43:07 niklas Exp $ +# $NetBSD: Makefile,v 1.31 1996/08/10 04:01:31 mycroft Exp $ LIB= kern NOPIC= -DIR= ${KERNREL}${KERNDIR} +M= ${.CURDIR}/arch/${MACHINE_ARCH} -CPPFLAGS= -I${DIR}/arch/${MACHINE_ARCH} \ - ${KERNCPPFLAGS:S@-I.@-I${KERNREL}.@g} +CPPFLAGS= -I$M ${KERNCPPFLAGS} -.if exists (${DIR}/arch/${MACHINE_ARCH}/Makefile.inc) -.PATH: ${DIR}/arch/${MACHINE_ARCH} -.include "${DIR}/arch/${MACHINE_ARCH}/Makefile.inc" +.if exists ($M/Makefile.inc) +.PATH: $M +.include "$M/Makefile.inc" .endif -.PATH: ${DIR} - .if (${MACHINE_ARCH} != "alpha") # Quad support SRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \ @@ -26,6 +23,7 @@ SRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \ # Other stuff SRCS+= md5.c getsn.c srandom.c +# Files to clean up CLEANFILES+= lib${LIB}.o lib${LIB}.po # mcount cannot be compiled with profiling |