xref: /freebsd/sys/Makefile (revision 2ad872c5794e4c26fdf6ed219ad3f09ca0d5304a)
1#	$Id: Makefile,v 1.15 1998/12/30 11:17:09 bde Exp $
2
3# This is the old aout only boot loader.
4.if	exists(${MACHINE}/boot) && ${OBJFORMAT} == "aout"
5SUBDIR=	${MACHINE}/boot
6.elif	exists(boot) && ${MACHINE} == "i386" && ${OBJFORMAT} == "elf"
7SUBDIR=	boot
8.endif
9
10.if	exists(boot) && ${MACHINE_ARCH} == "alpha"
11SUBDIR= boot
12.endif
13
14# KLD modules build for both a.out and ELF
15SUBDIR+=modules
16
17HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
18
19.include <bsd.subdir.mk>
20