11.18Sdyoung# $NetBSD: Makefile,v 1.18 2009/05/19 22:01:34 dyoung Exp $ 21.1Seeh 31.1Seeh# Makefile for sparc64 tags file and boot blocks 41.1Seeh 51.14SdyoungTSPARC64= ${SYSDIR}/arch/sparc64/tags 61.14SdyoungSSPARC64= ${SYSDIR}/arch/sparc64/dev/*.[ch] \ 71.14Sdyoung ${SYSDIR}/arch/sparc/fpu/*.[ch] \ 81.14Sdyoung ${SYSDIR}/arch/sparc64/include/*.[ch] \ 91.14Sdyoung ${SYSDIR}/arch/sparc64/sparc64/*.[ch] 101.14SdyoungASPARC64= ${SYSDIR}/arch/sparc64/sparc64/*.[sS] 111.7Seeh# CSPARC64= ../../compat/*/*.[ch] 121.1Seeh 131.1Seeh# Directories in which to place tags links 141.1SeehDSPARC64= conf dev fpu include sparc64 151.1Seeh 161.5Seeh.include "../../kern/Make.tags.inc" 171.5Seeh 181.1Seehtags: 191.18Sdyoung -rm -f ${TSPARC64} 201.18Sdyoung -echo ${SSPARC64} | xargs ctags -wadtf ${TSPARC64} 211.18Sdyoung ${FINDCOMM} | xargs ctags -wadtf ${TSPARC64} 221.1Seeh egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \ 231.18Sdyoung ${TOOL_SED} -e "s;/;\\/;g" | \ 241.17Sapb ${TOOL_SED} -e \ 251.18Sdyoung "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 261.1Seeh >> tags 271.1Seeh sort -o ${TSPARC64} ${TSPARC64} 281.7Seeh 291.1Seehlinks: 301.1Seeh -for i in ${DSPARC64}; do \ 311.1Seeh cd $$i && rm -f tags; ln -s ../tags tags; done 321.1Seeh 331.13SlukemSUBDIR= compile include ../sparc/include stand 341.1Seeh 351.1Seeh.include <bsd.subdir.mk> 36