1# @(#)Makefile 7.5 (Berkeley) 05/05/92 2 3# Makefile for hp300 tags file 4 5.include "../kern/Make.tags.inc" 6 7all: 8 @echo "make tags or links only" 9 10THP300= ../hp300/tags 11SHP300= ../hp300/hp300/*.[ch] ../hp300/include/*.h \ 12 ../hp300/hpux/*.[ch] ../hp300/dev/*.[ch] 13AHP300= ../hp300/hp300/*.s 14 15# Directories in which to place hp300 tags links 16DHP300= dev hpux include 17 18tags: FRC 19 -ctags -dtf ${THP300} ${COMM} ${SHP300} 20 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \ 21 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 22 >> ${THP300} 23 sort -o ${THP300} ${THP300} 24 25links: 26 -for i in ${DHP300}; do \ 27 (cd $$i && rm -f tags; ln -s ../tags tags); done 28 29FRC: 30