Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / server / drivers / xf86-video-geode / Makefile
blob1921d808d0842cace517ebd3be6a3f82dacca1c9
1 # $NetBSD: Makefile,v 1.3 2015/07/20 06:34:29 mrg Exp $
3 DRIVER= xf86-video-geode
4 DRIVER_NAME= geode_drv
6 SRCS= \
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
30 NOMAN= # defined
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
40 # XXX ugh
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"