Makefile revision 1.6
11.6Smycroft#	$NetBSD: Makefile,v 1.6 1997/10/11 09:10:31 mycroft Exp $
21.3Sderaadt
31.6Smycroft# Makefile for sparc tags file and boot blocks
41.1Sderaadt
51.6SmycroftTSPARC=	../sparc/tags
61.6SmycroftSSPARC=	../sparc/dev/*.[ch] ../sparc/fpu/*.[ch] \
71.6Smycroft	../sparc/include/*.[ch] ../sparc/sparc/*.[ch]
81.6SmycroftASPARC=	../sparc/sparc/*.s
91.4Smrg
101.6Smycroft# Directories in which to place tags links
111.6SmycroftDSPARC=	conf dev fpu include sparc
121.1Sderaadt
131.2Sderaadttags:
141.6Smycroft	-ctags -wdtf ${TSPARC} ${SSPARC} ${COMM}
151.1Sderaadt	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
161.1Sderaadt	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
171.6Smycroft	    >> tags
181.6Smycroft	sort -o ${TSPARC} ${TSPARC}
191.6Smycroft
201.6Smycroftlinks:
211.6Smycroft	-for i in ${DSPARC}; do \
221.6Smycroft	    cd $$i && rm -f tags; ln -s ../tags tags; done
231.6Smycroft
241.6Smycroft
251.6SmycroftSUBDIR= stand
261.2Sderaadt
271.4Smrg.include <bsd.subdir.mk>
28