head	1.10;
access;
symbols
	netbsd-11-0-RC4:1.10
	netbsd-11-0-RC3:1.10
	netbsd-11-0-RC2:1.10
	netbsd-11-0-RC1:1.10
	perseant-exfatfs-base-20250801:1.10
	netbsd-11:1.10.0.18
	netbsd-11-base:1.10
	netbsd-10-1-RELEASE:1.10
	perseant-exfatfs-base-20240630:1.10
	perseant-exfatfs:1.10.0.16
	perseant-exfatfs-base:1.10
	netbsd-8-3-RELEASE:1.9
	netbsd-9-4-RELEASE:1.10
	netbsd-10-0-RELEASE:1.10
	netbsd-10-0-RC6:1.10
	netbsd-10-0-RC5:1.10
	netbsd-10-0-RC4:1.10
	netbsd-10-0-RC3:1.10
	netbsd-10-0-RC2:1.10
	netbsd-10-0-RC1:1.10
	netbsd-10:1.10.0.14
	netbsd-10-base:1.10
	netbsd-9-3-RELEASE:1.10
	cjep_sun2x-base1:1.10
	cjep_sun2x:1.10.0.12
	cjep_sun2x-base:1.10
	cjep_staticlib_x-base1:1.10
	netbsd-9-2-RELEASE:1.10
	cjep_staticlib_x:1.10.0.10
	cjep_staticlib_x-base:1.10
	netbsd-9-1-RELEASE:1.10
	phil-wifi-20200421:1.10
	phil-wifi-20200411:1.10
	is-mlppp:1.10.0.8
	is-mlppp-base:1.10
	phil-wifi-20200406:1.10
	netbsd-8-2-RELEASE:1.9
	netbsd-9-0-RELEASE:1.10
	netbsd-9-0-RC2:1.10
	netbsd-9-0-RC1:1.10
	phil-wifi-20191119:1.10
	netbsd-9:1.10.0.6
	netbsd-9-base:1.10
	phil-wifi-20190609:1.10
	netbsd-8-1-RELEASE:1.9
	netbsd-8-1-RC1:1.9
	pgoyette-compat-merge-20190127:1.10
	pgoyette-compat-20190127:1.10
	pgoyette-compat-20190118:1.10
	pgoyette-compat-1226:1.10
	pgoyette-compat-1126:1.10
	pgoyette-compat-1020:1.10
	pgoyette-compat-0930:1.10
	pgoyette-compat-0906:1.10
	netbsd-7-2-RELEASE:1.3
	pgoyette-compat-0728:1.10
	netbsd-8-0-RELEASE:1.9
	phil-wifi:1.10.0.4
	phil-wifi-base:1.10
	pgoyette-compat-0625:1.10
	netbsd-8-0-RC2:1.9
	pgoyette-compat-0521:1.10
	pgoyette-compat-0502:1.10
	pgoyette-compat-0422:1.10
	netbsd-8-0-RC1:1.9
	pgoyette-compat-0415:1.10
	pgoyette-compat-0407:1.10
	pgoyette-compat-0330:1.10
	pgoyette-compat-0322:1.10
	pgoyette-compat-0315:1.10
	netbsd-7-1-2-RELEASE:1.3
	pgoyette-compat:1.10.0.2
	pgoyette-compat-base:1.10
	netbsd-7-1-1-RELEASE:1.3
	matt-nb8-mediatek:1.9.0.10
	matt-nb8-mediatek-base:1.9
	perseant-stdc-iso10646:1.9.0.8
	perseant-stdc-iso10646-base:1.9
	netbsd-8:1.9.0.6
	netbsd-8-base:1.9
	prg-localcount2-base3:1.9
	prg-localcount2-base2:1.9
	prg-localcount2-base1:1.9
	prg-localcount2:1.9.0.4
	prg-localcount2-base:1.9
	pgoyette-localcount-20170426:1.9
	bouyer-socketcan-base1:1.9
	pgoyette-localcount-20170320:1.9
	netbsd-7-1:1.3.0.12
	netbsd-7-1-RELEASE:1.3
	netbsd-7-1-RC2:1.3
	netbsd-7-nhusb-base-20170116:1.3
	bouyer-socketcan:1.9.0.2
	bouyer-socketcan-base:1.9
	pgoyette-localcount-20170107:1.9
	netbsd-7-1-RC1:1.3
	pgoyette-localcount-20161104:1.9
	netbsd-7-0-2-RELEASE:1.3
	localcount-20160914:1.8
	netbsd-7-nhusb:1.3.0.10
	netbsd-7-nhusb-base:1.3
	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.3
	netbsd-7-0:1.3.0.8
	netbsd-7-0-RELEASE:1.3
	netbsd-7-0-RC3:1.3
	netbsd-7-0-RC2:1.3
	netbsd-7-0-RC1:1.3
	netbsd-5-2-3-RELEASE:1.1.2.1
	netbsd-5-1-5-RELEASE:1.1.2.1
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.3.0.6
	netbsd-7-base:1.3
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.2
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.3.0.4
	tls-earlyentropy-base:1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-5-2-2-RELEASE:1.1.2.1
	netbsd-5-1-4-RELEASE:1.1.2.1
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.1.2.1
	netbsd-5-1-3-RELEASE:1.1.2.1
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.2
	riastradh-drm2-base:1.3
	netbsd-6-1:1.2.0.22
	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.20
	agc-symver-base:1.2
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.1.2.1.0.6
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.1.2.1
	netbsd-5-2-RC1:1.1.2.1
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.2.0.16
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.14
	tls-maxphys-base:1.3
	matt-nb6-plus:1.2.0.12
	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.10
	netbsd-6-base:1.2
	netbsd-5-1-2-RELEASE:1.1.2.1
	netbsd-5-1-1-RELEASE:1.1.2.1
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.8
	yamt-pagecache-base:1.2
	cherry-xenmp:1.2.0.6
	cherry-xenmp-base:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.4
	bouyer-quota2-base:1.2
	matt-mips64-premerge-20101231:1.2
	matt-nb5-mips64-premerge-20101231:1.1.6.1
	matt-nb5-pq3:1.1.2.1.0.4
	matt-nb5-pq3-base:1.1.2.1
	netbsd-5-1:1.1.2.1.0.2
	netbsd-5-1-RELEASE:1.1.2.1
	netbsd-5-1-RC4:1.1.2.1
	matt-nb5-mips64-k15:1.1.6.1
	netbsd-5-1-RC3:1.1.2.1
	netbsd-5-1-RC2:1.1.2.1
	netbsd-5-1-RC1:1.1.2.1
	netbsd-5-0-2-RELEASE:1.1
	matt-nb5-mips64-premerge-20091211:1.1
	matt-premerge-20091211:1.2
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1
	matt-nb4-mips64-k7-u2a-k9b:1.1
	matt-nb5-mips64-u1-k1-k5:1.1
	matt-nb5-mips64:1.1.0.6
	netbsd-5-0-1-RELEASE:1.1
	jym-xensuspend-nbase:1.2
	netbsd-5-0:1.1.0.4
	netbsd-5-0-RELEASE:1.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.2.0.2
	jym-xensuspend-base:1.2
	netbsd-5-0-RC1:1.1
	haad-dm-base:1.1
	haad-dm-base2:1.1
	haad-nbase2:1.1
	netbsd-5:1.1.0.2
	netbsd-5-base:1.1;
