1999-08-27 21:08:13 -04:00
|
|
|
# $FreeBSD$
|
1994-05-28 00:10:32 -04:00
|
|
|
|
2006-03-17 13:54:44 -05:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
2000-03-19 06:42:34 -05:00
|
|
|
# The boot loader
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_BOOT} != "no"
|
2003-06-25 23:52:48 -04:00
|
|
|
SUBDIR= boot
|
2004-05-15 20:19:12 -04:00
|
|
|
.endif
|
1998-11-03 01:50:58 -05:00
|
|
|
|
2005-03-04 19:56:15 -05:00
|
|
|
# Directories to include in cscope name file and TAGS.
|
2007-04-14 12:29:15 -04:00
|
|
|
CSCOPEDIRS= bsm cam coda compat conf contrib crypto ddb dev fs geom gnu \
|
|
|
|
|
i4b isa kern libkern modules net net80211 netatalk netatm \
|
2006-05-29 15:29:41 -04:00
|
|
|
netgraph netinet netinet6 netipx netkey netnatm netncp \
|
2007-04-14 12:29:15 -04:00
|
|
|
netsmb nfs nfsclient nfs4client rpc pccard pci security sys \
|
2006-05-29 15:29:41 -04:00
|
|
|
ufs vm ${ARCHDIR}
|
2005-03-04 19:56:15 -05:00
|
|
|
|
2005-03-07 19:09:41 -05:00
|
|
|
ARCHDIR ?= ${MACHINE}
|
2005-03-04 19:56:15 -05:00
|
|
|
|
2004-01-16 22:28:27 -05:00
|
|
|
# Loadable kernel modules
|
2005-03-04 19:56:15 -05:00
|
|
|
|
2000-06-17 06:51:56 -04:00
|
|
|
.if defined(MODULES_WITH_WORLD)
|
|
|
|
|
SUBDIR+=modules
|
|
|
|
|
.endif
|
|
|
|
|
|
1997-07-13 03:36:20 -04:00
|
|
|
HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
|
|
|
|
|
|
2005-03-04 19:56:15 -05: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 00:10:32 -04:00
|
|
|
.include <bsd.subdir.mk>
|