Makefile revision 1.2
11.2Seeh#	$NetBSD: Makefile,v 1.2 1998/08/13 02:10:40 eeh Exp $
21.1Seeh
31.1Seeh# Makefile for sparc64 tags file and boot blocks
41.1Seeh
51.1SeehTSPARC64=	../sparc64/tags
61.1SeehSSPARC64=	../sparc64/dev/*.[ch] ../sparc64/fpu/*.[ch] \
71.1Seeh	../sparc64/include/*.[ch] ../sparc64/sparc64/*.[ch]
81.1SeehASPARC64=	../sparc64/sparc64/*.s
91.1Seeh
101.1Seeh# Directories in which to place tags links
111.1SeehDSPARC64=	conf dev fpu include sparc64
121.1Seeh
131.1Seehtags:
141.1Seeh	-ctags -wdtf ${TSPARC64} ${SSPARC64} ${COMM}
151.1Seeh	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
161.1Seeh	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
171.1Seeh	    >> tags
181.1Seeh	sort -o ${TSPARC64} ${TSPARC64}
191.1Seeh
201.1Seehlinks:
211.1Seeh	-for i in ${DSPARC64}; do \
221.1Seeh	    cd $$i && rm -f tags; ln -s ../tags tags; done
231.1Seeh
241.1Seeh
251.2SeehSUBDIR= include stand
261.1Seeh
271.1Seeh.include <bsd.subdir.mk>
28