1# @(#)Makefile 7.5 (Berkeley) 05/05/92 2 3# Makefile for tahoe tags file 4 5.include "../kern/Make.tags.inc" 6 7all: 8 @echo "make tags or links only" 9 10TTAHOE= ../tahoe/tags 11STAHOE= ../tahoe/tahoe/*.[ch] ../tahoe/include/*.h ../tahoe/if/*.[ch] \ 12 ../tahoe/vba/*.[ch] ../tahoe/align/*.[ch] ../tahoe/math/*.h 13ATAHOE= ../tahoe/tahoe/*.s ../tahoe/math/*.s 14 15 16# Directories in which to place tahoe tags links 17DTAHOE= if vba align math include 18 19tags: FRC 20 -ctags -dtf ${TTAHOE} ${COMM} ${STAHOE} 21 egrep "^SCBVEC(.*)" ${ATAHOE} | \ 22 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);X\3 \1 /^\2(\3\4$$/;" \ 23 >> ${TTAHOE} 24 egrep "^ENTRY(.*)|^JSBENTRY(.*)" ${ATAHOE} | \ 25 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 26 >> ${TTAHOE} 27 sort -o ${TTAHOE} ${TTAHOE} 28 29links: 30 -for i in ${DTAHOE}; do \ 31 (cd $$i && rm -f tags; ln -s ../tags tags); done 32 33FRC: 34