Makefile revision 1.6
11.6Ssoda# $NetBSD: Makefile,v 1.6 2000/01/23 21:01:48 soda Exp $ 21.6Ssoda# $OpenBSD: Makefile,v 1.5 1997/05/19 10:34:53 pefo Exp $ 31.6Ssoda# from: @(#)Makefile 8.1 (Berkeley) 6/16/93 41.1Sjonathan 51.6Ssoda# Makefile for arc tags file and boot blocks 61.3Smycroft 71.3Smycroft# Find where mips source files are for inclusion in tags 81.3Smycroft.include <../mips/Makefile.inc> 91.3Smycroft 101.6SsodaTARC= ../arc/tags 111.6SsodaSARC= ../arc/algor/*.[ch] ../arc/arc/*.[ch] ../arc/dev/*.[ch] \ 121.6Ssoda ../arc/dti/*.[ch] ../arc/include/*.h ../arc/isa/*.[ch] \ 131.6Ssoda ../arc/pci/*.[ch] ../arc/pica/*.[ch] 141.6SsodaAARC= ../arc/arc/*.S 151.3Smycroft 161.3Smycroft# Directories in which to place tags links 171.6SsodaDARC= algor arc dev dti include isa pci pica 181.1Sjonathan 191.4Scgd.include "../../kern/Make.tags.inc" 201.1Sjonathan 211.3Smycrofttags: 221.6Ssoda -ctags -wdtf ${TARC} ${SARC} ${SMIPS} ${COMM} 231.6Ssoda egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AARC} ${AMIPS} | \ 241.3Smycroft sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 251.6Ssoda >> ${TARC} 261.6Ssoda sort -o ${TARC} ${TARC} 271.1Sjonathan 281.3Smycroftlinks: 291.6Ssoda -for i in ${DARC}; do \ 301.3Smycroft cd $$i && rm -f tags; ln -s ../tags tags; done 311.1Sjonathan 321.3Smycroft 331.6SsodaSUBDIR= include stand 341.3Smycroft 351.3Smycroft.include <bsd.subdir.mk> 36