|
|
1.1 root 1: # @(#)Makefile 7.3 (Berkeley) 6/9/91
2:
3: # Makefile for tahoe tags file
4:
5: all:
6: @echo "make tags or links only"
7:
8: TTAHOE= ../tahoe/tags
9: STAHOE= ../tahoe/tahoe/*.[ch] ../tahoe/include/*.h ../tahoe/if/*.[ch] \
10: ../tahoe/vba/*.[ch] ../tahoe/align/*.[ch] ../tahoe/math/*.h
11: ATAHOE= ../tahoe/tahoe/*.s ../tahoe/math/*.s
12:
13:
14: # Directories in which to place tahoe tags links
15: DTAHOE= if vba align math include
16:
17: tags:
18: -ctags -dtf ${TTAHOE} ${COMM} ${STAHOE}
19: egrep "^SCBVEC(.*)" ${ATAHOE} | \
20: sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);X\3 \1 /^\2(\3\4$$/;" \
21: >> ${TTAHOE}
22: egrep "^ENTRY(.*)|^JSBENTRY(.*)" ${ATAHOE} | \
23: sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
24: >> ${TTAHOE}
25: sort -o ${TTAHOE} ${TTAHOE}
26:
27: links:
28: -for i in ${DTAHOE}; do \
29: 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.