xref: /dragonfly/sys/Makefile (revision caaec4e3)
1# $FreeBSD: src/sys/Makefile,v 1.20.2.1 2000/07/10 08:22:34 obrien Exp $
2
3# The boot loader
4.if	exists(${.CURDIR}/boot)
5SUBDIR=	boot
6.endif
7
8# Loadable kernel modules
9#
10.if defined(MODULES_WITH_WORLD)
11.if defined(MODULES_OVERRIDE)
12SUBDIR+=${MODULES_OVERRIDE}
13.else
14SUBDIR+=bus crypto dev emulation gnu kern net netbt netproto vfs
15.if defined(WANT_NETGRAPH7)
16SUBDIR+=netgraph7
17.else
18SUBDIR+=netgraph
19.endif
20SUBDIR+=libiconv
21.endif
22.endif
23
24.include <bsd.subdir.mk>
25
26all_sysent:
27	(cd ${.CURDIR}/kern; ${MAKE} sysent)
28
29# XXX this may be temporary, should the module build be incorporated
30# into the default build (make the SUBDIR additions above non-conditional)?
31#
32modules:
33	cd ${.CURDIR} && ${MAKE} -f Makefile.modules
34
35mobj:
36	cd ${.CURDIR} && ${MAKE} -f Makefile.modules obj
37
38mclean:
39	cd ${.CURDIR} && ${MAKE} -f Makefile.modules clean
40
41mcleanobj:
42	cd ${.CURDIR} && ${MAKE} -f Makefile.modules cleanobj
43
44minstall:
45	cd ${.CURDIR} && ${MAKE} -f Makefile.modules install
46
47