Add our READMEs
[dragonfly.git] / sys / Makefile
blobab8602a9e4ede8b2792fa7d938679a949ddd1fc5
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.13 2006/08/25 22:37:08 swildner Exp $
4 # This is the old aout only boot loader.
5 .if exists(${.CURDIR}/${MACHINE_ARCH}/boot) && ${OBJFORMAT} == "aout"
6 SUBDIR= ${MACHINE_ARCH}/boot
7 .elif exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf"
8 SUBDIR= boot
9 .endif
11 # KLD modules build for both a.out and ELF
13 .if defined(MODULES_WITH_WORLD)
14 .if defined(MODULES_OVERRIDE)
15 SUBDIR+=${MODULES_OVERRIDE}
16 .else
17 SUBDIR+=bus crypto emulation dev kern net netgraph netproto vfs
18 SUBDIR+=libiconv
19 .endif
20 .endif
22 HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
24 .include <bsd.subdir.mk>
26 all_sysent:
27 (cd ${.CURDIR}/kern; ${MAKE} sysent)
28 (cd ${.CURDIR}/emulation/linux/i386; ${MAKE} sysent)
30 # XXX this may be temporary, should the module build be incorporated
31 # into the default build (make the SUBDIR additions above non-conditional)?
33 modules:
34 cd ${.CURDIR} && ${MAKE} -f Makefile.modules
36 mobj:
37 cd ${.CURDIR} && ${MAKE} -f Makefile.modules obj
39 mclean:
40 cd ${.CURDIR} && ${MAKE} -f Makefile.modules clean
42 mcleanobj:
43 cd ${.CURDIR} && ${MAKE} -f Makefile.modules cleanobj
45 minstall:
46 cd ${.CURDIR} && ${MAKE} -f Makefile.modules install