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 7TEVBSH3= ../hpcsh/tags 8SEVBSH3= ../hpcsh/hpcsh/*.[ch] ../hpcsh/include/*.h 9AEVBSH3= ../hpcsh/hpcsh/*.[sS] 10 11# Directories in which to place tags links 12DEVBSH3= hpcsh include 13 14.include "../../kern/Make.tags.inc" 15 16tags: 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 23links: 24 -for i in ${DEVBSH3}; do \ 25 (cd $$i && rm -f tags; ln -s ../tags tags); done 26 27 28SUBDIR= include # stand 29 30.include <bsd.subdir.mk> 31