bge: Avoid accessing invalid internal memory region on BCM5906
[dragonfly.git] / sys / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/sys/Makefile,v 1.20.2.1 2000/07/10 08:22:34 obrien Exp $
0a9108eb 2# $DragonFly: src/sys/Makefile,v 1.16 2007/12/30 20:02:56 hasso Exp $
984263bc
MD
3
4# This is the old aout only boot loader.
530cd38b 5.if exists(${.CURDIR}/boot)
984263bc
MD
6SUBDIR= boot
7.endif
8
984263bc 9# KLD modules build for both a.out and ELF
7aa93ecf 10#
984263bc 11.if defined(MODULES_WITH_WORLD)
1d595873
MD
12.if defined(MODULES_OVERRIDE)
13SUBDIR+=${MODULES_OVERRIDE}
14.else
3149d375
NA
15SUBDIR+=bus crypto emulation dev kern net netbt netproto vfs
16.if defined(WANT_NETGRAPH7)
17SUBDIR+=netgraph7
18.else
19SUBDIR+=netgraph
20.endif
6edd9ef2 21SUBDIR+=libiconv
984263bc 22.endif
1d595873 23.endif
984263bc
MD
24
25HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
26
27.include <bsd.subdir.mk>
2fb326c0
MD
28
29all_sysent:
53b3c2d0 30 (cd ${.CURDIR}/kern; ${MAKE} sysent)
53b3c2d0 31 (cd ${.CURDIR}/emulation/linux/i386; ${MAKE} sysent)
53b3c2d0
MD
32
33# XXX this may be temporary, should the module build be incorporated
34# into the default build (make the SUBDIR additions above non-conditional)?
35#
36modules:
37 cd ${.CURDIR} && ${MAKE} -f Makefile.modules
38
39mobj:
40 cd ${.CURDIR} && ${MAKE} -f Makefile.modules obj
41
42mclean:
43 cd ${.CURDIR} && ${MAKE} -f Makefile.modules clean
44
45mcleanobj:
46 cd ${.CURDIR} && ${MAKE} -f Makefile.modules cleanobj
47
48minstall:
49 cd ${.CURDIR} && ${MAKE} -f Makefile.modules install
50