head	1.7;
access;
symbols
	netbsd-11-0-RC7:1.7
	netbsd-11-0-RC6:1.7
	netbsd-11-0-RC5:1.7
	netbsd-11-0-RC4:1.7
	netbsd-11-0-RC3:1.7
	netbsd-11-0-RC2:1.7
	netbsd-11-0-RC1:1.7
	perseant-exfatfs-base-20250801:1.7
	netbsd-11:1.7.0.8
	netbsd-11-base:1.7
	netbsd-10-1-RELEASE:1.7
	perseant-exfatfs-base-20240630:1.7
	perseant-exfatfs:1.7.0.6
	perseant-exfatfs-base:1.7
	netbsd-8-3-RELEASE:1.5
	netbsd-9-4-RELEASE:1.6
	netbsd-10-0-RELEASE:1.7
	netbsd-10-0-RC6:1.7
	netbsd-10-0-RC5:1.7
	netbsd-10-0-RC4:1.7
	netbsd-10-0-RC3:1.7
	netbsd-10-0-RC2:1.7
	netbsd-10-0-RC1:1.7
	netbsd-10:1.7.0.4
	netbsd-10-base:1.7
	netbsd-9-3-RELEASE:1.6
	cjep_sun2x-base1:1.7
	cjep_sun2x:1.7.0.2
	cjep_sun2x-base:1.7
	cjep_staticlib_x-base1:1.7
	netbsd-9-2-RELEASE:1.6
	cjep_staticlib_x:1.6.0.6
	cjep_staticlib_x-base:1.6
	netbsd-9-1-RELEASE:1.6
	phil-wifi-20200421:1.6
	phil-wifi-20200411:1.6
	is-mlppp:1.6.0.4
	is-mlppp-base:1.6
	phil-wifi-20200406:1.6
	netbsd-8-2-RELEASE:1.5
	netbsd-9-0-RELEASE:1.6
	netbsd-9-0-RC2:1.6
	netbsd-9-0-RC1:1.6
	phil-wifi-20191119:1.6
	netbsd-9:1.6.0.2
	netbsd-9-base:1.6
	phil-wifi-20190609:1.6
	netbsd-8-1-RELEASE:1.5
	netbsd-8-1-RC1:1.5
	pgoyette-compat-merge-20190127:1.5.12.1
	pgoyette-compat-20190127:1.6
	pgoyette-compat-20190118:1.6
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	netbsd-7-2-RELEASE:1.2
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.5
	phil-wifi:1.5.0.14
	phil-wifi-base:1.5
	pgoyette-compat-0625:1.5
	netbsd-8-0-RC2:1.5
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.5
	pgoyette-compat-0422:1.5
	netbsd-8-0-RC1:1.5
	pgoyette-compat-0415:1.5
	pgoyette-compat-0407:1.5
	pgoyette-compat-0330:1.5
	pgoyette-compat-0322:1.5
	pgoyette-compat-0315:1.5
	netbsd-7-1-2-RELEASE:1.2
	pgoyette-compat:1.5.0.12
	pgoyette-compat-base:1.5
	netbsd-7-1-1-RELEASE:1.2
	matt-nb8-mediatek:1.5.0.10
	matt-nb8-mediatek-base:1.5
	perseant-stdc-iso10646:1.5.0.8
	perseant-stdc-iso10646-base:1.5
	netbsd-8:1.5.0.6
	netbsd-8-base:1.5
	prg-localcount2-base3:1.5
	prg-localcount2-base2:1.5
	prg-localcount2-base1:1.5
	prg-localcount2:1.5.0.4
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	pgoyette-localcount-20170320:1.5
	netbsd-7-1:1.2.0.28
	netbsd-7-1-RELEASE:1.2
	netbsd-7-1-RC2:1.2
	netbsd-7-nhusb-base-20170116:1.2
	bouyer-socketcan:1.5.0.2
	bouyer-socketcan-base:1.5
	pgoyette-localcount-20170107:1.5
	netbsd-7-1-RC1:1.2
	pgoyette-localcount-20161104:1.5
	netbsd-7-0-2-RELEASE:1.2
	localcount-20160914:1.5
	netbsd-7-nhusb:1.2.0.26
	netbsd-7-nhusb-base:1.2
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.2
	pgoyette-localcount-base:1.4
	netbsd-7-0-1-RELEASE:1.2
	netbsd-7-0:1.2.0.24
	netbsd-7-0-RELEASE:1.2
	netbsd-7-0-RC3:1.2
	netbsd-7-0-RC2:1.2
	netbsd-7-0-RC1:1.2
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.2.0.22
	netbsd-7-base:1.2
	yamt-pagecache-base9:1.2
	yamt-pagecache-tag8:1.2
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.2.0.20
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.2
	riastradh-drm2-base1:1.2
	riastradh-drm2:1.2.0.14
	riastradh-drm2-base:1.2
	netbsd-6-1:1.2.0.18
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.2.0.16
	agc-symver-base:1.2
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.2
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.2
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.2.0.12
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.10
	tls-maxphys-base:1.2
	matt-nb6-plus:1.2.0.8
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-6:1.2.0.6
	netbsd-6-base:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.4
	yamt-pagecache-base:1.2
	cherry-xenmp:1.2.0.2
	cherry-xenmp-base:1.2
	bouyer-quota2-nbase:1.1
	bouyer-quota2:1.1.0.2
	bouyer-quota2-base:1.1
	matt-mips64-premerge-20101231:1.1;
