minix/external/mit/xorg/server/drivers/xf86-video-geode/Makefile
Lionel Sambuc 971bb1a587 Importing external/mit/xorg support rules
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
2014-11-10 14:43:29 +01:00

50 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2011/05/18 20:55:09 plunky Exp $
DRIVER= xf86-video-geode
DRIVER_NAME= geode_drv
SRCS= \
geode_driver.c \
geode_common.c \
geode_dcon.c \
geode_ddc.c \
geode_msr.c \
gx_driver.c\
gx_accel.c \
gx_cursor.c \
gx_video.c \
gx_regacc.c \
gx_rotate.c \
gx_randr.c \
durango.c \
panel.c \
lx_driver.c \
lx_cursor.c \
lx_memory.c \
lx_panel.c \
lx_output.c \
lx_display.c \
lx_video.c \
lx_exa.c \
cimarron.c
NOMAN= # defined
CPPFLAGS+= -DHAVE_GX -DHAVE_LX -DAMD_V4L2_VIDEO -DOPT_ACCEL -DPNL_SUP
# This enables multi-mmap support; no idea why it is Linux 2.6 specific
CPPFLAGS+= -DLINUX_2_6
CPPFLAGS+= -I${X11SRCDIR.${DRIVER}}/src/cim \
-I${X11SRCDIR.${DRIVER}}/src/gfx \
-I${X11SRCDIR.${DRIVER}}/src/panel
CPPFLAGS+= -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include
# XXX ugh
CPPFLAGS+= -Doff64_t=off_t -Dlseek64=lseek
COPTS.gx_randr.c+= -Wno-error # XXX
COPTS.lx_memory.c+= -Wno-error # XXX
COPTS.panel.c+= -Wno-error # XXX -- huh? don't get this one
.include "../Makefile.xf86-driver"