3 # This file is included by netbsd-compat.mk in the emulator framework.
5 # Variables set by this file:
8 # The NetBSD distribution used to provide the files.
11 # The executable format of the emulated operating system.
14 # Path relative to ${PREFIX} where the files and directories are
15 # located, e.g. emul/aout.
17 # DEPENDS_${EMUL_DISTRO}.*
18 # A table that maps "modules" to NetBSD package dependencies.
21 EMUL_DISTRO
= netbsd-1.4
23 # i386 and sparc switched from a.out to ELF post-1.4.
24 # arm, m68k and vax switched from a.out to ELF post-1.5.
25 # ns32k never switched from a.out.
27 .if
(${EMUL_ARCH} == "arm") ||
(${EMUL_ARCH} == "i386") || \
28 (${EMUL_ARCH} == "m68k") ||
(${EMUL_ARCH} == "ns32k") || \
29 (${EMUL_ARCH} == "sparc") ||
(${EMUL_ARCH} == "vax")
35 .if
(${NATIVE_EXEC_FMT} == "ELF") && (${EMUL_EXEC_FMT} == "a.out")
37 OPSYS_EMULDIR
= ${_OPSYS_EMULDIR.aout
}
39 EMULSUBDIR
= emul
/netbsd
40 OPSYS_EMULDIR
= ${_OPSYS_EMULDIR.netbsd
}
43 # We need a dependency only for NetBSD>1.4.x.
44 .if empty
(OS_VERSION
:M0.
[0-9]*) && empty
(OS_VERSION
:M1.
[0-3]*) && \
45 empty
(OS_VERSION
:M1.4
) && empty
(OS_VERSION
:M1.4.
*)
46 DEPENDS_netbsd-1.4.base?
= compat14
>=1.4:..
/..
/emulators
/compat14