Home | History | Annotate | Line # | Download | only in mmeye
Makefile revision 1.1
      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 
      7 TMMEYE=	../mmeye/tags
      8 SMMEYE=	../mmeye/mmeye/*.[ch] ../mmeye/include/*.h
      9 AMMEYE=	../mmeye/mmeye/*.[sS]
     10 
     11 # Directories in which to place tags links
     12 DMMEYE=	mmeye include
     13 
     14 .include "../../kern/Make.tags.inc"
     15 
     16 tags:
     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 
     23 links:
     24 	-for i in ${DMMEYE}; do \
     25 	    (cd $$i && rm -f tags; ln -s ../tags tags); done
     26 
     27 
     28 SUBDIR=	include stand
     29 
     30 .include <bsd.subdir.mk>
     31