summaryrefslogtreecommitdiff
path: root/emulators/suse_linux/Makefile.application
blob: 5da1a4e1957d2acb4fad2f435c70833ff9087fab (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
32
# $NetBSD: Makefile.application,v 1.23 2006/06/26 19:24:05 salo Exp $

.include "../../mk/bsd.prefs.mk"

.if (${OPSYS} == "NetBSD" ||	\
     ${OPSYS} == "FreeBSD" ||	\
     ${OPSYS} == "DragonFly")	\
 && (${MACHINE_ARCH} == "i386" || 	\
     ${MACHINE_ARCH} == "powerpc" ||	\
     ${MACHINE_ARCH} == "x86_64")

.  if !empty(SUSE_PREFER:M10.0)
.    include "../../emulators/suse100_linux/vars.mk"
.  elif !empty(SUSE_PREFER:M9.1) && (${MACHINE_ARCH} != "powerpc")
.    include "../../emulators/suse91_linux/vars.mk"
.  else
.    include "../../emulators/suse_linux/unavailable.mk"
.  endif

.  if defined(RPMFILES)
.    include "../../emulators/${SUSE_DIR_PREFIX}_linux/Makefile.common"
.  endif

EMULSUBDIR?=	emul/linux
EMULDIR?=	${PREFIX}/${EMULSUBDIR}
LDD=		${EMULDIR}/usr/bin/ldd
.elif ${OPSYS} == "Linux"
# No Linux emulation is needed
USE_NATIVE_LINUX=		# empty
.else
.  include "../../emulators/suse_linux/unavailable.mk"
.endif