X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/6294d633e80db8e89697db796e6f6025d5af0cae..ad7871609881e73855d0b04da49b486cd93efca7:/usr/src/sys/i386/Makefile diff --git a/usr/src/sys/i386/Makefile b/usr/src/sys/i386/Makefile index 747a80e979..e057d546fd 100644 --- a/usr/src/sys/i386/Makefile +++ b/usr/src/sys/i386/Makefile @@ -1,19 +1,27 @@ -# @(#)Makefile 7.6 (Berkeley) %G% +# @(#)Makefile 8.1 (Berkeley) 6/11/93 -# Makefile for i386 tags file +# Makefile for i386 links, tags file .include "../kern/Make.tags.inc" all: - @echo "make tags only" + @echo "make links or tags only" -I386= /sys/i386/conf/*.[ch] /sys/i386/eisa/*.[ch] /sys/i386/i386/*.[ch] \ +DIRS= conf eisa floppy i386 include isa mca scripts + +links:: + -for i in ${DIRS}; do \ + (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done + +I386= /sys/i386/eisa/*.[ch] /sys/i386/i386/*.[ch] \ /sys/i386/include/*.[ch] /sys/i386/isa/*.[ch] AI386= /sys/i386/i386/*.s tags:: - -ctags -dt ${COMM} ${I386} + -ctags -wdt ${COMM} ${I386} egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ >> tags sort -o tags tags + chown bin.wsrc tags + chmod 444 tags