|
|
1.1 root 1: # @(#)Makefile 7.3 (Berkeley) 6/9/91
2:
3: # Makefile for vax tags file
4:
5: all:
6: @echo "make tags or links only"
7:
8: TVAX= ../vax/tags
9: SVAX= ../vax/if/*.[ch] ../vax/mba/*.[ch] ../vax/uba/*.[ch] \
10: ../vax/bi/*.[ch] ../vax/vax/*.[ch] ../vax/include/*.h
11: AVAX= ../vax/vax/*.s
12:
13: # Directories in which to place vax tags links
14: DVAX= if mba uba bi include
15:
16: tags:
17: -ctags -dtf ${TVAX} ${COMM} ${SVAX}
18: egrep "^SCBVEC(.*)" ${AVAX} | \
19: sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);X\3 \1 /^\2(\3\4$$/;" \
20: >> ${TVAX}
21: egrep "^ENTRY(.*)|^JSBENTRY(.*)" ${AVAX} | \
22: sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
23: >> ${TVAX}
24: sort -o ${TVAX} ${TVAX}
25:
26: links:
27: -for i in ${DVAX}; do \
28: cd $$i && rm -f tags; ln -s ../tags tags; done
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.