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