Home | History | Annotate | Line # | Download | only in mipsco
Makefile revision 1.3.2.2
      1  1.3.2.2  bouyer #	$NetBSD: Makefile,v 1.3.2.2 2000/11/20 20:14:00 bouyer Exp $
      2  1.3.2.2  bouyer 
      3  1.3.2.2  bouyer # Makefile for mipsco tags file
      4  1.3.2.2  bouyer 
      5  1.3.2.2  bouyer # Find where mips source files are for inclusion in tags
      6  1.3.2.2  bouyer .include <../mips/Makefile.inc>
      7  1.3.2.2  bouyer 
      8  1.3.2.2  bouyer TMIPSCO=	../mipsco/tags
      9  1.3.2.2  bouyer SMIPSCO=	../mipsco/mipsco/*.[ch] ../mipsco/include/*.h \
     10  1.3.2.2  bouyer 		../mipsco/obio/*.[ch]
     11  1.3.2.2  bouyer AMIPSCO=	../mipsco/mipsco/*.S
     12  1.3.2.2  bouyer 
     13  1.3.2.2  bouyer # Directories in which to place tags links
     14  1.3.2.2  bouyer DMIPSCO=	obio include
     15  1.3.2.2  bouyer 
     16  1.3.2.2  bouyer .include "../../kern/Make.tags.inc"
     17  1.3.2.2  bouyer 
     18  1.3.2.2  bouyer tags:
     19  1.3.2.2  bouyer 	-ctags -wdtf ${TMIPSCO} ${SMIPSCO} ${SMIPS} ${COMM}
     20  1.3.2.2  bouyer 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMIPSCO} ${AMIPS} | \
     21  1.3.2.2  bouyer 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     22  1.3.2.2  bouyer 	    >> ${TMIPSCO}
     23  1.3.2.2  bouyer 	sort -o ${TMIPSCO} ${TMIPSCO}
     24  1.3.2.2  bouyer 
     25  1.3.2.2  bouyer links:
     26  1.3.2.2  bouyer 	-for i in ${DMIPSCO}; do \
     27  1.3.2.2  bouyer 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     28  1.3.2.2  bouyer 
     29  1.3.2.2  bouyer SUBDIR=	include stand
     30  1.3.2.2  bouyer 
     31  1.3.2.2  bouyer .include <bsd.subdir.mk>
     32