Makefile revision 143145
150477Speter# $FreeBSD: head/sys/Makefile 143145 2005-03-05 00:56:15Z grog $ 21598Srgrimes 358284Speter# The boot loader 4134007Sdes.if !defined(NO_BOOT) 5129269Scognet.if ${MACHINE_ARCH} != "arm" 6116865SpeterSUBDIR= boot 7129269Scognet.endif 8134007Sdes.endif 91598Srgrimes 10143145Sgrog# Directories to include in cscope name file and TAGS. 11143145SgrogCSCOPEDIRS= coda compat conf contrib crypto ddb dev fs gnu i4b isa \ 12143145Sgrog isofs kern libkern modules net netatalk netatm netgraph \ 13143145Sgrog netinet netinet6 netipx netkey netnatm netncp netsmb nfs \ 14143145Sgrog pccard pci posix4 sys ufs vm ${ARCHDIR} 15143145Sgrog 16143145SgrogARCHDIR ?= i386 17143145Sgrog 18124610Sru# Loadable kernel modules 19143145Sgrog 2061744Sobrien.if defined(MODULES_WITH_WORLD) 2161744SobrienSUBDIR+=modules 2261744Sobrien.endif 2361744Sobrien 2427356SjkhHTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh` 2527356Sjkh 26143145Sgrogcscope: ${.CURDIR}/cscopenamefile 27143145Sgrog cd ${.CURDIR}; cscope -k -p4 -i cscopenamefile 28143145Sgrog 29143145Sgrog${.CURDIR}/cscopenamefile: 30143145Sgrog cd ${.CURDIR}; find ${CSCOPEDIRS} -name "*.[csh]" > ${.TARGET} 31143145Sgrog 32143145SgrogTAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscopenamefile 33143145Sgrog rm -f ${.CURDIR}/TAGS 34143145Sgrog cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscopenamefile 35143145Sgrog 361598Srgrimes.include <bsd.subdir.mk> 37