Cross Reference: Makefile
xref: /src/sys/arch/sparc/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/arch/sparc/
11.11Smacallan#	$NetBSD: Makefile,v 1.11 2013/05/30 20:08:47 macallan Exp $
21.3Sderaadt
31.6Smycroft# Makefile for sparc tags file and boot blocks
41.1Sderaadt
51.10SdyoungTSPARC=	${SYSDIR}/arch/sparc/tags
61.10SdyoungSSPARC=	${SYSDIR}/arch/sparc/dev/*.[ch] \
71.10Sdyoung	${SYSDIR}/arch/sparc/fpu/*.[ch] \
81.10Sdyoung	${SYSDIR}/arch/sparc/sparc/*.[ch] \
91.10Sdyoung	${SYSDIR}/arch/sparc/include/*.h
101.10SdyoungASPARC=	${SYSDIR}/arch/sparc/sparc/*.s
111.4Smrg
121.6Smycroft# Directories in which to place tags links
131.10SdyoungDSPARC=	sparc dev fpu include
141.10Sdyoung
151.10Sdyoung.include "../../kern/Make.tags.inc"
161.1Sderaadt
171.2Sderaadttags:
181.10Sdyoung	-rm -f ${TSPARC}
191.10Sdyoung	-echo ${SSPARC} | xargs ctags -wadtf ${TSPARC}
201.10Sdyoung	-${FINDCOMM} | xargs ctags -wadtf ${TSPARC}
211.1Sderaadt	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
221.9Sapb	    ${TOOL_SED} -e \
231.10Sdyoung	"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
241.10Sdyoung		>> ${TSPARC}
251.6Smycroft	sort -o ${TSPARC} ${TSPARC}
261.6Smycroft
271.6Smycroftlinks:
281.6Smycroft	-for i in ${DSPARC}; do \
291.10Sdyoung	    (cd $$i && rm -f tags; ln -s ../tags tags); done
301.6Smycroft
311.6Smycroft
321.11SmacallanSUBDIR=	compile include stand dev
331.2Sderaadt
341.4Smrg.include <bsd.subdir.mk>
35

Indexes created Mon Nov 10 17:20:41 GMT 2025