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