1999-11-14 13:54:44 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-04-30 22:13:36 +00:00
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
|
|
MACHINE_ARCH=i386
|
|
|
|
MACHINE=i386
|
|
|
|
.endif
|
|
|
|
|
2003-02-13 04:35:04 +00:00
|
|
|
.if !defined(NOFORTH)
|
1998-11-03 06:11:35 +00:00
|
|
|
# Build the add-in FORTH interpreter
|
|
|
|
SUBDIR+= ficl
|
2003-02-13 04:35:04 +00:00
|
|
|
.endif
|
1998-11-03 06:11:35 +00:00
|
|
|
|
2002-03-28 01:37:10 +00:00
|
|
|
# Build OpenFirmware library
|
|
|
|
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
|
2000-11-10 06:29:42 +00:00
|
|
|
SUBDIR+= ofw
|
|
|
|
.endif
|
|
|
|
|
1998-11-03 06:11:35 +00:00
|
|
|
# Pick the machine-dependant subdir based on the target architecture.
|
1999-11-15 08:31:14 +00:00
|
|
|
SUBDIR+= ${MACHINE}
|
1998-08-21 03:17:42 +00:00
|
|
|
|
1999-07-28 20:32:44 +00:00
|
|
|
# Build ARC / AlphaBIOS executable on the Alpha
|
2001-03-25 23:07:44 +00:00
|
|
|
# (this is a WIP (work in progress))
|
|
|
|
#.if ${MACHINE_ARCH} == "alpha"
|
|
|
|
#SUBDIR+= arc
|
|
|
|
#.endif
|
1999-07-28 20:32:44 +00:00
|
|
|
|
2001-06-09 16:49:51 +00:00
|
|
|
# Build EFI executable on ia64
|
|
|
|
.if ${MACHINE_ARCH} == "ia64"
|
|
|
|
SUBDIR+= efi
|
|
|
|
.endif
|
|
|
|
|
1998-08-21 03:17:42 +00:00
|
|
|
.include <bsd.subdir.mk>
|