1# @(#)Makefile 8.1 (Berkeley) 06/11/93 2 3# Makefile for vax link, tags file 4 5.include "../kern/Make.tags.inc" 6 7all: 8 @echo "make links or tags only" 9 10DIRS= bi cassette conf consolerl datakit dist floppy if include mba \ 11 mdec uba vax 12 13links:: 14 -for i in ${DIRS}; do \ 15 (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done 16 17VAX= /sys/vax/bi/*.[ch] /sys/vax/if/*.[ch] /sys/vax/include/*.[ch] \ 18 /sys/vax/mba/*.[ch] /sys/vax/uba/*.[ch] /sys/vax/vax/*.[ch] 19AVAX= /sys/vax/vax/*.s 20 21tags:: 22 -ctags -wdt ${COMM} ${VAX} 23 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AVAX} | \ 24 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 25 >> tags 26 sort -o tags tags 27 chown bin.wsrc tags 28 chmod 444 tags 29