Home | History | Annotate | Line # | Download | only in sh3
Makefile revision 1.1
      1  1.1  itojun #	$NetBSD: Makefile,v 1.1 1999/09/13 10:31:06 itojun Exp $
      2  1.1  itojun 
      3  1.1  itojun # Makefile for sh3 tags file and boot blocks
      4  1.1  itojun 
      5  1.1  itojun TSH3=	../sh3/tags
      6  1.1  itojun SSH3=	../sh3/sh3/*.[ch] ../sh3/include/*.h \
      7  1.1  itojun 	../sh3/eisa/*.[ch] ../sh3/isa/*.[ch] ../sh3/pci/*.[ch]
      8  1.1  itojun ASH3=	../sh3/sh3/*.s
      9  1.1  itojun 
     10  1.1  itojun # Directories in which to place tags links
     11  1.1  itojun DSH3=	include sh3
     12  1.1  itojun 
     13  1.1  itojun .include "../../kern/Make.tags.inc"
     14  1.1  itojun 
     15  1.1  itojun tags:
     16  1.1  itojun 	-ctags -wdtf ${TSH3} ${SSH3} ${COMM}
     17  1.1  itojun 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
     18  1.1  itojun 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     19  1.1  itojun 		>> ${TSH3}
     20  1.1  itojun 	sort -o ${TSH3} ${TSH3}
     21  1.1  itojun 
     22  1.1  itojun links:
     23  1.1  itojun 	-for i in ${DSH3}; do \
     24  1.1  itojun 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     25  1.1  itojun 
     26  1.1  itojun etags:
     27  1.1  itojun 	emacs-etags ${SSH3} ${COMM}
     28  1.1  itojun 
     29  1.1  itojun elinks:
     30  1.1  itojun 	for i in ${DSH3}; do \
     31  1.1  itojun 	    cd $$i && rm -f TAGS; ln -s ../TAGS TAGS; cd ..; done
     32  1.1  itojun 
     33  1.1  itojun SUBDIR= include
     34  1.1  itojun 
     35  1.1  itojun .include <bsd.subdir.mk>
     36