1 1.4 cgd # $NetBSD: Makefile,v 1.5 2000/01/23 20:07:59 soda Exp $ 2 1.1 jonathan 3 1.3 mycroft # Makefile for pica tags file and boot blocks 4 1.3 mycroft 5 1.3 mycroft # Find where mips source files are for inclusion in tags 6 1.3 mycroft .include <../mips/Makefile.inc> 7 1.3 mycroft 8 1.3 mycroft TPICA= ../pica/tags 9 1.3 mycroft SPICA= ../pica/pica/*.[ch] ../pica/include/*.[ch] \ 10 1.3 mycroft ../pica/dev/*.[ch] ../pica/ultrix/*.[ch] 11 1.3 mycroft APICA= ../pica/pica/*.s 12 1.3 mycroft 13 1.3 mycroft # Directories in which to place tags links 14 1.3 mycroft DPICA= dev dist include pica 15 1.1 jonathan 16 1.4 cgd .include "../../kern/Make.tags.inc" 17 1.1 jonathan 18 1.3 mycroft tags: 19 1.3 mycroft -ctags -wdtf ${TPICA} ${SPICA} ${SMIPS} ${COMM} 20 1.3 mycroft egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${APICA} ${AMIPS} | \ 21 1.3 mycroft sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 22 1.3 mycroft >> ${TPICA} 23 1.3 mycroft sort -o ${TPICA} ${TPICA} 24 1.1 jonathan 25 1.3 mycroft links: 26 1.3 mycroft -for i in ${DPICA}; do \ 27 1.3 mycroft cd $$i && rm -f tags; ln -s ../tags tags; done 28 1.1 jonathan 29 1.3 mycroft 30 1.4 cgd SUBDIR= include 31 1.3 mycroft 32 1.3 mycroft .include <bsd.subdir.mk> 33