1999-04-21 11:09:40 +00:00
|
|
|
# $Id: Makefile,v 1.16 1998/12/30 12:06:08 bde Exp $
|
1994-05-28 04:10:32 +00:00
|
|
|
|
1998-12-30 12:06:08 +00:00
|
|
|
# This is the old aout only boot loader.
|
1999-04-21 11:09:40 +00:00
|
|
|
.if exists(${.CURDIR}/${MACHINE}/boot) && ${OBJFORMAT} == "aout"
|
1998-12-30 12:06:08 +00:00
|
|
|
SUBDIR= ${MACHINE}/boot
|
1999-04-21 11:09:40 +00:00
|
|
|
.elif exists(${.CURDIR}/boot) && ${MACHINE} == "i386" && ${OBJFORMAT} == "elf"
|
1998-12-30 12:06:08 +00:00
|
|
|
SUBDIR= boot
|
1998-10-04 00:42:08 +00:00
|
|
|
.endif
|
|
|
|
|
1999-04-21 11:09:40 +00:00
|
|
|
.if exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "alpha"
|
1998-12-30 12:06:08 +00:00
|
|
|
SUBDIR= boot
|
1998-12-30 11:17:09 +00:00
|
|
|
.endif
|
1998-11-03 06:50:58 +00:00
|
|
|
|
1998-12-30 12:06:08 +00:00
|
|
|
# KLD modules build for both a.out and ELF
|
|
|
|
SUBDIR+=modules
|
|
|
|
|
1997-07-13 07:36:20 +00:00
|
|
|
HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
|
|
|
|
|
1994-05-28 04:10:32 +00:00
|
|
|
.include <bsd.subdir.mk>
|