Home | History | Annotate | Line # | Download | only in libkern
Makefile revision 1.87.6.3
      1  1.87.6.1       mjf #	$NetBSD: Makefile,v 1.87.6.3 2009/01/17 13:29:21 mjf Exp $
      2       1.1       cgd 
      3      1.68     perry LIB=		kern
      4      1.68     perry NOPIC=		# defined
      5      1.68     perry LLIBS=		# defined
      6       1.9   deraadt 
      7  1.87.6.3       mjf .include "Makefile.libkern"
      8  1.87.6.3       mjf .ifndef(ARCHSUBDIR)
      9      1.59     bjh21 .BEGIN:
     10      1.60     enami 	@echo no ARCHSUBDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU}
     11      1.60     enami 	@false
     12      1.59     bjh21 .endif
     13      1.59     bjh21 
     14      1.36       cjs # only needed during build
     15      1.36       cjs libinstall::
     16       1.1       cgd 
     17      1.62        tv .undef DESTDIR
     18       1.1       cgd .include <bsd.lib.mk>
     19      1.23   mycroft 
     20      1.23   mycroft lib${LIB}.o:: ${OBJS}
     21      1.23   mycroft 	@echo building standard ${LIB} library
     22      1.23   mycroft 	@rm -f lib${LIB}.o
     23      1.37       gwr 	@${LD} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}`
     24      1.23   mycroft 
     25      1.23   mycroft lib${LIB}.po:: ${POBJS}
     26      1.23   mycroft 	@echo building profiled ${LIB} library
     27      1.23   mycroft 	@rm -f lib${LIB}.po
     28      1.37       gwr 	@${LD} -r -o lib${LIB}.po `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}`
     29      1.65  wrstuden 
     30      1.65  wrstuden showsources: ${SRCS}
     31      1.65  wrstuden 	@echo ${.ALLSRC}
     32