Initial import from FreeBSD RELENG_4:
[dragonfly.git] / sys / Makefile
CommitLineData
984263bc
MD
1# $FreeBSD: src/sys/Makefile,v 1.20.2.1 2000/07/10 08:22:34 obrien Exp $
2
3# This is the old aout only boot loader.
4.if exists(${.CURDIR}/${MACHINE_ARCH}/boot) && ${OBJFORMAT} == "aout"
5SUBDIR= ${MACHINE_ARCH}/boot
6.elif exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf"
7SUBDIR= boot
8.endif
9
10.if exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "alpha"
11SUBDIR= boot
12.endif
13
14# KLD modules build for both a.out and ELF
15.if defined(MODULES_WITH_WORLD)
16SUBDIR+=modules
17.endif
18
19HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
20
21.include <bsd.subdir.mk>