Commit | Line | Data |
---|---|---|
177fa059 | 1 | # @(#)Makefile 7.6 (Berkeley) %G% |
a24db8dd KB |
2 | |
3 | # Makefile for i386 tags file | |
4 | ||
ad1c75ef MK |
5 | .include "../kern/Make.tags.inc" |
6 | ||
a24db8dd | 7 | all: |
177fa059 | 8 | @echo "make tags only" |
a24db8dd | 9 | |
177fa059 KB |
10 | I386= /sys/i386/conf/*.[ch] /sys/i386/eisa/*.[ch] /sys/i386/i386/*.[ch] \ |
11 | /sys/i386/include/*.[ch] /sys/i386/isa/*.[ch] | |
12 | AI386= /sys/i386/i386/*.s | |
a24db8dd | 13 | |
177fa059 KB |
14 | tags:: |
15 | -ctags -dt ${COMM} ${I386} | |
a24db8dd KB |
16 | egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ |
17 | sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ | |
177fa059 KB |
18 | >> tags |
19 | sort -o tags tags |