1 # $NetBSD: Makefile,v 1.3 2015/07/20 06:34:29 mrg Exp $
3 DRIVER
= xf86-video-geode
32 CPPFLAGS
+= -DHAVE_GX
-DHAVE_LX
-DAMD_V4L2_VIDEO
-DOPT_ACCEL
-DPNL_SUP
33 # This enables multi-mmap support; no idea why it is Linux 2.6 specific
34 CPPFLAGS
+= -DLINUX_2_6
36 CPPFLAGS
+= -I
${X11SRCDIR.
${DRIVER}}/src
/cim \
37 -I
${X11SRCDIR.
${DRIVER}}/src
/gfx \
38 -I
${X11SRCDIR.
${DRIVER}}/src
/panel
41 CPPFLAGS
+= -Doff64_t
=off_t
-Dlseek64
=lseek
43 COPTS.gx_randr.c
+= -Wno-error
# XXX
44 COPTS.lx_memory.c
+= -Wno-error
# XXX
45 COPTS.panel.c
+= -Wno-error
# XXX -- huh? don't get this one
47 .
include "../Makefile.xf86-driver"
49 XORG_PKG_VER_PROG
= ${DRIVER}
50 .
include "../../../xorg-pkg-ver.mk"