11.5Sapb# $NetBSD: Makefile,v 1.5 2008/10/25 22:27:36 apb Exp $ 21.1Sbjh21 31.1Sbjh21# Makefile for acorn32 tags file and boot blocks 41.1Sbjh21 51.1Sbjh21TACORN32= ../acorn32/tags 61.1Sbjh21SACORN32= ../acorn32/acorn32/*.[ch] ../acorn32/include/*.h \ 71.1Sbjh21 ../acorn32/dev/*.[ch] ../acorn32/podulebus/*.[ch] ../acorn32/mainbus/*.[ch] 81.1Sbjh21AACORN32= ../acorn32/acorn32/*.s 91.1Sbjh21 101.1Sbjh21# Directories in which to place tags links 111.1Sbjh21DACORN32= dev mainbus podulebus include 121.1Sbjh21 131.1Sbjh21.include "../../kern/Make.tags.inc" 141.1Sbjh21 151.1Sbjh21tags: 161.1Sbjh21 -ctags -wdtf ${TACORN32} ${SACORN32} ${COMM} 171.1Sbjh21 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AACORN32} | \ 181.5Sapb ${TOOL_SED} -e \ 191.5Sapb "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 201.1Sbjh21 >> ${TACORN32} 211.1Sbjh21 sort -o ${TACORN32} ${TACORN32} 221.1Sbjh21 231.1Sbjh21links: 241.1Sbjh21 -for i in ${DACORN32}; do \ 251.1Sbjh21 cd $$i && rm -f tags; ln -s ../tags tags; done 261.1Sbjh21 271.1Sbjh21 281.3Sbjh21SUBDIR= compile include stand 291.1Sbjh21 301.1Sbjh21.include <bsd.subdir.mk> 31