1 # $FreeBSD: src/sys/Makefile,v 1.20.2.1 2000/07/10 08:22:34 obrien Exp $
3 # Loadable kernel modules
5 .if defined
(MODULES_WITH_WORLD
)
6 .if defined
(MODULES_OVERRIDE
)
7 SUBDIR
+=${MODULES_OVERRIDE}
9 SUBDIR
+=bus crypto dev gnu kern net netbt netproto vfs
10 .if defined
(WANT_NETGRAPH7
)
19 .
include <bsd.subdir.mk
>
22 (cd
${.CURDIR
}/kern
; ${MAKE} sysent
)
24 # XXX this may be temporary, should the module build be incorporated
25 # into the default build (make the SUBDIR additions above non-conditional)?
28 cd
${.CURDIR
} && ${MAKE} -f Makefile.modules
31 cd
${.CURDIR
} && ${MAKE} -f Makefile.modules obj
34 cd
${.CURDIR
} && ${MAKE} -f Makefile.modules
clean
37 cd
${.CURDIR
} && ${MAKE} -f Makefile.modules cleanobj
40 cd
${.CURDIR
} && ${MAKE} -f Makefile.modules
install