1# $NetBSD: Makefile,v 1.1 1999/09/13 10:30:47 itojun 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 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 20 >> ${TMMEYE} 21 sort -o ${TMMEYE} ${TMMEYE} 22 23links: 24 -for i in ${DMMEYE}; do \ 25 (cd $$i && rm -f tags; ln -s ../tags tags); done 26 27 28SUBDIR= include stand 29 30.include <bsd.subdir.mk> 31