From d408ddc6c78461d12eb43450422670bea26f1f15 Mon Sep 17 00:00:00 2001 From: drochner Date: Sun, 19 Jul 1998 18:35:16 +0000 Subject: [PATCH] Make the combination "profiled kernel" and "${KERN_AS} == "library"" work too. (mcount.po was forgotten) --- sys/lib/libkern/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/lib/libkern/Makefile b/sys/lib/libkern/Makefile index f1c885c69c03..b9d7b55a961a 100644 --- a/sys/lib/libkern/Makefile +++ b/sys/lib/libkern/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 1998/06/21 18:43:35 christos Exp $ +# $NetBSD: Makefile,v 1.43 1998/07/19 18:35:16 drochner Exp $ LIB= kern NOPIC= @@ -114,6 +114,8 @@ strrchr.ln: rindex.c ${.ALLSRC} .endif +POBJS+= ${OBJS:.o=.po} mcount.po + # only needed during build libinstall:: @@ -124,7 +126,6 @@ lib${LIB}.o:: ${OBJS} @rm -f lib${LIB}.o @${LD} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}` -POBJS+= ${OBJS:.o=.po} mcount.po lib${LIB}.po:: ${POBJS} @echo building profiled ${LIB} library @rm -f lib${LIB}.po