971bb1a587
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
40 lines
740 B
Makefile
40 lines
740 B
Makefile
# $NetBSD: Makefile,v 1.5 2013/06/01 21:21:36 mrg Exp $
|
|
|
|
DRIVER= xf86-video-openchrome
|
|
DRIVER_NAME= openchrome_drv
|
|
|
|
SRCS= \
|
|
via_3d.c \
|
|
via_bandwidth.c \
|
|
via_ch7xxx.c \
|
|
via_display.c \
|
|
via_driver.c \
|
|
via_i2c.c \
|
|
via_id.c \
|
|
via_lvds.c \
|
|
via_memcpy.c \
|
|
via_vbe.c \
|
|
via_vgahw.c \
|
|
via_vt162x.c
|
|
|
|
# DRI
|
|
SRCS+= \
|
|
via_dri.c \
|
|
via_xvmc.c
|
|
|
|
MAN= openchrome.4
|
|
|
|
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
|
|
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri
|
|
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
|
|
CPPFLAGS+= -I${X11SRCDIR.${DRIVER}}/src
|
|
CPPFLAGS+= -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include
|
|
|
|
.include "../Makefile.xf86-driver"
|
|
|
|
# XXX
|
|
.if defined(HAVE_GCC)
|
|
COPTS.via_dri.c+= -Wno-error
|
|
.endif
|
|
|
|
CWARNFLAGS.clang+= -Wno-tautological-compare
|