Commit | Line | Data |
---|---|---|
40d1980d | 1 | # @(#)Makefile 7.5 (Berkeley) %G% |
b87af5f1 KB |
2 | |
3 | # Makefile for vax tags file | |
4 | ||
0700758f MK |
5 | .include "../kern/Make.tags.inc" |
6 | ||
b87af5f1 KB |
7 | all: |
8 | @echo "make tags or links only" | |
9 | ||
10 | TVAX= ../vax/tags | |
11 | SVAX= ../vax/if/*.[ch] ../vax/mba/*.[ch] ../vax/uba/*.[ch] \ | |
12 | ../vax/bi/*.[ch] ../vax/vax/*.[ch] ../vax/include/*.h | |
13 | AVAX= ../vax/vax/*.s | |
14 | ||
15 | # Directories in which to place vax tags links | |
22046806 | 16 | DVAX= if mba uba bi include |
b87af5f1 | 17 | |
0700758f | 18 | tags: FRC |
b87af5f1 KB |
19 | -ctags -dtf ${TVAX} ${COMM} ${SVAX} |
20 | egrep "^SCBVEC(.*)" ${AVAX} | \ | |
21 | sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);X\3 \1 /^\2(\3\4$$/;" \ | |
22 | >> ${TVAX} | |
23 | egrep "^ENTRY(.*)|^JSBENTRY(.*)" ${AVAX} | \ | |
24 | sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ | |
25 | >> ${TVAX} | |
26 | sort -o ${TVAX} ${TVAX} | |
27 | ||
28 | links: | |
29 | -for i in ${DVAX}; do \ | |
40d1980d | 30 | (cd $$i && rm -f tags; ln -s ../tags tags); done |
0700758f MK |
31 | |
32 | FRC: |