1# $NetBSD: Makefile,v 1.2 2011/05/18 20:55:09 plunky Exp $ 2 3DRIVER= xf86-video-geode 4DRIVER_NAME= geode_drv 5 6SRCS= \ 7 geode_driver.c \ 8 geode_common.c \ 9 geode_dcon.c \ 10 geode_ddc.c \ 11 geode_msr.c \ 12 gx_driver.c\ 13 gx_accel.c \ 14 gx_cursor.c \ 15 gx_video.c \ 16 gx_regacc.c \ 17 gx_rotate.c \ 18 gx_randr.c \ 19 durango.c \ 20 panel.c \ 21 lx_driver.c \ 22 lx_cursor.c \ 23 lx_memory.c \ 24 lx_panel.c \ 25 lx_output.c \ 26 lx_display.c \ 27 lx_video.c \ 28 lx_exa.c \ 29 cimarron.c 30NOMAN= # defined 31 32CPPFLAGS+= -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 34CPPFLAGS+= -DLINUX_2_6 35 36CPPFLAGS+= -I${X11SRCDIR.${DRIVER}}/src/cim \ 37 -I${X11SRCDIR.${DRIVER}}/src/gfx \ 38 -I${X11SRCDIR.${DRIVER}}/src/panel 39 40CPPFLAGS+= -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include 41 42# XXX ugh 43CPPFLAGS+= -Doff64_t=off_t -Dlseek64=lseek 44 45COPTS.gx_randr.c+= -Wno-error # XXX 46COPTS.lx_memory.c+= -Wno-error # XXX 47COPTS.panel.c+= -Wno-error # XXX -- huh? don't get this one 48 49.include "../Makefile.xf86-driver" 50