locks; strict;
comment	@# @;


1.7
date	2021.05.31.00.04.15;	author joerg;	state Exp;
branches;
next	1.6;
commitid	4WxsiRm8iY5NqeVC;

1.6
date	2019.01.01.00.37.06;	author mrg;	state Exp;
branches
	1.6.6.1;
next	1.5;
commitid	re5bd8HS5c69V06B;

1.5
date	2016.08.16.06.54.12;	author mrg;	state Exp;
branches
	1.5.12.1
	1.5.14.1;
next	1.4;
commitid	XnZs04bouJZWUuiz;

1.4
date	2016.03.07.14.35.21;	author joerg;	state Exp;
branches;
next	1.3;
commitid	OSquHrhV1LsSFIXy;

1.3
date	2015.07.20.06.34.29;	author mrg;	state Exp;
branches;
next	1.2;
commitid	XRM6xg52D3oprZty;

1.2
date	2011.05.18.20.55.09;	author plunky;	state Exp;
branches;
next	1.1;

1.1
date	2010.05.28.02.35.46;	author mrg;	state Exp;
branches;
next	;

1.6.6.1
date	2021.05.31.22.15.04;	author cjep;	state Exp;
branches;
next	;
commitid	eWz9SBW0XqKjJlVC;

1.5.12.1
date	2019.01.18.08.49.04;	author pgoyette;	state Exp;
branches;
next	;
commitid	Lmlzg3OVT2cd6f8B;

1.5.14.1
date	2019.06.10.22.02.43;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;


desc
@@


1.7
log
@Use -fcommon
@
text
@#	$NetBSD: Makefile,v 1.6 2019/01/01 00:37:06 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+=	-DHAVE_XF86_CURSOR_RESET_CURSOR

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
COPTS.geode_driver.c+=	-Wno-error	# XXX
COPTS.gx_accel.c+=	-Wno-error	# XXX
COPTS.gx_cursor.c+=	-Wno-error	# XXX
COPTS.gx_video.c+=	-Wno-error	# XXX
COPTS.lx_video.c+=	-Wno-error	# XXX
COPTS.lx_driver.c+=	-Wno-error	# XXX
COPTS.lx_panel.c+=	-Wno-error	# XXX

CWARNFLAGS.clang+=	-Wno-empty-body

COPTS+=		-fcommon

.include "../Makefile.xf86-driver"

XORG_PKG_VER_PROG=	${DRIVER}
.include "../../../xorg-pkg-ver.mk"
@


1.6
log
@build fixes for xorg-server 1.20 parts:

- define HAVE_XF86_CURSOR_RESET_CURSOR for several drivers that now
  look for it.
- remove various -Wno* options no longer needed, in particular the
  global -Wno-error in the radeon and radeon-kms drivers
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2016/08/16 06:54:12 mrg Exp $
d57 2
@


1.6.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2021/05/31 00:04:15 joerg Exp $
a56 2
COPTS+=		-fcommon

@


1.5
log
@apply -Wno-error more liberally, needed for xorg-server 1.18
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2016/03/07 14:35:21 joerg Exp $
d35 1
@


1.5.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2019/01/01 00:37:06 mrg Exp $
a34 1
CPPFLAGS+=	-DHAVE_XF86_CURSOR_RESET_CURSOR
@


1.5.12.1
log
@Synch with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2016/08/16 06:54:12 mrg Exp $
a34 1
CPPFLAGS+=	-DHAVE_XF86_CURSOR_RESET_CURSOR
@


1.4
log
@Ignore clang's empty loop-body warning, it is used extensively via
macros.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2015/07/20 06:34:29 mrg Exp $
d46 7
@


1.3
log
@use xorg-pkg-ver.mk
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2011/05/18 20:55:09 plunky Exp $
d47 2
@


1.2
log
@add -Dlseek64=lseek to fix the build in geode_msr.c
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2010/05/28 02:35:46 mrg Exp $
a39 2
CPPFLAGS+=	-DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include

d48 3
@


1.1
log
@add build glue for xf86-video-geode and xf86-video-openchrome and
obsolete xf86-video-via.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2008/08/03 09:24:14 rtr Exp $
d43 1
a43 1
CPPFLAGS+=	-Doff64_t=off_t
@

