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