Makefile revision 1.97
11.96Smatt# $NetBSD: Makefile,v 1.97 2014/02/09 12:53:30 njoly Exp $ 21.1Scgd 31.68SperryLIB= kern 41.97SnjolyNOPIC= # defined 51.97SnjolyLLIBS= # defined 61.9Sderaadt 71.94Spooka.include "Makefile.libkern" 81.95She.ifndef ARCHSUBDIR 91.59Sbjh21.BEGIN: 101.60Senami @echo no ARCHSUBDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU} 111.60Senami @false 121.59Sbjh21.endif 131.59Sbjh21 141.97Snjoly# only needed during build 151.97Snjolylibinstall:: 161.97Snjoly 171.97Snjoly.undef DESTDIR 181.1Scgd.include <bsd.lib.mk> 191.23Smycroft 201.23Smycroftlib${LIB}.o:: ${OBJS} 211.23Smycroft @echo building standard ${LIB} library 221.23Smycroft @rm -f lib${LIB}.o 231.37Sgwr @${LD} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}` 241.23Smycroft 251.23Smycroftlib${LIB}.po:: ${POBJS} 261.23Smycroft @echo building profiled ${LIB} library 271.23Smycroft @rm -f lib${LIB}.po 281.37Sgwr @${LD} -r -o lib${LIB}.po `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}` 291.65Swrstuden 301.65Swrstudenshowsources: ${SRCS} 311.65Swrstuden @echo ${.ALLSRC} 32