1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1994-05-28 04:10:32 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2000-03-19 11:42:34 +00:00
|
|
|
# The boot loader
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_BOOT} != "no"
|
2004-05-16 00:19:12 +00:00
|
|
|
.if ${MACHINE_ARCH} != "arm"
|
2003-06-26 03:52:48 +00:00
|
|
|
SUBDIR= boot
|
2004-05-16 00:19:12 +00:00
|
|
|
.endif
|
2004-08-19 09:54:28 +00:00
|
|
|
.endif
|
1998-11-03 06:50:58 +00:00
|
|
|
|
2005-03-05 00:56:15 +00:00
|
|
|
# Directories to include in cscope name file and TAGS.
|
|
|
|
CSCOPEDIRS= coda compat conf contrib crypto ddb dev fs gnu i4b isa \
|
2006-05-29 19:29:41 +00:00
|
|
|
isofs kern libkern modules net net80211 netatalk netatm \
|
|
|
|
netgraph netinet netinet6 netipx netkey netnatm netncp \
|
|
|
|
netsmb nfs nfsclient nfs4client rpc pccard pci posix4 sys \
|
|
|
|
ufs vm ${ARCHDIR}
|
2005-03-05 00:56:15 +00:00
|
|
|
|
2005-03-08 00:09:41 +00:00
|
|
|
ARCHDIR ?= ${MACHINE}
|
2005-03-05 00:56:15 +00:00
|
|
|
|
2004-01-17 03:28:27 +00:00
|
|
|
# Loadable kernel modules
|
2005-03-05 00:56:15 +00:00
|
|
|
|
2000-06-17 10:51:56 +00:00
|
|
|
.if defined(MODULES_WITH_WORLD)
|
|
|
|
SUBDIR+=modules
|
|
|
|
.endif
|
|
|
|
|
1997-07-13 07:36:20 +00:00
|
|
|
HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
|
|
|
|
|
2005-03-05 00:56:15 +00:00
|
|
|
cscope: ${.CURDIR}/cscopenamefile
|
|
|
|
cd ${.CURDIR}; cscope -k -p4 -i cscopenamefile
|
|
|
|
|
|
|
|
${.CURDIR}/cscopenamefile:
|
|
|
|
cd ${.CURDIR}; find ${CSCOPEDIRS} -name "*.[csh]" > ${.TARGET}
|
|
|
|
|
|
|
|
TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscopenamefile
|
|
|
|
rm -f ${.CURDIR}/TAGS
|
|
|
|
cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscopenamefile
|
|
|
|
|
1994-05-28 04:10:32 +00:00
|
|
|
.include <bsd.subdir.mk>
|