1 1.1.2.2 bouyer # $NetBSD: Makefile,v 1.1.2.2 2001/01/08 14:56:12 bouyer Exp $ 2 1.1.2.2 bouyer 3 1.1.2.2 bouyer # Makefile for dreamcast tags file and boot blocks 4 1.1.2.2 bouyer 5 1.1.2.2 bouyer #.include "../sh3/Makefile.inc" 6 1.1.2.2 bouyer 7 1.1.2.2 bouyer TDREAMCAST= ../dreamcast/tags 8 1.1.2.2 bouyer SDREAMCAST= ../dreamcast/dreamcast/*.[ch] ../dreamcast/include/*.h 9 1.1.2.2 bouyer ADREAMCAST= ../dreamcast/dreamcast/*.[sS] 10 1.1.2.2 bouyer 11 1.1.2.2 bouyer # Directories in which to place tags links 12 1.1.2.2 bouyer DDREAMCAST= dreamcast include 13 1.1.2.2 bouyer 14 1.1.2.2 bouyer .include "../../kern/Make.tags.inc" 15 1.1.2.2 bouyer 16 1.1.2.2 bouyer tags: 17 1.1.2.2 bouyer -ctags -wdtf ${TDREAMCAST} ${SDREAMCAST} ${COMM} 18 1.1.2.2 bouyer egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ADREAMCAST} | \ 19 1.1.2.2 bouyer sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 20 1.1.2.2 bouyer >> ${TDREAMCAST} 21 1.1.2.2 bouyer sort -o ${TDREAMCAST} ${TDREAMCAST} 22 1.1.2.2 bouyer 23 1.1.2.2 bouyer links: 24 1.1.2.2 bouyer -for i in ${DDREAMCAST}; do \ 25 1.1.2.2 bouyer (cd $$i && rm -f tags; ln -s ../tags tags); done 26 1.1.2.2 bouyer 27 1.1.2.2 bouyer 28 1.1.2.2 bouyer SUBDIR= include # stand 29 1.1.2.2 bouyer 30 1.1.2.2 bouyer .include <bsd.subdir.mk> 31