Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / server / drivers / xf86-video-r128 / Makefile
blobe1417341a633597cd55c7a64a1ae3def912c17a2
1 # $NetBSD: Makefile,v 1.10 2015/07/30 02:58:00 macallan Exp $
3 DRIVER= xf86-video-r128
4 DRIVER_NAME= r128_drv
6 SRCS= r128_accel.c r128_cursor.c r128_driver.c r128_exa.c \
7 r128_crtc.c r128_output.c \
8 r128_video.c r128_misc.c r128_probe.c r128_dri.c
10 MAN= r128.4
12 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE} == "sparc64"
13 CPPFLAGS+= -DAVOID_FBDEV
14 .endif
16 # Enable VGA support (esp. hw state save/restore) on i386 / amd64 platforms
17 .if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
18 CPPFLAGS+= -DWITH_VGAHW
19 .endif
21 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
23 CPPFLAGS+= -DHAVE_XAA_H -DUSE_EXA -DR128DRI
25 CWARNFLAGS.clang+= -Wno-format -Wno-pointer-sign
27 .include "../Makefile.xf86-driver"