Commit | Line | Data |
---|---|---|
f6a703d5 | 1 | # @(#)Makefile 8.1 (Berkeley) %G% |
a24db8dd | 2 | |
d3994518 | 3 | # Makefile for i386 links, tags file |
a24db8dd | 4 | |
ad1c75ef MK |
5 | .include "../kern/Make.tags.inc" |
6 | ||
a24db8dd | 7 | all: |
d3994518 | 8 | @echo "make links or tags only" |
a24db8dd | 9 | |
d3994518 KB |
10 | DIRS= conf eisa floppy i386 include isa mca scripts |
11 | ||
12 | links:: | |
13 | -for i in ${DIRS}; do \ | |
14 | (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done | |
15 | ||
16 | I386= /sys/i386/eisa/*.[ch] /sys/i386/i386/*.[ch] \ | |
177fa059 KB |
17 | /sys/i386/include/*.[ch] /sys/i386/isa/*.[ch] |
18 | AI386= /sys/i386/i386/*.s | |
a24db8dd | 19 | |
177fa059 | 20 | tags:: |
d3994518 | 21 | -ctags -wdt ${COMM} ${I386} |
a24db8dd KB |
22 | egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ |
23 | sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ | |
177fa059 KB |
24 | >> tags |
25 | sort -o tags tags | |
d3994518 KB |
26 | chown bin.wsrc tags |
27 | chmod 444 tags |