FreeBSD/Linux Kernel Cross Reference
sys/Makefile
1 # $FreeBSD: releng/6.2/sys/Makefile 164538 2006-11-23 02:13:40Z obrien $
2
3 .if ${MACHINE_ARCH} == "arm"
4 NO_BOOT=
5 .endif
6
7 # The boot loader
8 .if !defined(NO_BOOT)
9 SUBDIR= boot
10 .endif
11
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 \
17 ${ARCHDIR}
18
19 ARCHDIR ?= ${MACHINE}
20
21 # Loadable kernel modules
22
23 .if defined(MODULES_WITH_WORLD)
24 SUBDIR+=modules
25 .endif
26
27 HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
28
29 cscope: ${.CURDIR}/cscopenamefile
30 cd ${.CURDIR}; cscope -k -p4 -i cscopenamefile
31
32 ${.CURDIR}/cscopenamefile:
33 cd ${.CURDIR}; find ${CSCOPEDIRS} -name "*.[csh]" > ${.TARGET}
34
35 TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscopenamefile
36 rm -f ${.CURDIR}/TAGS
37 cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscopenamefile
38
39 .include <bsd.subdir.mk>
Cache object: 225635f3ffea5aeb1fd26c34579e0e76
|