Home | History | Annotate | Line # | Download | only in i386
Makefile revision 1.15
      1 #	$NetBSD: Makefile,v 1.15 1998/06/12 23:22:36 cgd Exp $
      2 
      3 # Makefile for i386 tags file and boot blocks
      4 
      5 TI386=	../i386/tags
      6 SI386=	../i386/i386/*.[ch] ../i386/include/*.h \
      7 	../i386/eisa/*.[ch] ../i386/isa/*.[ch] ../i386/pci/*.[ch]
      8 AI386=	../i386/i386/*.s
      9 
     10 # Directories in which to place tags links
     11 DI386=	eisa isa include pci
     12 
     13 .include "../../kern/Make.tags.inc"
     14 
     15 tags:
     16 	-ctags -wdtf ${TI386} ${SI386} ${COMM}
     17 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
     18 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     19 		>> ${TI386}
     20 	sort -o ${TI386} ${TI386}
     21 
     22 links:
     23 	-for i in ${DI386}; do \
     24 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     25 
     26 
     27 SUBDIR=	include stand isa/pcvt
     28 
     29 .include <bsd.subdir.mk>
     30