File:
[cvs.NetBSD.org] /
pkgsrc /
parallel /
pvm3 /
arch.mk
Revision
1.11:
download - view:
text,
annotated -
select for diffs
Thu Feb 22 19:27:02 2007 UTC (17 years, 9 months ago) by
wiz
Branches:
MAIN
CVS tags:
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
cwrapper,
cube-native-xorg-base,
cube-native-xorg,
HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
# $NetBSD: arch.mk,v 1.11 2007/02/22 19:27:02 wiz Exp $
#
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
_PVM_OPSYS= NETBSD
_PVM_ARCH_cmd= ${ECHO} ${MACHINE_ARCH} | ${TR} "[a-z]" "[A-Z]"
_PVM_ARCH= ${_PVM_ARCH_cmd:sh}
.elif ${OPSYS} == "Linux"
_PVM_OPSYS= LINUX
. if !empty(MACHINE_ARCH:Malpha*)
_PVM_ARCH= ALPHA
. elif !empty(MACHINE_ARCH:Marm*)
_PVM_ARCH= ARM
. elif !empty(MACHINE_ARCH:Msparc*)
_PVM_ARCH= SPARC
. elif !empty(MACHINE_ARCH:Mhp_pa*)
_PVM_ARCH= HPPA
. elif !empty(MACHINE_ARCH:Mppc*)
_PVM_ARCH= PPC
. else
_PVM_ARCH= # empty
. endif
.elif ${OPSYS} == "SunOS"
. if !empty(MACHINE_ARCH:Mi386*) || !empty(MACHINE_ARCH:Mx86_64*)
_PVM_OPSYS= X86
. else
_PVM_OPSYS= SUN4
. endif
_PVM_ARCH= SOL2 # Solaris (SunOS 5.*)
.elif ${OPSYS} == "Darwin"
_PVM_OPSYS= DARWIN
_PVM_ARCH= # empty
.elif ${OPSYS} == "DragonFly"
_PVM_OPSYS= DRAGONFLY
_PVM_ARCH= # empty
.elif ${OPSYS} == "FreeBSD"
_PVM_OPSYS= FREEBSD
_PVM_ARCH= # empty
.else
_PVM_OPSYS= UNKNOWN
_PVM_ARCH= # empty
.endif
PVM_ARCH= ${_PVM_OPSYS}${_PVM_ARCH}
PLIST_SUBST+= PVM_ARCH=${PVM_ARCH:Q}
FILES_SUBST+= PVM_ARCH=${PVM_ARCH:Q}
CVSweb <webmaster@jp.NetBSD.org>