Make the combination "profiled kernel" and "${KERN_AS} == "library""
work too. (mcount.po was forgotten)
This commit is contained in:
parent
017037d6b1
commit
d408ddc6c7
|
@ -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
|
LIB= kern
|
||||||
NOPIC=
|
NOPIC=
|
||||||
|
@ -114,6 +114,8 @@ strrchr.ln: rindex.c
|
||||||
${.ALLSRC}
|
${.ALLSRC}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
POBJS+= ${OBJS:.o=.po} mcount.po
|
||||||
|
|
||||||
# only needed during build
|
# only needed during build
|
||||||
libinstall::
|
libinstall::
|
||||||
|
|
||||||
|
@ -124,7 +126,6 @@ lib${LIB}.o:: ${OBJS}
|
||||||
@rm -f lib${LIB}.o
|
@rm -f lib${LIB}.o
|
||||||
@${LD} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}`
|
@${LD} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}`
|
||||||
|
|
||||||
POBJS+= ${OBJS:.o=.po} mcount.po
|
|
||||||
lib${LIB}.po:: ${POBJS}
|
lib${LIB}.po:: ${POBJS}
|
||||||
@echo building profiled ${LIB} library
|
@echo building profiled ${LIB} library
|
||||||
@rm -f lib${LIB}.po
|
@rm -f lib${LIB}.po
|
||||||
|
|
Loading…
Reference in New Issue