blob: 1921d808d0842cace517ebd3be6a3f82dacca1c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.3 2015/07/20 06:34:29 mrg 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
# 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"
XORG_PKG_VER_PROG= ${DRIVER}
.include "../../../xorg-pkg-ver.mk"
|