Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / server / drivers / xf86-video-openchrome / Makefile
blobffa4f5d254aab3300d949ef07d5ae149aec87a31
1 # $NetBSD: Makefile,v 1.6 2014/08/24 06:13:36 mrg Exp $
3 DRIVER= xf86-video-openchrome
4 DRIVER_NAME= openchrome_drv
6 SRCS= \
7 via_3d.c \
8 via_exa.c \
9 via_exa_h2.c \
10 via_exa_h6.c \
11 via_bandwidth.c \
12 via_ch7xxx.c \
13 via_display.c \
14 via_driver.c \
15 via_i2c.c \
16 via_id.c \
17 via_lvds.c \
18 via_memcpy.c \
19 via_memmgr.c \
20 via_outputs.c \
21 via_xv_overlay.c \
22 via_ums.c \
23 via_vbe.c \
24 via_vgahw.c \
25 via_xv.c \
26 via_vt162x.c
28 # DRI
29 SRCS+= \
30 via_dri.c \
31 via_kms.c \
32 via_xvmc.c
34 MAN= openchrome.4
36 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
37 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri
38 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
39 CPPFLAGS+= -I${X11SRCDIR.${DRIVER}}/src
40 CPPFLAGS+= -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include
42 .include "../Makefile.xf86-driver"
44 # XXX
45 .if defined(HAVE_GCC)
46 COPTS.via_dri.c+= -Wno-error
47 .endif
49 CWARNFLAGS.clang+= -Wno-tautological-compare