Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / server / drivers / xf86-video-mga / Makefile
blobc6a2f89926b8281f1b12616e059b7cc16f81d01c
1 # $NetBSD: Makefile,v 1.6 2009/07/03 21:19:19 mrg Exp $
3 .include <bsd.own.mk>
5 DRIVER= xf86-video-mga
6 DRIVER_NAME= mga_drv
8 SRCS= clientlx.c mga_arc.c mga_bios.c mga_dac3026.c mga_dacG.c
9 SRCS+= mga_dga.c mga_dh.c mga_driver.c mga_esc.c mga_g450pll.c
10 SRCS+= mga_halmod.c mga_hwcurs.c mga_merge.c mga_shadow.c
11 SRCS+= mga_vga.c mga_video.c
12 MAN= mga.4
14 .if ${X11DRI} != "no"
15 SRCS+= mga_dri.c
16 .endif
18 #if USE_EXA
19 SRCS+= mga_exa.c
20 CPPFLAGS+= -DUSE_EXA
21 #endif
23 #if USE_XAA
24 SRCS+= mga_storm.c
25 CPPFLAGS+= -DUSE_XAA
26 #endif
28 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
29 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri
30 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/drm
32 CPPFLAGS.mga_driver.c= -Wno-error # XXX fix me please
33 CPPFLAGS.mga_dacG.c= -Wno-error # XXX fix me please
35 .include "../Makefile.xf86-driver"