Makefile revision 1.9
11.9Sapb# $NetBSD: Makefile,v 1.9 2008/10/25 22:27:38 apb Exp $ 21.3Sderaadt 31.6Smycroft# Makefile for sparc tags file and boot blocks 41.1Sderaadt 51.6SmycroftTSPARC= ../sparc/tags 61.6SmycroftSSPARC= ../sparc/dev/*.[ch] ../sparc/fpu/*.[ch] \ 71.6Smycroft ../sparc/include/*.[ch] ../sparc/sparc/*.[ch] 81.6SmycroftASPARC= ../sparc/sparc/*.s 91.4Smrg 101.6Smycroft# Directories in which to place tags links 111.6SmycroftDSPARC= conf dev fpu include sparc 121.1Sderaadt 131.2Sderaadttags: 141.6Smycroft -ctags -wdtf ${TSPARC} ${SSPARC} ${COMM} 151.1Sderaadt egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \ 161.9Sapb ${TOOL_SED} -e \ 171.9Sapb "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 181.6Smycroft >> tags 191.6Smycroft sort -o ${TSPARC} ${TSPARC} 201.6Smycroft 211.6Smycroftlinks: 221.6Smycroft -for i in ${DSPARC}; do \ 231.6Smycroft cd $$i && rm -f tags; ln -s ../tags tags; done 241.6Smycroft 251.6Smycroft 261.8SlukemSUBDIR= compile include stand 271.2Sderaadt 281.4Smrg.include <bsd.subdir.mk> 29