1 1.18 dyoung # $NetBSD: Makefile,v 1.18 2009/05/19 22:01:34 dyoung Exp $ 2 1.1 eeh 3 1.1 eeh # Makefile for sparc64 tags file and boot blocks 4 1.1 eeh 5 1.14 dyoung TSPARC64= ${SYSDIR}/arch/sparc64/tags 6 1.14 dyoung SSPARC64= ${SYSDIR}/arch/sparc64/dev/*.[ch] \ 7 1.14 dyoung ${SYSDIR}/arch/sparc/fpu/*.[ch] \ 8 1.14 dyoung ${SYSDIR}/arch/sparc64/include/*.[ch] \ 9 1.14 dyoung ${SYSDIR}/arch/sparc64/sparc64/*.[ch] 10 1.14 dyoung ASPARC64= ${SYSDIR}/arch/sparc64/sparc64/*.[sS] 11 1.7 eeh # CSPARC64= ../../compat/*/*.[ch] 12 1.1 eeh 13 1.1 eeh # Directories in which to place tags links 14 1.1 eeh DSPARC64= conf dev fpu include sparc64 15 1.1 eeh 16 1.5 eeh .include "../../kern/Make.tags.inc" 17 1.5 eeh 18 1.1 eeh tags: 19 1.18 dyoung -rm -f ${TSPARC64} 20 1.18 dyoung -echo ${SSPARC64} | xargs ctags -wadtf ${TSPARC64} 21 1.18 dyoung ${FINDCOMM} | xargs ctags -wadtf ${TSPARC64} 22 1.1 eeh egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \ 23 1.18 dyoung ${TOOL_SED} -e "s;/;\\/;g" | \ 24 1.17 apb ${TOOL_SED} -e \ 25 1.18 dyoung "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 26 1.1 eeh >> tags 27 1.1 eeh sort -o ${TSPARC64} ${TSPARC64} 28 1.7 eeh 29 1.1 eeh links: 30 1.1 eeh -for i in ${DSPARC64}; do \ 31 1.1 eeh cd $$i && rm -f tags; ln -s ../tags tags; done 32 1.1 eeh 33 1.13 lukem SUBDIR= compile include ../sparc/include stand 34 1.1 eeh 35 1.1 eeh .include <bsd.subdir.mk> 36