xref: /minix3/external/mit/xorg/server/drivers/xf86-video-geode/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1#	$NetBSD: Makefile,v 1.3 2015/07/20 06:34:29 mrg 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
40# XXX ugh
41CPPFLAGS+=	-Doff64_t=off_t -Dlseek64=lseek
42
43COPTS.gx_randr.c+=	-Wno-error	# XXX
44COPTS.lx_memory.c+=	-Wno-error	# XXX
45COPTS.panel.c+=		-Wno-error	# XXX -- huh? don't get this one
46
47.include "../Makefile.xf86-driver"
48
49XORG_PKG_VER_PROG=	${DRIVER}
50.include "../../../xorg-pkg-ver.mk"
51