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