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