1 # $NetBSD: Makefile,v 1.3 1994/11/20 20:51:32 deraadt Exp $ 2 3 # from: @(#)Makefile 8.1 (Berkeley) 6/11/93 4 # 5 # Makefile for sparc links, tags file 6 7 NOPROG= noprog 8 NOMAN= noman 9 NOOBJ= noobj 10 11 DIRS= conf dev fpu include rcons sbus sparc 12 13 links:: 14 -for i in ${DIRS}; do \ 15 (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done 16 17 SPARC= /sys/arch/sparc/dev/*.[ch] /sys/arch/sparc/fpu/*.[ch] \ 18 /sys/arch/sparc/include/*.[ch] /sys/arch/sparc/rcons/*.[ch] \ 19 /sys/arch/sparc/sbus/*.[ch] /sys/arch/sparc/sparc/*.[ch] 20 ASPARC= /sys/arch/sparc/sparc/*.s 21 22 tags: 23 -ctags -wdt ${COMM} ${SPARC} 24 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \ 25 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 26 >> tags 27 sort -o tags tags 28 29 .include <bsd.prog.mk> 30