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