Home | History | Annotate | Line # | Download | only in xf86-video-tdfx
Makefile revision 1.8.2.1
      1 #	$NetBSD: Makefile,v 1.8.2.1 2012/04/17 00:04:50 yamt Exp $
      2 
      3 DRIVER=		xf86-video-tdfx
      4 DRIVER_NAME=	tdfx_drv
      5 
      6 SRCS=		tdfx_accel.c tdfx_dga.c tdfx_driver.c tdfx_hwcurs.c
      7 SRCS+=		tdfx_io.c tdfx_priv.c tdfx_sli.c tdfx_video.c
      8 SRCS+=		tdfx_dri.c
      9 MAN=		tdfx.4
     10 
     11 .if ${MACHINE_ARCH} == "i386" || \
     12     ${MACHINE_ARCH} == "x86_64"
     13 CPPFLAGS+=	-DUSE_INT10
     14 CPPFLAGS+=	-DUSE_PCIVGAIO
     15 .endif
     16 
     17 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11
     18 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11/dri
     19 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/libdrm
     20 
     21 COPTS.tdfx_driver.c=      -Wno-error	# XXX deprecated
     22 
     23 CWARNFLAGS.clang+=	-Wno-format -Wno-pointer-sign
     24 
     25 .include "../Makefile.xf86-driver"
     26