Cross Reference: Makefile
xref: /src/sys/lib/libkern/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/lib/libkern/
Makefile revision 1.94
11.94Spooka#	$NetBSD: Makefile,v 1.94 2009/01/04 18:00:55 pooka Exp $
21.1Scgd
31.68SperryLIB=		kern
41.68SperryNOPIC=		# defined
51.68SperryLLIBS=		# defined
61.9Sderaadt
71.94Spooka.include "Makefile.libkern"
81.94Spooka.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.36Scjs# only needed during build
151.36Scjslibinstall::
161.1Scgd
171.62Stv.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

Indexes created Sat Dec 20 21:09:36 GMT 2025