minix/external/mit/xorg/server/drivers/xf86-video-tdfx/Makefile
Lionel Sambuc 971bb1a587 Importing external/mit/xorg support rules
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
2014-11-10 14:43:29 +01:00

27 lines
689 B
Makefile

# $NetBSD: Makefile,v 1.11 2013/06/03 10:24:24 mrg Exp $
DRIVER= xf86-video-tdfx
DRIVER_NAME= tdfx_drv
SRCS= tdfx_accel.c tdfx_dga.c tdfx_driver.c tdfx_hwcurs.c
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+= -DHAVE_XAA_H
CPPFLAGS+= -DTDFXDRI
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
COPTS.tdfx_driver.c= -Wno-error # XXX deprecated
CWARNFLAGS.clang+= -Wno-format -Wno-pointer-sign
.include "../Makefile.xf86-driver"