summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 04:57:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 04:57:26 +0000
commit12808896ac76ea30e39563659e33d727849f5559 (patch)
tree8eec14b635b52a4883f3d69fa38ff80b107c3412 /sys/lib/libkern/Makefile
parentd8dcc918599d9711f1e1bdd1d4ade6998fbc7cb2 (diff)
update from netbsd
Diffstat (limited to 'sys/lib/libkern/Makefile')
-rw-r--r--sys/lib/libkern/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/lib/libkern/Makefile b/sys/lib/libkern/Makefile
index 8282d8b9100..af57b69848e 100644
--- a/sys/lib/libkern/Makefile
+++ b/sys/lib/libkern/Makefile
@@ -1,10 +1,14 @@
-# $NetBSD: Makefile,v 1.23 1995/10/07 09:56:54 mycroft Exp $
+# $NetBSD: Makefile,v 1.24 1995/10/20 01:10:06 cgd Exp $
LIB= kern
NOPIC=
DIR=${KERNREL}${KERNDIR}
+CC= ${KERNCC}
+CFLAGS= -I${DIR}/arch/${MACHINE_ARCH} \
+ ${KERNCFLAGS:S/-D_KERNEL//:S@-I.@-I${KERNREL}.@g}
+
.if exists (${DIR}/arch/${MACHINE_ARCH}/Makefile.inc)
.PATH: ${DIR}/arch/${MACHINE_ARCH}
.include "${DIR}/arch/${MACHINE_ARCH}/Makefile.inc"
@@ -12,10 +16,6 @@ DIR=${KERNREL}${KERNDIR}
.PATH: ${DIR}
-CC = ${KERNCC}
-CFLAGS += -I${DIR}/arch/${MACHINE_ARCH} \
- ${KERNCFLAGS:S/-D_KERNEL//:S@-I.@-I${KERNREL}.@g}
-
.if (${MACHINE_ARCH} != "alpha")
# Quad support
SRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \