1 1.3 eeh # $NetBSD: Makefile,v 1.3 1998/09/05 23:57:24 eeh Exp $ 2 1.1 eeh 3 1.1 eeh # Makefile for sparc64 tags file and boot blocks 4 1.1 eeh 5 1.1 eeh TSPARC64= ../sparc64/tags 6 1.1 eeh SSPARC64= ../sparc64/dev/*.[ch] ../sparc64/fpu/*.[ch] \ 7 1.1 eeh ../sparc64/include/*.[ch] ../sparc64/sparc64/*.[ch] 8 1.1 eeh ASPARC64= ../sparc64/sparc64/*.s 9 1.1 eeh 10 1.1 eeh # Directories in which to place tags links 11 1.1 eeh DSPARC64= conf dev fpu include sparc64 12 1.1 eeh 13 1.1 eeh tags: 14 1.1 eeh -ctags -wdtf ${TSPARC64} ${SSPARC64} ${COMM} 15 1.1 eeh egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \ 16 1.1 eeh sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 17 1.1 eeh >> tags 18 1.1 eeh sort -o ${TSPARC64} ${TSPARC64} 19 1.3 eeh 20 1.3 eeh TAGS: 21 1.3 eeh @find ../.. -name '*.[chsS]' -print | grep -v CVS >filist 22 1.3 eeh etags `grep sparc64 filist` `grep -v arch filist` 23 1.3 eeh -${RM} fillist 24 1.1 eeh 25 1.1 eeh links: 26 1.1 eeh -for i in ${DSPARC64}; do \ 27 1.1 eeh cd $$i && rm -f tags; ln -s ../tags tags; done 28 1.1 eeh 29 1.1 eeh 30 1.2 eeh SUBDIR= include stand 31 1.1 eeh 32 1.1 eeh .include <bsd.subdir.mk> 33