HAMMER 60I/Many: Mirroring
[dragonfly.git] / sys / Makefile
blob572b368993c2b1343d84ba59f0e21bbdbadbc44b
1 # $FreeBSD: src/sys/Makefile,v 1.20.2.1 2000/07/10 08:22:34 obrien Exp $
2 # $DragonFly: src/sys/Makefile,v 1.16 2007/12/30 20:02:56 hasso Exp $
4 # This is the old aout only boot loader.
5 .if exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf"
6 SUBDIR= boot
7 .endif
9 # KLD modules build for both a.out and ELF
11 .if defined(MODULES_WITH_WORLD)
12 .if defined(MODULES_OVERRIDE)
13 SUBDIR+=${MODULES_OVERRIDE}
14 .else
15 SUBDIR+=bus crypto emulation dev kern net netbt netgraph netproto vfs
16 SUBDIR+=libiconv
17 .endif
18 .endif
20 HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
22 .include <bsd.subdir.mk>
24 all_sysent:
25 (cd ${.CURDIR}/kern; ${MAKE} sysent)
26 (cd ${.CURDIR}/emulation/linux/i386; ${MAKE} sysent)
28 # XXX this may be temporary, should the module build be incorporated
29 # into the default build (make the SUBDIR additions above non-conditional)?
31 modules:
32 cd ${.CURDIR} && ${MAKE} -f Makefile.modules
34 mobj:
35 cd ${.CURDIR} && ${MAKE} -f Makefile.modules obj
37 mclean:
38 cd ${.CURDIR} && ${MAKE} -f Makefile.modules clean
40 mcleanobj:
41 cd ${.CURDIR} && ${MAKE} -f Makefile.modules cleanobj
43 minstall:
44 cd ${.CURDIR} && ${MAKE} -f Makefile.modules install