locks; strict;
comment	@# @;


1.10
date	2018.02.02.01.02.40;	author mrg;	state Exp;
branches;
next	1.9;
commitid	gEW0HzHL87R8LdpA;

1.9
date	2016.09.27.19.24.19;	author joerg;	state Exp;
branches;
next	1.8;
commitid	F53xyTMBp6KqIXnz;

1.8
date	2016.09.05.06.30.40;	author martin;	state Exp;
branches;
next	1.7;
commitid	FPfsJeDV7JmR84lz;

1.7
date	2016.08.20.20.22.54;	author mrg;	state Exp;
branches;
next	1.6;
commitid	2rmnqMLharVcg5jz;

1.6
date	2016.08.19.19.10.54;	author mrg;	state Exp;
branches;
next	1.5;
commitid	2eyaZxnnuJaxTWiz;

1.5
date	2016.08.16.06.24.02;	author mrg;	state Exp;
branches;
next	1.4;
commitid	chz9GQ9meJ9sKuiz;

1.4
date	2015.11.25.18.02.08;	author macallan;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	QMQZuQ4us9vd8vKy;

1.3
date	2013.06.04.22.45.08;	author mrg;	state Exp;
branches;
next	1.2;
commitid	HYZC83Id9vXKKlSw;

1.2
date	2009.01.20.10.18.32;	author martin;	state Exp;
branches
	1.2.8.1
	1.2.14.1;
next	1.1;

1.1
date	2008.10.29.23.49.56;	author macallan;	state Exp;
branches
	1.1.2.1
	1.1.6.1;
next	;

1.4.2.1
date	2016.11.04.14.48.48;	author pgoyette;	state Exp;
branches;
next	;
commitid	2m1JRwYmpwPkOOsz;

1.2.8.1
date	2014.05.22.14.09.46;	author yamt;	state Exp;
branches;
next	;
commitid	FFQX08bYGKywAxBx;

1.2.14.1
date	2013.06.23.06.28.47;	author tls;	state Exp;
branches;
next	;
commitid	OnlO1cBgtQRcIHUw;

1.1.2.1
date	2009.09.17.04.24.36;	author snj;	state Exp;
branches;
next	;

1.1.6.1
date	2010.04.21.05.24.41;	author matt;	state Exp;
branches;
next	;


desc
@@


1.10
log
@convert HAVE_GCC handling to modern GCC release numbering:
- HAVE_GCC=5 is now the default (vs. HAVE_GCC=53 we've been using for
  GCC 5.4 and GCC 5.5.)
- remove some more GCC 4.8 code.  we don't support GCC 4 here.
- adjust set lists to gcc=5 from gcc=53.

