Add ids for Broadcom's BCM5714 and Comtrol RocketPort boards.
[dragonfly.git] / sys / Makefile
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.12 2006/05/22 06:26:29 swildner Exp $
3
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
10
11 .if     exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "alpha"
12 SUBDIR= boot
13 .endif
14
15 # KLD modules build for both a.out and ELF
16 #
17 .if defined(MODULES_WITH_WORLD)
18 .if defined(MODULES_OVERRIDE)
19 SUBDIR+=${MODULES_OVERRIDE}
20 .else
21 SUBDIR+=bus crypto emulation dev kern net netgraph netproto vfs
22 SUBDIR+=libiconv
23 .endif
24 .endif
25
26 HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
27
28 .include <bsd.subdir.mk>
29
30 all_sysent:
31         (cd ${.CURDIR}/kern; ${MAKE} sysent)
32         (cd ${.CURDIR}/emulation/linux/i386; ${MAKE} sysent) 
33
34 # XXX this may be temporary, should the module build be incorporated
35 # into the default build (make the SUBDIR additions above non-conditional)?
36 #
37 modules:
38         cd ${.CURDIR} && ${MAKE} -f Makefile.modules
39
40 mobj:
41         cd ${.CURDIR} && ${MAKE} -f Makefile.modules obj
42
43 mclean:
44         cd ${.CURDIR} && ${MAKE} -f Makefile.modules clean
45
46 mcleanobj:
47         cd ${.CURDIR} && ${MAKE} -f Makefile.modules cleanobj
48
49 minstall:
50         cd ${.CURDIR} && ${MAKE} -f Makefile.modules install
51