xref: /dragonfly/sys/Makefile (revision 1de703da)
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.2 2003/06/17 04:28:13 dillon Exp $
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>
23