Commit | Line | Data |
---|---|---|
e7f0a33e | 1 | # @(#)Makefile 7.7 (Berkeley) %G% |
b87af5f1 | 2 | |
e7f0a33e | 3 | # Makefile for vax link, tags file |
b87af5f1 | 4 | |
0700758f MK |
5 | .include "../kern/Make.tags.inc" |
6 | ||
b87af5f1 | 7 | all: |
e7f0a33e | 8 | @echo "make links or tags only" |
b87af5f1 | 9 | |
e7f0a33e KB |
10 | DIRS= bi cassette conf consolerl datakit dist floppy if include mba \ |
11 | mdec uba vax | |
12 | ||
13 | links:: | |
14 | -for i in ${DIRS}; do \ | |
15 | (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done | |
16 | ||
17 | VAX= /sys/vax/bi/*.[ch] /sys/vax/if/*.[ch] /sys/vax/include/*.[ch] \ | |
18 | /sys/vax/mba/*.[ch] /sys/vax/uba/*.[ch] /sys/vax/vax/*.[ch] | |
f5934919 | 19 | AVAX= /sys/vax/vax/*.s |
b87af5f1 | 20 | |
f5934919 | 21 | tags:: |
e7f0a33e | 22 | -ctags -wdt ${COMM} ${VAX} |
f5934919 | 23 | egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AVAX} | \ |
b87af5f1 | 24 | sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ |
f5934919 KB |
25 | >> tags |
26 | sort -o tags tags | |
e7f0a33e KB |
27 | chown bin.wsrc tags |
28 | chmod 444 tags |