Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / server / drivers / xf86-video-tdfx / Makefile
blob91d7158fce0cd1c58acb0c478c570ababa4b6928
1 # $NetBSD: Makefile,v 1.12 2014/03/20 05:32:31 mrg Exp $
3 DRIVER= xf86-video-tdfx
4 DRIVER_NAME= tdfx_drv
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
11 .if ${MACHINE_ARCH} == "i386" || \
12 ${MACHINE_ARCH} == "x86_64"
13 CPPFLAGS+= -DUSE_INT10
14 .endif
15 CPPFLAGS+= -DHAVE_XAA_H
16 CPPFLAGS+= -DTDFXDRI
18 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
19 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri
20 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
22 COPTS.tdfx_driver.c= -Wno-error # XXX deprecated
24 CWARNFLAGS.clang+= -Wno-format -Wno-pointer-sign
26 .include "../Makefile.xf86-driver"