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