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.4 2003/07/30 00:19:11 dillon 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"
11 .if exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "alpha"
15 # KLD modules build for both a.out and ELF
16 .if defined(MODULES_WITH_WORLD)
20 HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
22 .include <bsd.subdir.mk>
25 (cd ${.CURDIR}/kern; ${MAKE} init_sysent.c)
26 (cd ${.CURDIR}/svr4; ${MAKE} svr4_sysent.c)
27 (cd ${.CURDIR}/i386/linux; ${MAKE} linux_sysent.c)
28 (cd ${.CURDIR}/i386/ibcs2; ${MAKE} ibcs2_sysent.c)
29 (cd ${.CURDIR}/i386/ibcs2; ${MAKE} ibcs2_isc_sysent.c)
30 (cd ${.CURDIR}/i386/ibcs2; ${MAKE} ibcs2_xenix_sysent.c)