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-2.0
24 EMULSUBDIR= emul/netbsd
25 OPSYS_EMULDIR= ${_OPSYS_EMULDIR.netbsd}
27 # For COMPAT_NETBSD32, we always need the dependency to supply 32-bit
28 # shared libaries for NetBSD-2.0.
30 .if ((${EMUL_ARCH} == "i386") && (${MACHINE_ARCH} == "x86_64")) || \
31 ((${EMUL_ARCH} == "sparc") && (${MACHINE_ARCH} == "sparc64"))
32 EMULSUBDIR= emul/netbsd32
33 OPSYS_EMULDIR= ${_OPSYS_EMULDIR.netbsd32}
35 DEPENDS_netbsd-2.0.base?= netbsd32_compat20>=2.0:../../emulators/netbsd32_compat20
37 # We need to depend on the compat20 package to supply missing shared
38 # libraries only on NetBSD>2.0.
40 .elif empty(OS_VERSION:M[0-1].*) && empty(OS_VERSION:M2.[0-9]) && \
41 empty(OS_VERSION:M2.[0-9].*) && empty(OS_VERSION:M2.[1-8][0-9].*) && \
42 empty(OS_VERSION:M2.9[0-8]*)
43 DEPENDS_netbsd-2.0.base?= compat20>=2.0:../../emulators/compat20