set USE_INT10 and USE_PCIVGAIO on i386 and amd64 only

This commit is contained in:
macallan 2012-01-22 18:27:28 +00:00
parent c9bb90d5c5
commit ec64a915c7
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2011/08/11 23:15:41 joerg Exp $
# $NetBSD: Makefile,v 1.9 2012/01/22 18:27:28 macallan Exp $
DRIVER= xf86-video-tdfx
DRIVER_NAME= tdfx_drv
@ -8,6 +8,12 @@ SRCS+= tdfx_io.c tdfx_priv.c tdfx_sli.c tdfx_video.c
SRCS+= tdfx_dri.c
MAN= tdfx.4
.if ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "x86_64"
CPPFLAGS+= -DUSE_INT10
CPPFLAGS+= -DUSE_PCIVGAIO
.endif
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm