Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / server / drivers / xf86-video-savage / Makefile
blobf1939c45cd88aa81713b9c229327f380260a3894
1 # $NetBSD: Makefile,v 1.13 2014/03/19 23:46:05 mrg Exp $
3 DRIVER= xf86-video-savage
4 DRIVER_NAME= savage_drv
6 SRCS= \
7 savage_accel.c \
8 savage_xaa.c \
9 savage_exa.c \
10 savage_cursor.c \
11 savage_dga.c \
12 savage_driver.c \
13 savage_i2c.c \
14 savage_shadow.c \
15 savage_streams.c \
16 savage_vbe.c \
17 savage_video.c \
18 savage_hwmc.c \
19 savage_dri.c
20 MAN= savage.4
22 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
23 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri
24 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
26 CPPFLAGS+= -DHAVE_XAA_H -DSAVAGEDRI
28 CPPFLAGS.savage_driver.c= -DPACKAGE_VERSION=\"${PACKAGE_MAJOR}\"
29 CPPFLAGS.savage_exa.c= -Wno-error # volatile -> mempcy
31 CWARNFLAGS.clang+= -Wno-parentheses -Wno-format \
32 -Wno-constant-logical-operand
34 .include "../Makefile.xf86-driver"