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