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