19 lines
722 B
Makefile
19 lines
722 B
Makefile
# $NetBSD: available.mk,v 1.2 2011/02/20 21:39:22 wiz Exp $
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# At the moment VDPAU is available only for Linux, FreeBSD and
|
|
# [Open]Solaris. The following condition is here to NOT list these
|
|
# platforms in multiple places, i.e. in mplayer, xine, xbmc etc.
|
|
# Have a look at buildlink3.mk too.
|
|
|
|
.if ${OPSYS} == "Linux" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64")
|
|
VDPAU_AVAILABLE= yes
|
|
.elif ${OPSYS} == "FreeBSD" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64")
|
|
VDPAU_AVAILABLE= yes
|
|
.elif ${OPSYS} == "SunOS" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64") \
|
|
&& !empty(OS_VERSION:M5.1[0-9]*)
|
|
VDPAU_AVAILABLE= yes
|
|
.else
|
|
VDPAU_AVAILABLE= no
|
|
.endif
|