ecc: Use identify to add ecc device for E3-1200 memory controllers
[dragonfly.git] / sys / Makefile
blob8f71e2ece67b4f2884bb76b582c2c4413d31f5fe
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)
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 netproto vfs
16 .if defined(WANT_NETGRAPH7)
17 SUBDIR+=netgraph7
18 .else
19 SUBDIR+=netgraph
20 .endif
21 SUBDIR+=libiconv
22 .endif
23 .endif
25 HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
27 .include <bsd.subdir.mk>
29 all_sysent:
30 (cd ${.CURDIR}/kern; ${MAKE} sysent)
31 (cd ${.CURDIR}/emulation/linux/i386; ${MAKE} sysent)
33 # XXX this may be temporary, should the module build be incorporated
34 # into the default build (make the SUBDIR additions above non-conditional)?
36 modules:
37 cd ${.CURDIR} && ${MAKE} -f Makefile.modules
39 mobj:
40 cd ${.CURDIR} && ${MAKE} -f Makefile.modules obj
42 mclean:
43 cd ${.CURDIR} && ${MAKE} -f Makefile.modules clean
45 mcleanobj:
46 cd ${.CURDIR} && ${MAKE} -f Makefile.modules cleanobj
48 minstall:
49 cd ${.CURDIR} && ${MAKE} -f Makefile.modules install