1984263bcSMatthew Dillon# $FreeBSD: src/sys/Makefile,v 1.20.2.1 2000/07/10 08:22:34 obrien Exp $ 2984263bcSMatthew Dillon 3dde7dbc0Szrj# Loadable kernel modules 47aa93ecfSMatthew Dillon# 5984263bcSMatthew Dillon.if defined(MODULES_WITH_WORLD) 61d595873SMatthew Dillon.if defined(MODULES_OVERRIDE) 71d595873SMatthew DillonSUBDIR+=${MODULES_OVERRIDE} 81d595873SMatthew Dillon.else 9*ae75c143SSascha WildnerSUBDIR+=bus crypto dev gnu kern net netbt netproto vfs 103149d375SNuno Antunes.if defined(WANT_NETGRAPH7) 113149d375SNuno AntunesSUBDIR+=netgraph7 123149d375SNuno Antunes.else 133149d375SNuno AntunesSUBDIR+=netgraph 143149d375SNuno Antunes.endif 156edd9ef2SMatthew DillonSUBDIR+=libiconv 16984263bcSMatthew Dillon.endif 171d595873SMatthew Dillon.endif 18984263bcSMatthew Dillon 19984263bcSMatthew Dillon.include <bsd.subdir.mk> 202fb326c0SMatthew Dillon 212fb326c0SMatthew Dillonall_sysent: 2253b3c2d0SMatthew Dillon (cd ${.CURDIR}/kern; ${MAKE} sysent) 2353b3c2d0SMatthew Dillon 2453b3c2d0SMatthew Dillon# XXX this may be temporary, should the module build be incorporated 2553b3c2d0SMatthew Dillon# into the default build (make the SUBDIR additions above non-conditional)? 2653b3c2d0SMatthew Dillon# 2753b3c2d0SMatthew Dillonmodules: 2853b3c2d0SMatthew Dillon cd ${.CURDIR} && ${MAKE} -f Makefile.modules 2953b3c2d0SMatthew Dillon 3053b3c2d0SMatthew Dillonmobj: 3153b3c2d0SMatthew Dillon cd ${.CURDIR} && ${MAKE} -f Makefile.modules obj 3253b3c2d0SMatthew Dillon 3353b3c2d0SMatthew Dillonmclean: 3453b3c2d0SMatthew Dillon cd ${.CURDIR} && ${MAKE} -f Makefile.modules clean 3553b3c2d0SMatthew Dillon 3653b3c2d0SMatthew Dillonmcleanobj: 3753b3c2d0SMatthew Dillon cd ${.CURDIR} && ${MAKE} -f Makefile.modules cleanobj 3853b3c2d0SMatthew Dillon 3953b3c2d0SMatthew Dillonminstall: 4053b3c2d0SMatthew Dillon cd ${.CURDIR} && ${MAKE} -f Makefile.modules install 4153b3c2d0SMatthew Dillon 42