1 1.1.6.2 bouyer # $NetBSD: Makefile,v 1.1.6.2 2000/11/20 20:22:55 bouyer Exp $ 2 1.1.6.2 bouyer 3 1.1.6.2 bouyer # Makefile for tags file 4 1.1.6.2 bouyer 5 1.1.6.2 bouyer TPREP= ../prep/tags 6 1.1.6.2 bouyer SPREP= ../prep/prep/*.[ch] ../prep/include/*.h ../prep/isa/*.[ch] \ 7 1.1.6.2 bouyer ../prep/pci/*.[ch] 8 1.1.6.2 bouyer APREP= ../prep/prep/*.[sS] 9 1.1.6.2 bouyer 10 1.1.6.2 bouyer # Directories in which to place tags links 11 1.1.6.2 bouyer DPREP= include 12 1.1.6.2 bouyer 13 1.1.6.2 bouyer .include "../../kern/Make.tags.inc" 14 1.1.6.2 bouyer 15 1.1.6.2 bouyer tags: 16 1.1.6.2 bouyer -ctags -wdtf ${TPREP} ${SPREP} ${COMM} 17 1.1.6.2 bouyer egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${APREP} | \ 18 1.1.6.2 bouyer sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 19 1.1.6.2 bouyer >> ${TPREP} 20 1.1.6.2 bouyer sort -o ${TPREP} ${TPREP} 21 1.1.6.2 bouyer 22 1.1.6.2 bouyer links: 23 1.1.6.2 bouyer -for i in ${DPREP}; do \ 24 1.1.6.2 bouyer cd $$i && rm -f tags; ln -s ../tags tags; done 25 1.1.6.2 bouyer 26 1.1.6.2 bouyer SUBDIR= include stand 27 1.1.6.2 bouyer 28 1.1.6.2 bouyer .include <bsd.subdir.mk> 29