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