Home | History | Annotate | Line # | Download | only in hpcsh
Makefile revision 1.2
      1  1.2   lukem #	$NetBSD: Makefile,v 1.2 2003/01/06 17:40:34 lukem Exp $
      2  1.1  itojun 
      3  1.1  itojun # Makefile for hpcsh 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 TEVBSH3=	../hpcsh/tags
      8  1.1  itojun SEVBSH3=	../hpcsh/hpcsh/*.[ch] ../hpcsh/include/*.h
      9  1.1  itojun AEVBSH3=	../hpcsh/hpcsh/*.[sS]
     10  1.1  itojun 
     11  1.1  itojun # Directories in which to place tags links
     12  1.1  itojun DEVBSH3=	hpcsh 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 ${TEVBSH3} ${SEVBSH3} ${COMM}
     18  1.1  itojun 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AEVBSH3} | \
     19  1.1  itojun 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     20  1.1  itojun 		>> ${TEVBSH3}
     21  1.1  itojun 	sort -o ${TEVBSH3} ${TEVBSH3}
     22  1.1  itojun 
     23  1.1  itojun links:
     24  1.1  itojun 	-for i in ${DEVBSH3}; 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.2   lukem SUBDIR=	compile include # stand
     29  1.1  itojun 
     30  1.1  itojun .include <bsd.subdir.mk>
     31