Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / lib / libkern / Makefile
blob7cff1ebea999dbdd2058246fe773a5fc62e37ec8
1 # $NetBSD: Makefile,v 1.94 2009/01/04 18:00:55 pooka Exp $
3 LIB= kern
4 NOPIC= # defined
5 LLIBS= # defined
7 .include "Makefile.libkern"
8 .ifndef ARCHSUBDIR
9 .BEGIN:
10 @echo no ARCHSUBDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU}
11 @false
12 .endif
14 # only needed during build
15 libinstall::
17 .undef DESTDIR
18 .include <bsd.lib.mk>
20 lib${LIB}.o:: ${OBJS}
21 @echo building standard ${LIB} library
22 @rm -f lib${LIB}.o
23 @${LD} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}`
25 lib${LIB}.po:: ${POBJS}
26 @echo building profiled ${LIB} library
27 @rm -f lib${LIB}.po
28 @${LD} -r -o lib${LIB}.po `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}`
30 showsources: ${SRCS}
31 @echo ${.ALLSRC}