1 # from: @(#)Makefile 8.1 (Berkeley) 6/16/93 2 # $Id: Makefile,v 1.1.1.2 2000/01/23 20:24:23 soda Exp $ 3 4 # Makefile for arc links, tags file 5 6 .include "../../kern/Make.tags.inc" 7 8 SUBDIR= stand 9 10 NOPROG= noprog 11 NOOBJ= noman 12 13 TARC= ../arc/tags 14 SARC= ../arc/arc/*.[ch] ../arc/dev/*.[ch] ../arc/dti/*.[ch] \ 15 ../arc/include/*.h ../arc/isa/*.[ch] ../arc/pci/*.[ch] \ 16 ../arc/pica/*.[ch] 17 AARC= ../arc/arc/*.S 18 19 DARC= arc dev dti include isa pci pica 20 21 tags: 22 -ctags -wdtf ${TARC} ${COMM} ${SARC} 23 egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AARC} | \ 24 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 25 >> ${TARC} 26 sort -o ${TARC} ${TARC} 27 28 links: 29 -for i in ${DARC}; do \ 30 cd $$i && rm -f tags; ln -s ../tags tags; done 31 32 33 obj: _SUBDIRUSE 34 35 .include <bsd.prog.mk> 36