1 # $NetBSD: Makefile,v 1.3 2008/10/25 22:27:37 apb Exp $ 2 3 # Makefile for evbsh3 tags file and boot blocks 4 5 #.include "../sh3/Makefile.inc" 6 7 TEVBSH3= ../evbsh3/tags 8 SEVBSH3= ../evbsh3/evbsh3/*.[ch] ../evbsh3/include/*.h 9 AEVBSH3= ../evbsh3/evbsh3/*.[sS] 10 11 # Directories in which to place tags links 12 DEVBSH3= evbsh3 include 13 14 .include "../../kern/Make.tags.inc" 15 16 tags: 17 -ctags -wdtf ${TEVBSH3} ${SEVBSH3} ${COMM} 18 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AEVBSH3} | \ 19 ${TOOL_SED} -e \ 20 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 21 >> ${TEVBSH3} 22 sort -o ${TEVBSH3} ${TEVBSH3} 23 24 links: 25 -for i in ${DEVBSH3}; do \ 26 (cd $$i && rm -f tags; ln -s ../tags tags); done 27 28 29 SUBDIR= compile include # stand 30 31 .include <bsd.subdir.mk> 32