Home | History | Annotate | Line # | Download | only in libkern
Makefile revision 1.96
      1 #	$NetBSD: Makefile,v 1.96 2013/08/21 05:50:14 matt Exp $
      2 
      3 LIB=		kern
      4 LIBISPRIVATE?=	yes
      5 
      6 .include "Makefile.libkern"
      7 .ifndef ARCHSUBDIR
      8 .BEGIN:
      9 	@echo no ARCHSUBDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU}
     10 	@false
     11 .endif
     12 
     13 .include <bsd.lib.mk>
     14 
     15 lib${LIB}.o:: ${OBJS}
     16 	@echo building standard ${LIB} library
     17 	@rm -f lib${LIB}.o
     18 	@${LD} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}`
     19 
     20 lib${LIB}.po:: ${POBJS}
     21 	@echo building profiled ${LIB} library
     22 	@rm -f lib${LIB}.po
     23 	@${LD} -r -o lib${LIB}.po `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}`
     24 
     25 showsources: ${SRCS}
     26 	@echo ${.ALLSRC}
     27