Makefile revision 1.6
11.6Seeh#	$NetBSD: Makefile,v 1.6 1998/10/08 02:31:39 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.6SeehCSPARC64=	../../compat/*/*.[ch]
101.1Seeh
111.1Seeh# Directories in which to place tags links
121.1SeehDSPARC64=	conf dev fpu include sparc64
131.1Seeh
141.5Seeh.include "../../kern/Make.tags.inc"
151.5Seeh
161.1Seehtags:
171.1Seeh	-ctags -wdtf ${TSPARC64} ${SSPARC64} ${COMM}
181.1Seeh	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
191.1Seeh	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
201.1Seeh	    >> tags
211.1Seeh	sort -o ${TSPARC64} ${TSPARC64}
221.3Seeh
231.3SeehTAGS:
241.6Seeh	etags  ${SSPARC64} ${COMM} ${CSPARC64} "--regex=/ENTRY(.*)/" \
251.5Seeh		"--regex=/FUNC(.*)/" "--regex=/SYSCALL(.*)/" ${ASPARC64}
261.1Seeh
271.1Seehlinks:
281.1Seeh	-for i in ${DSPARC64}; do \
291.1Seeh	    cd $$i && rm -f tags; ln -s ../tags tags; done
301.1Seeh
311.1Seeh
321.2SeehSUBDIR= include stand
331.1Seeh
341.1Seeh.include <bsd.subdir.mk>
35