Home | History | Annotate | Line # | Download | only in mmeye
Makefile revision 1.1.30.1
      1  1.1.30.1  thorpej #	$NetBSD: Makefile,v 1.1.30.1 2003/01/07 21:12:09 thorpej 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.1   itojun 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     20       1.1   itojun 		>> ${TMMEYE}
     21       1.1   itojun 	sort -o ${TMMEYE} ${TMMEYE}
     22       1.1   itojun 
     23       1.1   itojun links:
     24       1.1   itojun 	-for i in ${DMMEYE}; do \
     25       1.1   itojun 	    (cd $$i && rm -f tags; ln -s ../tags tags); done
     26       1.1   itojun 
     27       1.1   itojun 
     28  1.1.30.1  thorpej SUBDIR=	compile include stand
     29       1.1   itojun 
     30       1.1   itojun .include <bsd.subdir.mk>
     31