add some basic HAVE_GCC=6 handling (totally unused so far.)
@
text
@#	$NetBSD: Makefile,v 1.9 2016/09/27 19:24:19 joerg Exp $

DRIVER=		xf86-video-suncg6
DRIVER_NAME=	suncg6_drv

SRCS=		cg6_driver.c cg6_cursor.c cg6_accel.c cg6_exa.c

CPPFLAGS+=	${X11FLAGS.DRI}

MAN=		suncg6.4

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

# XXX
COPTS.cg6_accel.c+=	${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
COPTS.cg6_accel.c+=	${${ACTIVE_CC} == "clang":? -Wno-error=incompatible-pointer-types-discards-qualifiers :}
@


1.9
log
@Don't bail out on the const lose for the driver name for clang. Also
accepts differences in pointer signs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2016/09/05 06:30:40 martin Exp $
a14 1
.if ${HAVE_GCC:U0} > 48
a15 1
.endif
@


1.8
log
@HAVE_GCC may not be set at all
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2016/08/20 20:22:54 mrg Exp $
d18 1
@


1.7
log
@apply -Wno-error=discarded-qualifiers only with GCC > 4.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2016/08/19 19:10:54 mrg Exp $
d15 1
a15 1
.if ${HAVE_GCC} > 48
@


1.6
log
@update build for sparc64 xorg-server 1.18.
clean up the xfree86/common makefile for obsolete warnings. (XXX: there are
a lot of old disabled warnings we can obsolete in the xsrc tree.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2016/08/16 06:24:02 mrg Exp $
d12 2
d15 3
a17 3
COPTS.cg6_accel.c+=	-Wno-error=discarded-qualifiers

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


1.5
log
@define HAVE_XAA_H in Makefile.xf86-driver for xorg-server 1.10 only,
move it out of many driver makefiles.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2015/11/25 18:02:08 macallan Exp $
d12 3
@


1.4
log
@build EXA support
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2013/06/04 22:45:08 mrg Exp $
a8 1
CPPFLAGS+=	-DHAVE_XAA_H
@


1.4.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2016/09/27 19:24:19 joerg Exp $
a13 6

# XXX
.if ${HAVE_GCC:U0} > 48
COPTS.cg6_accel.c+=	${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
.endif
COPTS.cg6_accel.c+=	${${ACTIVE_CC} == "clang":? -Wno-error=incompatible-pointer-types-discards-qualifiers :}
@


1.3
log
@updates for merge xf86-video-suncg14 1.1.2, xf86-video-suncg6 1.1.2,
xf86-video-sunffb 1.2.2, xf86-video-suntcx 1.1.2 and xf86-video-sunleo 1.2.1
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2009/01/20 10:18:32 martin Exp $
d6 1
a6 1
SRCS=		cg6_driver.c cg6_cursor.c cg6_accel.c
@


1.2
log
@Remove artifacts of the xfree reachover build - this makes it use the
proper includes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2008/10/29 23:49:56 macallan Exp $
d9 1
@


1.2.8.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2009/01/20 10:18:32 martin Exp $
a8 1
CPPFLAGS+=	-DHAVE_XAA_H
@


1.2.14.1
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
a8 1
CPPFLAGS+=	-DHAVE_XAA_H
@


1.1
log
@Add reachover for suncg6 driver and build it on sparc64.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2008/10/29 03:13:26 macallan Exp $
a7 25
CPPFLAGS+=	-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/sunffb \
		-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \
		-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \
		-I${X11SRCDIR.xc}/programs/Xserver/mfb \
		-I${X11SRCDIR.xc}/programs/Xserver/mi \
		-I${X11SRCDIR.xc}/programs/Xserver/Xext \
		-I${X11SRCDIR.xc}/programs/Xserver/cfb \
		-I${X11SRCDIR.xc}/programs/Xserver/dbe \
		-I${X11SRCDIR.xc}/programs/Xserver/render \
		-I${X11SRCDIR.xc}/programs/Xserver/fb \
		-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xf8_32wid \
		-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/ramdac \
		-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/ddc \
		-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/i2c \
		-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xaa \
		-I${X11SRCDIR.xc}/programs/Xserver/include \
		-I${X11SRCDIR.xc}/include/fonts \
                -I${DESTDIR}${X11INCDIR}/X11 \
                -I${DESTDIR}${X11INCDIR}/X11/extensions \
		-I${XSERVERINCDIR}

CPPFLAGS+=	-I${X11SRCDIR.xc}/programs/Xserver/GL/dri \
		-I${X11SRCDIR.xc}/lib/GL/dri \
		-I${X11SRCDIR.xc}/include

@


1.1.6.1
log
@sync to netbsd-5
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.1 2009/09/17 04:24:36 snj Exp $
d8 25
@


1.1.2.1
log
@Apply patch (requested by mrg in ticket #958):
Sync X.Org reachover build framework and setlists with the new X.Org.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2009/01/20 10:18:32 martin Exp $
d8 25
@


