Makefile revision 1.5
11.5Seeh#	$NetBSD: Makefile,v 1.5 1998/09/22 02:48:42 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.5Seeh.include "../../kern/Make.tags.inc"
141.5Seeh
151.1Seehtags:
161.1Seeh	-ctags -wdtf ${TSPARC64} ${SSPARC64} ${COMM}
171.1Seeh	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
181.1Seeh	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
191.1Seeh	    >> tags
201.1Seeh	sort -o ${TSPARC64} ${TSPARC64}
211.3Seeh
221.3SeehTAGS:
231.5Seeh	etags  ${SSPARC64} ${COMM} "--regex=/ENTRY(.*)/" \
241.5Seeh		"--regex=/FUNC(.*)/" "--regex=/SYSCALL(.*)/" ${ASPARC64}
251.1Seeh
261.1Seehlinks:
271.1Seeh	-for i in ${DSPARC64}; do \
281.1Seeh	    cd $$i && rm -f tags; ln -s ../tags tags; done
291.1Seeh
301.1Seeh
311.2SeehSUBDIR= include stand
321.1Seeh
331.1Seeh.include <bsd.subdir.mk>
34