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.
18 # Path through which the platform expects to find a "chroot"
19 # installation of the files and directories, e.g. /emul/aout.
21 # DEPENDS_${EMUL_DISTRO}.*
22 # A table that maps "modules" to NetBSD package dependencies.
25 EMUL_DISTRO
= netbsd-1.2
27 # i386 and sparc switched from a.out to ELF post-1.4.
28 # arm, m68k and vax switched from a.out to ELF post-1.5.
29 # ns32k never switched from a.out.
31 .if
(${EMUL_ARCH} == "arm") ||
(${EMUL_ARCH} == "i386") || \
32 (${EMUL_ARCH} == "m68k") ||
(${EMUL_ARCH} == "ns32k") || \
33 (${EMUL_ARCH} == "sparc") ||
(${EMUL_ARCH} == "vax")
39 .if
(${NATIVE_EXEC_FMT} == "ELF") && (${EMUL_EXEC_FMT} == "a.out")
41 OPSYS_EMULDIR
= ${_OPSYS_EMULDIR.aout
}
43 EMULSUBDIR
= emul
/netbsd
44 OPSYS_EMULDIR
= ${_OPSYS_EMULDIR.netbsd
}
47 # We need a dependency only for NetBSD>=1.3.
48 .if empty
(OS_VERSION
:M0.
[0-9]*) && empty
(OS_VERSION
:M1.
[0-1]*) && \
49 empty
(OS_VERSION
:M1.2
) && empty
(OS_VERSION
:M1.2.
*)
50 DEPENDS_netbsd-1.2.base?
= compat12
>=1.2:..
/..
/emulators
/compat12