Makefile revision 1.4
1# from: @(#)Makefile 7.3 (Berkeley) 6/9/91 2# $Id: Makefile,v 1.4 1993/07/31 15:26:25 mycroft Exp $ 3 4# Makefile for i386 tags file and boot blocks 5 6NOPROG= noprog 7NOMAN= noman 8NOOBJ= noobj 9 10SUBDIR= boot 11 12TI386= ../i386/tags 13SI386= ../i386/i386/*.[ch] ../i386/include/*.h ../i386/isa/*.[ch] 14AI386= ../i386/i386/*.s 15 16# Directories in which to place i386 tags links 17DI386= eisa isa mca include 18 19tags: 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 26links: 27 -for i in ${DI386}; do \ 28 cd $$i && rm -f tags; ln -s ../tags tags; done 29 30.include <bsd.prog.mk> 31