1 # $NetBSD: Make.tags.inc,v 1.20 2009/06/29 18:03:37 dyoung Exp $
3 # from: @(#)Make.tags.inc 8.1 (Berkeley) 6/11/93
5 # Common files for "make tags".
6 # Included by the Makefile for each architecture.
8 # Put the ../sys stuff near the end so that subroutine definitions win when
9 # there is a struct tag with the same name (eg., vmmeter). The real
10 # solution would probably be for ctags to generate "struct vmmeter" tags.
13 # The invocation below returns every directory that contains sources, excluding
14 # the arch directories. Traditionally, COMM would have been an explicit list.
15 # This promises to be easier to maintain, considering how often the directory
16 # structure of the kernel sources has been changing recently.
17 SYSDIR?= ${.CURDIR:H:H}
18 FINDCOMM= find -H ${SYSDIR} \( -path '*/dist/ipf' -o -name arch -o -name rump -o -name coda \) -prune -o -type f -name "*.[ch]" \( \! -name 'altq.h' \! -name 'nbcompat.h' \! -name 'pf_osfp.c' \! -name 'unichromereg.h' \! -name 'usb_port.h' \! -name 'midway*' \! -name 'if_lmc.[ch]' \! -name 'aic79xxvar.h' \) -print | \