1# @(#)Makefile 7.5 (Berkeley) 05/05/92 2 3# Makefile for i386 tags file 4 5.include "../kern/Make.tags.inc" 6 7all: 8 @echo "make tags or links only" 9 10TI386= ../i386/tags 11SI386= ../i386/i386/*.[ch] ../i386/include/*.h ../i386/isa/*.[ch] 12AI386= ../i386/i386/*.s 13 14# Directories in which to place i386 tags links 15DI386= eisa isa mca include 16 17tags: FRC 18 -ctags -dtf ${TI386} ${COMM} ${SI386} 19 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 20 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 21 >> ${TI386} 22 sort -o ${TI386} ${TI386} 23 24links: 25 -for i in ${DI386}; do \ 26 (cd $$i && rm -f tags; ln -s ../tags tags); done 27 28FRC: 29