Commit | Line | Data |
---|---|---|
a9ae6a9b | 1 | # @(#)Makefile 7.6 (Berkeley) %G% |
96854b9c KB |
2 | |
3 | # Makefile for hp300 tags file | |
4 | ||
0700758f MK |
5 | .include "../kern/Make.tags.inc" |
6 | ||
96854b9c | 7 | all: |
a9ae6a9b | 8 | @echo "make tags only" |
96854b9c | 9 | |
a9ae6a9b KB |
10 | HP300= /sys/hp/dev/*.[ch] /sys/hp/hpux/*.[ch] /sys/hp300/conf/*.[ch] \ |
11 | /sys/hp300/dev/*.[ch] /sys/hp300/hp300/*.[ch] /sys/hp300/include/*.[ch] | |
12 | AHP300= /sys/hp300/hp300/*.s | |
96854b9c | 13 | |
a9ae6a9b KB |
14 | tags:: |
15 | -ctags -dt ${COMM} ${HP300} | |
96854b9c KB |
16 | egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \ |
17 | sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ | |
a9ae6a9b KB |
18 | >> tags |
19 | sort -o tags tags |