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