1 1.6 soda # $NetBSD: Makefile,v 1.6 2000/01/23 21:01:48 soda Exp $ 2 1.6 soda # $OpenBSD: Makefile,v 1.5 1997/05/19 10:34:53 pefo Exp $ 3 1.6 soda # from: @(#)Makefile 8.1 (Berkeley) 6/16/93 4 1.1 jonathan 5 1.6 soda # Makefile for arc tags file and boot blocks 6 1.3 mycroft 7 1.3 mycroft # Find where mips source files are for inclusion in tags 8 1.3 mycroft .include <../mips/Makefile.inc> 9 1.3 mycroft 10 1.6 soda TARC= ../arc/tags 11 1.6 soda SARC= ../arc/algor/*.[ch] ../arc/arc/*.[ch] ../arc/dev/*.[ch] \ 12 1.6 soda ../arc/dti/*.[ch] ../arc/include/*.h ../arc/isa/*.[ch] \ 13 1.6 soda ../arc/pci/*.[ch] ../arc/pica/*.[ch] 14 1.6 soda AARC= ../arc/arc/*.S 15 1.3 mycroft 16 1.3 mycroft # Directories in which to place tags links 17 1.6 soda DARC= algor arc dev dti include isa pci pica 18 1.1 jonathan 19 1.4 cgd .include "../../kern/Make.tags.inc" 20 1.1 jonathan 21 1.3 mycroft tags: 22 1.6 soda -ctags -wdtf ${TARC} ${SARC} ${SMIPS} ${COMM} 23 1.6 soda egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AARC} ${AMIPS} | \ 24 1.3 mycroft sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 25 1.6 soda >> ${TARC} 26 1.6 soda sort -o ${TARC} ${TARC} 27 1.1 jonathan 28 1.3 mycroft links: 29 1.6 soda -for i in ${DARC}; do \ 30 1.3 mycroft cd $$i && rm -f tags; ln -s ../tags tags; done 31 1.1 jonathan 32 1.3 mycroft 33 1.6 soda SUBDIR= include stand 34 1.3 mycroft 35 1.3 mycroft .include <bsd.subdir.mk> 36