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