blob: 5a04f78e8ebb0ce7ea8f3a7e2130b60f82a75e6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $FreeBSD$
.if ${MACHINE_ARCH} == "amd64"
.MAKEFLAGS: MACHINE_ARCH=i386 MACHINE=i386 REALLY_AMD64=true
.endif
.if !defined(NOFORTH) && ${MACHINE_ARCH} != "powerpc"
# Build the add-in FORTH interpreter
SUBDIR+= ficl
.endif
# Build OpenFirmware library
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
SUBDIR+= ofw
.endif
# Pick the machine-dependant subdir based on the target architecture.
SUBDIR+= ${MACHINE}
# Build ARC / AlphaBIOS executable on the Alpha
# (this is a WIP (work in progress))
#.if ${MACHINE_ARCH} == "alpha"
#SUBDIR+= arc
#.endif
# Build EFI executable on ia64
.if ${MACHINE_ARCH} == "ia64"
SUBDIR+= efi
.endif
.include <bsd.subdir.mk>
|