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