Home | History | Annotate | Line # | Download | only in evbmips
Makefile revision 1.1.10.2
      1 #	$NetBSD: Makefile,v 1.1.10.2 2002/06/23 17:35:47 jdolecek Exp $
      2 
      3 # Makefile for evbmips tags file and boot blocks
      4 
      5 # Find where mips source files are for inclusion in tags
      6 .include <../mips/Makefile.inc>
      7 
      8 # XXX !  fix this
      9 TEVBMIPS= ../evbmips/tags
     10 SEVBMIPS= ../evbmips/evbmips/*.[ch] ../evbmips/include/*.h ../evbmips/isa/*.[ch] \
     11 	../evbmips/pci/*.[ch]
     12 AEVBMIPS= ../evbmips/evbmips/*.S
     13 
     14 # Directories in which to place tags links
     15 DEVBMIPS= evbmips include isa pci
     16 
     17 .include "../../kern/Make.tags.inc"
     18 
     19 tags:
     20 	-ctags -wdtf ${TEVBMIPS} ${SEVBMIPS} ${SMIPS} ${COMM}
     21 	egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AEVBMIPS} ${AMIPS} | \
     22 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     23 	    >> ${TARC}
     24 	sort -o ${TEVBMIPS} ${TEVBMIPS}
     25 
     26 links:
     27 	-for i in ${DEVBMIPS}; do \
     28 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     29 
     30 
     31 SUBDIR=	include
     32 
     33 .include <bsd.subdir.mk>
     34