2014-03-07 08:16:25 +04:00
|
|
|
# $NetBSD: archdirs.mk,v 1.4 2014/03/07 04:16:25 matt Exp $
|
2009-12-13 12:27:13 +03:00
|
|
|
|
|
|
|
# list of subdirs used per-platform
|
|
|
|
|
|
|
|
.if ${MACHINE} == "sparc64"
|
|
|
|
ARCHDIR_SUBDIR= sparc64/sparc
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE} == "amd64"
|
|
|
|
ARCHDIR_SUBDIR= amd64/i386
|
|
|
|
.endif
|
|
|
|
|
2013-04-27 12:44:35 +04:00
|
|
|
.if (${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "armeb")
|
2012-08-03 12:02:47 +04:00
|
|
|
ARCHDIR_SUBDIR= arm/eabi
|
|
|
|
.endif
|
|
|
|
|
2013-04-27 12:44:35 +04:00
|
|
|
.if (${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb")
|
|
|
|
ARCHDIR_SUBDIR= arm/oabi
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "earmhf" || ${MACHINE_ARCH} == "earmhfeb")
|
|
|
|
ARCHDIR_SUBDIR= arm/oabi arm/eabi
|
|
|
|
.endif
|
|
|
|
|
2009-12-13 12:27:13 +03:00
|
|
|
.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el")
|
|
|
|
ARCHDIR_SUBDIR= mips64/64 mips64/o32
|
|
|
|
.endif
|
2014-03-07 08:16:25 +04:00
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "powerpc64"
|
|
|
|
ARCHDIR_SUBDIR= powerpc64/powerpc
|
|
|
|
.endif
|