Makefile revision 1.1
11.1Scgd#	@(#)Makefile	7.3 (Berkeley) 6/9/91
21.1Scgd
31.1Scgd# Makefile for i386 tags file
41.1Scgd
51.1Scgdall:
61.1Scgd	@echo "make tags or links only"
71.1Scgd
81.1ScgdTI386=	../i386/tags
91.1ScgdSI386=	../i386/i386/*.[ch] ../i386/include/*.h ../i386/isa/*.[ch]
101.1ScgdAI386=	../i386/i386/*.s
111.1Scgd
121.1Scgd# Directories in which to place i386 tags links
131.1ScgdDI386=	eisa isa mca include
141.1Scgd
151.1Scgdtags:
161.1Scgd	-ctags -dtf ${TI386} ${COMM} ${SI386}
171.1Scgd	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
181.1Scgd	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
191.1Scgd		>> ${TI386}
201.1Scgd	sort -o ${TI386} ${TI386}
211.1Scgd
221.1Scgdlinks:
231.1Scgd	-for i in ${DI386}; do \
241.1Scgd	    cd $$i && rm -f tags; ln -s ../tags tags; done
25