xref: /original-bsd/sys/i386/Makefile (revision 69c8e3e7)
1#	@(#)Makefile	7.6 (Berkeley) 07/24/92
2
3# Makefile for i386 tags file
4
5.include "../kern/Make.tags.inc"
6
7all:
8	@echo "make tags only"
9
10I386=	/sys/i386/conf/*.[ch] /sys/i386/eisa/*.[ch] /sys/i386/i386/*.[ch] \
11	/sys/i386/include/*.[ch] /sys/i386/isa/*.[ch]
12AI386=	/sys/i386/i386/*.s
13
14tags::
15	-ctags -dt ${COMM} ${I386}
16	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
17	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
18		>> tags
19	sort -o tags tags
20