5 .if ${MACHINE_ARCH} != "arm"
10 # Directories to include in cscope name file and TAGS.
11 CSCOPEDIRS= coda compat conf contrib crypto ddb dev fs gnu i4b isa \
12 isofs kern libkern modules net netatalk netatm netgraph \
13 netinet netinet6 netipx netkey netnatm netncp netsmb nfs \
14 pccard pci posix4 sys ufs vm ${ARCHDIR}
18 # Loadable kernel modules
20 .if defined(MODULES_WITH_WORLD)
24 HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
26 cscope: ${.CURDIR}/cscopenamefile
27 cd ${.CURDIR}; cscope -k -p4 -i cscopenamefile
29 ${.CURDIR}/cscopenamefile:
30 cd ${.CURDIR}; find ${CSCOPEDIRS} -name "*.[csh]" > ${.TARGET}
32 TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscopenamefile
34 cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscopenamefile
36 .include <bsd.subdir.mk>