Makefile revision 1.1
1# $NetBSD: Makefile,v 1.1 1998/06/20 04:58:50 eeh Exp $ 2 3# Makefile for sparc64 tags file and boot blocks 4 5TSPARC64= ../sparc64/tags 6SSPARC64= ../sparc64/dev/*.[ch] ../sparc64/fpu/*.[ch] \ 7 ../sparc64/include/*.[ch] ../sparc64/sparc64/*.[ch] 8ASPARC64= ../sparc64/sparc64/*.s 9 10# Directories in which to place tags links 11DSPARC64= conf dev fpu include sparc64 12 13tags: 14 -ctags -wdtf ${TSPARC64} ${SSPARC64} ${COMM} 15 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \ 16 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 17 >> tags 18 sort -o ${TSPARC64} ${TSPARC64} 19 20links: 21 -for i in ${DSPARC64}; do \ 22 cd $$i && rm -f tags; ln -s ../tags tags; done 23 24 25SUBDIR= stand 26 27.include <bsd.subdir.mk> 28