Home | History | Annotate | Line # | Download | only in cats
Makefile revision 1.1.8.2
      1  1.1.8.2  thorpej #	$NetBSD: Makefile,v 1.1.8.2 2003/01/07 21:05:03 thorpej Exp $
      2  1.1.8.2  thorpej 
      3  1.1.8.2  thorpej # Makefile for cats tags file and boot blocks
      4  1.1.8.2  thorpej 
      5  1.1.8.2  thorpej TCATS=	../cats/tags
      6  1.1.8.2  thorpej SCATS=	../cats/cats/*.[ch] ../cats/include/*.h \
      7  1.1.8.2  thorpej 		../cats/isa/*.[ch]
      8  1.1.8.2  thorpej ACATS=	../cats/cats/*.S
      9  1.1.8.2  thorpej 
     10  1.1.8.2  thorpej # Directories in which to place tags links
     11  1.1.8.2  thorpej DCATS=	isa include
     12  1.1.8.2  thorpej 
     13  1.1.8.2  thorpej .include "../../kern/Make.tags.inc"
     14  1.1.8.2  thorpej 
     15  1.1.8.2  thorpej tags:
     16  1.1.8.2  thorpej 	-ctags -wdtf ${TCATS} ${SCATS} ${COMM}
     17  1.1.8.2  thorpej 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ACATS} | \
     18  1.1.8.2  thorpej 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     19  1.1.8.2  thorpej 	    >> ${TCATS}
     20  1.1.8.2  thorpej 	sort -o ${TCATS} ${TCATS}
     21  1.1.8.2  thorpej 
     22  1.1.8.2  thorpej links:
     23  1.1.8.2  thorpej 	-for i in ${DCATS}; do \
     24  1.1.8.2  thorpej 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     25  1.1.8.2  thorpej 
     26  1.1.8.2  thorpej 
     27  1.1.8.2  thorpej SUBDIR=	compile include
     28  1.1.8.2  thorpej 
     29  1.1.8.2  thorpej .include <bsd.subdir.mk>
     30