Home | History | Annotate | Line # | Download | only in mipsco
Makefile revision 1.3.10.1
      1  1.3.10.1  thorpej #	$NetBSD: Makefile,v 1.3.10.1 2003/01/07 21:12:07 thorpej 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.1      wdk 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     22       1.1      wdk 	    >> ${TMIPSCO}
     23       1.1      wdk 	sort -o ${TMIPSCO} ${TMIPSCO}
     24       1.1      wdk 
     25       1.1      wdk links:
     26       1.1      wdk 	-for i in ${DMIPSCO}; do \
     27       1.1      wdk 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     28       1.1      wdk 
     29  1.3.10.1  thorpej SUBDIR=	compile include stand
     30       1.1      wdk 
     31       1.1      wdk .include <bsd.subdir.mk>
     32