kernel tree reorganization stage 1: Major cvs repository work (not logged as
[dragonfly.git] / sys / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/sys/Makefile,v 1.20.2.1 2000/07/10 08:22:34 obrien Exp $
1f2de5d4 2# $DragonFly: src/sys/Makefile,v 1.5 2003/08/07 21:16:41 dillon Exp $
984263bc
MD
3
4# This is the old aout only boot loader.
5.if exists(${.CURDIR}/${MACHINE_ARCH}/boot) && ${OBJFORMAT} == "aout"
6SUBDIR= ${MACHINE_ARCH}/boot
7.elif exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf"
8SUBDIR= boot
9.endif
10
11.if exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "alpha"
12SUBDIR= boot
13.endif
14
15# KLD modules build for both a.out and ELF
16.if defined(MODULES_WITH_WORLD)
17SUBDIR+=modules
18.endif
19
20HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
21
22.include <bsd.subdir.mk>
2fb326c0
MD
23
24all_sysent:
25 (cd ${.CURDIR}/kern; ${MAKE} init_sysent.c)
1f2de5d4
MD
26 (cd ${.CURDIR}/emulation/svr4; ${MAKE} svr4_sysent.c)
27 (cd ${.CURDIR}/emulation/linux/i386; ${MAKE} linux_sysent.c)
28 (cd ${.CURDIR}/emulation/ibcs2/i386; ${MAKE} ibcs2_sysent.c)
29 (cd ${.CURDIR}/emulation/ibcs2/i386; ${MAKE} ibcs2_isc_sysent.c)
30 (cd ${.CURDIR}/emulation/ibcs2/i386; ${MAKE} ibcs2_xenix_sysent.c)