Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / server / drivers / xf86-video-mga / Makefile
blob08e2daf31cf84186fa5e776b1e3af76e6d2c4217
1 # $NetBSD: Makefile,v 1.12 2014/03/20 05:32:31 mrg Exp $
3 .include <bsd.own.mk>
5 DRIVER= xf86-video-mga
6 DRIVER_NAME= mga_drv
8 SRCS= mga_bios.c mga_dac3026.c mga_dacG.c
9 SRCS+= mga_dga.c mga_dh.c mga_driver.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 mga_storm.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_arc.c
25 CPPFLAGS+= -DUSE_XAA -DHAVE_XAA_H
26 #endif
28 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
29 #CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri
30 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
32 CPPFLAGS.mga_driver.c= -Wno-error # XXX fix me please
33 CPPFLAGS.mga_dacG.c= -Wno-error # XXX fix me please
35 CWARNFLAGS.clang+= -Wno-conversion -Wno-format -Wno-empty-body
37 .include "../Makefile.xf86-driver"