1 # $FreeBSD: src/sys/Makefile,v 1.20.2.1 2000/07/10 08:22:34 obrien Exp $
4 .if exists
(${.CURDIR
}/boot
)
8 # Loadable kernel modules
10 .if defined
(MODULES_WITH_WORLD
)
11 .if defined
(MODULES_OVERRIDE
)
12 SUBDIR
+=${MODULES_OVERRIDE}
14 SUBDIR
+=bus crypto dev emulation gnu kern net netbt netproto vfs
15 .if defined
(WANT_NETGRAPH7
)
24 .
include <bsd.subdir.mk
>
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)?
33 cd
${.CURDIR
} && ${MAKE} -f Makefile.modules
36 cd
${.CURDIR
} && ${MAKE} -f Makefile.modules obj
39 cd
${.CURDIR
} && ${MAKE} -f Makefile.modules
clean
42 cd
${.CURDIR
} && ${MAKE} -f Makefile.modules cleanobj
45 cd
${.CURDIR
} && ${MAKE} -f Makefile.modules
install