1 1.5.10.1 thorpej # $NetBSD: Makefile,v 1.5.10.1 1997/10/14 10:18:19 thorpej Exp $ 2 1.3 deraadt 3 1.5.10.1 thorpej # Makefile for sparc tags file and boot blocks 4 1.1 deraadt 5 1.5.10.1 thorpej TSPARC= ../sparc/tags 6 1.5.10.1 thorpej SSPARC= ../sparc/dev/*.[ch] ../sparc/fpu/*.[ch] \ 7 1.5.10.1 thorpej ../sparc/include/*.[ch] ../sparc/sparc/*.[ch] 8 1.5.10.1 thorpej ASPARC= ../sparc/sparc/*.s 9 1.4 mrg 10 1.5.10.1 thorpej # Directories in which to place tags links 11 1.5.10.1 thorpej DSPARC= conf dev fpu include sparc 12 1.1 deraadt 13 1.2 deraadt tags: 14 1.5.10.1 thorpej -ctags -wdtf ${TSPARC} ${SSPARC} ${COMM} 15 1.1 deraadt egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \ 16 1.1 deraadt sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 17 1.5.10.1 thorpej >> tags 18 1.5.10.1 thorpej sort -o ${TSPARC} ${TSPARC} 19 1.5.10.1 thorpej 20 1.5.10.1 thorpej links: 21 1.5.10.1 thorpej -for i in ${DSPARC}; do \ 22 1.5.10.1 thorpej cd $$i && rm -f tags; ln -s ../tags tags; done 23 1.5.10.1 thorpej 24 1.5.10.1 thorpej 25 1.5.10.1 thorpej SUBDIR= stand 26 1.2 deraadt 27 1.4 mrg .include <bsd.subdir.mk> 28