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