Commit | Line | Data |
---|---|---|
f5934919 | 1 | # @(#)Makefile 7.2 (Berkeley) %G% |
c234812c | 2 | |
f5934919 | 3 | # Makefile for sparc tags file |
c234812c | 4 | |
f5934919 | 5 | .include "../kern/Make.tags.inc" |
c234812c CT |
6 | |
7 | all: | |
f5934919 | 8 | @echo "make tags only" |
c234812c | 9 | |
f5934919 KB |
10 | SPARC= /sys/sparc/dev/*.[ch] /sys/sparc/fpu/*.[ch] \ |
11 | /sys/sparc/include/*.[ch] /sys/sparc/rcons/*.[ch] \ | |
12 | /sys/sparc/sbus/*.[ch] /sys/sparc/sparc/*.[ch] \ | |
13 | /sys/sparc/sunos/*.[ch] | |
14 | ASPARC= /sys/sparc/sparc/*.s | |
15 | ||
16 | tags:: | |
17 | -ctags -dt ${COMM} ${SPARC} | |
18 | egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \ | |
19 | sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ | |
20 | >> tags | |
21 | sort -o tags tags |