head	1.30;
access;
symbols
	netbsd-11-0-RC4:1.30
	netbsd-11-0-RC3:1.30
	netbsd-11-0-RC2:1.30
	netbsd-11-0-RC1:1.30
	perseant-exfatfs-base-20250801:1.30
	netbsd-11:1.30.0.6
	netbsd-11-base:1.30
	netbsd-10-1-RELEASE:1.30
	perseant-exfatfs-base-20240630:1.30
	perseant-exfatfs:1.30.0.4
	perseant-exfatfs-base:1.30
	netbsd-8-3-RELEASE:1.27
	netbsd-9-4-RELEASE:1.27.16.1
	netbsd-10-0-RELEASE:1.30
	netbsd-10-0-RC6:1.30
	netbsd-10-0-RC5:1.30
	netbsd-10-0-RC4:1.30
	netbsd-10-0-RC3:1.30
	netbsd-10-0-RC2:1.30
	netbsd-10-0-RC1:1.30
	netbsd-10:1.30.0.2
	netbsd-10-base:1.30
	netbsd-9-3-RELEASE:1.27.16.1
	cjep_sun2x-base1:1.29
	cjep_sun2x:1.29.0.4
	cjep_sun2x-base:1.29
	cjep_staticlib_x-base1:1.29
	netbsd-9-2-RELEASE:1.27.16.1
	cjep_staticlib_x:1.29.0.2
	cjep_staticlib_x-base:1.29
	netbsd-9-1-RELEASE:1.27.16.1
	phil-wifi-20200421:1.27
	phil-wifi-20200411:1.27
	is-mlppp:1.27.0.18
	is-mlppp-base:1.27
	phil-wifi-20200406:1.27
	netbsd-8-2-RELEASE:1.27
	netbsd-9-0-RELEASE:1.27
	netbsd-9-0-RC2:1.27
	netbsd-9-0-RC1:1.27
	phil-wifi-20191119:1.27
	netbsd-9:1.27.0.16
	netbsd-9-base:1.27
	phil-wifi-20190609:1.27
	netbsd-8-1-RELEASE:1.27
	netbsd-8-1-RC1:1.27
	pgoyette-compat-merge-20190127:1.27
	pgoyette-compat-20190127:1.27
	pgoyette-compat-20190118:1.27
	pgoyette-compat-1226:1.27
	pgoyette-compat-1126:1.27
	pgoyette-compat-1020:1.27
	pgoyette-compat-0930:1.27
	pgoyette-compat-0906:1.27
	netbsd-7-2-RELEASE:1.26
	pgoyette-compat-0728:1.27
	netbsd-8-0-RELEASE:1.27
	phil-wifi:1.27.0.14
	phil-wifi-base:1.27
	pgoyette-compat-0625:1.27
	netbsd-8-0-RC2:1.27
	pgoyette-compat-0521:1.27
	pgoyette-compat-0502:1.27
	pgoyette-compat-0422:1.27
	netbsd-8-0-RC1:1.27
	pgoyette-compat-0415:1.27
	pgoyette-compat-0407:1.27
	pgoyette-compat-0330:1.27
	pgoyette-compat-0322:1.27
	pgoyette-compat-0315:1.27
	netbsd-7-1-2-RELEASE:1.26
	pgoyette-compat:1.27.0.12
	pgoyette-compat-base:1.27
	netbsd-7-1-1-RELEASE:1.26
	matt-nb8-mediatek:1.27.0.10
	matt-nb8-mediatek-base:1.27
	perseant-stdc-iso10646:1.27.0.8
	perseant-stdc-iso10646-base:1.27
	netbsd-8:1.27.0.6
	netbsd-8-base:1.27
	prg-localcount2-base3:1.27
	prg-localcount2-base2:1.27
	prg-localcount2-base1:1.27
	prg-localcount2:1.27.0.4
	prg-localcount2-base:1.27
	pgoyette-localcount-20170426:1.27
	bouyer-socketcan-base1:1.27
	pgoyette-localcount-20170320:1.27
	netbsd-7-1:1.26.0.14
	netbsd-7-1-RELEASE:1.26
	netbsd-7-1-RC2:1.26
	netbsd-7-nhusb-base-20170116:1.26
	bouyer-socketcan:1.27.0.2
	bouyer-socketcan-base:1.27
	pgoyette-localcount-20170107:1.27
	netbsd-7-1-RC1:1.26
	pgoyette-localcount-20161104:1.27
	netbsd-7-0-2-RELEASE:1.26
	localcount-20160914:1.27
	netbsd-7-nhusb:1.26.0.12
	netbsd-7-nhusb-base:1.26
	pgoyette-localcount-20160806:1.26
	pgoyette-localcount-20160726:1.26
	pgoyette-localcount:1.26.0.10
	pgoyette-localcount-base:1.26
	netbsd-7-0-1-RELEASE:1.26
	netbsd-7-0:1.26.0.8
	netbsd-7-0-RELEASE:1.26
	netbsd-7-0-RC3:1.26
	netbsd-7-0-RC2:1.26
	netbsd-7-0-RC1:1.26
	netbsd-5-2-3-RELEASE:1.4.2.2
	netbsd-5-1-5-RELEASE:1.4.2.2
	netbsd-6-0-6-RELEASE:1.23.4.1
	netbsd-6-1-5-RELEASE:1.23.4.2
	netbsd-7:1.26.0.6
	netbsd-7-base:1.26
	yamt-pagecache-base9:1.26
	yamt-pagecache-tag8:1.23.2.2
	netbsd-6-1-4-RELEASE:1.23.4.2
	netbsd-6-0-5-RELEASE:1.23.4.1
	tls-earlyentropy:1.26.0.4
	tls-earlyentropy-base:1.26
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.26
	riastradh-drm2-base3:1.26
	netbsd-6-1-3-RELEASE:1.23.4.2
	netbsd-6-0-4-RELEASE:1.23.4.1
	netbsd-5-2-2-RELEASE:1.4.2.2
	netbsd-5-1-4-RELEASE:1.4.2.2
	netbsd-6-1-2-RELEASE:1.23.4.2
	netbsd-6-0-3-RELEASE:1.23.4.1
	netbsd-5-2-1-RELEASE:1.4.2.2
	netbsd-5-1-3-RELEASE:1.4.2.2
	netbsd-6-1-1-RELEASE:1.23.4.2
	riastradh-drm2-base2:1.26
	riastradh-drm2-base1:1.26
	riastradh-drm2:1.26.0.2
	riastradh-drm2-base:1.26
	netbsd-6-1:1.23.4.2.0.2
	netbsd-6-0-2-RELEASE:1.23.4.1
	netbsd-6-1-RELEASE:1.23.4.2
	netbsd-6-1-RC4:1.23.4.2
	netbsd-6-1-RC3:1.23.4.2
	agc-symver:1.25.0.6
	agc-symver-base:1.25
	netbsd-6-1-RC2:1.23.4.2
	netbsd-6-1-RC1:1.23.4.2
	yamt-pagecache-base8:1.25
	netbsd-5-2:1.4.2.2.0.6
	netbsd-6-0-1-RELEASE:1.23.4.1
	yamt-pagecache-base7:1.25
	netbsd-5-2-RELEASE:1.4.2.2
	netbsd-5-2-RC1:1.4.2.2
	matt-nb6-plus-nbase:1.23.4.1
	yamt-pagecache-base6:1.25
	netbsd-6-0:1.23.4.1.0.4
	netbsd-6-0-RELEASE:1.23.4.1
	netbsd-6-0-RC2:1.23.4.1
	tls-maxphys:1.25.0.2
	tls-maxphys-base:1.26
	matt-nb6-plus:1.23.4.1.0.2
	matt-nb6-plus-base:1.23.4.1
	netbsd-6-0-RC1:1.23.4.1
	yamt-pagecache-base5:1.25
	yamt-pagecache-base4:1.24
	netbsd-6:1.23.0.4
	netbsd-6-base:1.23
	netbsd-5-1-2-RELEASE:1.4.2.2
	netbsd-5-1-1-RELEASE:1.4.2.2
	yamt-pagecache-base3:1.23
	yamt-pagecache-base2:1.23
	yamt-pagecache:1.23.0.2
	yamt-pagecache-base:1.23
	cherry-xenmp:1.20.0.2
	cherry-xenmp-base:1.20
	bouyer-quota2-nbase:1.20
	bouyer-quota2:1.19.0.2
	bouyer-quota2-base:1.20
	matt-mips64-premerge-20101231:1.19
	matt-nb5-mips64-premerge-20101231:1.4.2.1.4.1
	matt-nb5-pq3:1.4.2.2.0.4
	matt-nb5-pq3-base:1.4.2.2
	pre-xorg-192:1.19
	netbsd-5-1:1.4.2.2.0.2
	netbsd-5-1-RELEASE:1.4.2.2
	netbsd-5-1-RC4:1.4.2.2
	matt-nb5-mips64-k15:1.4.2.1.4.1
	netbsd-5-1-RC3:1.4.2.2
	netbsd-5-1-RC2:1.4.2.2
	netbsd-5-1-RC1:1.4.2.2
	netbsd-5-0-2-RELEASE:1.4.2.1
	matt-nb5-mips64-premerge-20091211:1.4.2.1
	matt-premerge-20091211:1.10
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.4.2.1
	matt-nb4-mips64-k7-u2a-k9b:1.4.2.1
	matt-nb5-mips64-u1-k1-k5:1.4.2.1
	matt-nb5-mips64:1.4.2.1.0.4
	netbsd-5-0-1-RELEASE:1.4.2.1
	jym-xensuspend-nbase:1.9
	netbsd-5-0:1.4.2.1.0.2
	netbsd-5-0-RELEASE:1.4.2.1
	netbsd-5-0-RC4:1.4.2.1
	netbsd-5-0-RC3:1.4.2.1
	netbsd-5-0-RC2:1.4
	jym-xensuspend:1.6.0.2
	jym-xensuspend-base:1.9
	netbsd-5-0-RC1:1.4
	haad-dm-base:1.4
	haad-dm-base2:1.4
	haad-nbase2:1.4
	netbsd-5:1.4.0.2
	netbsd-5-base:1.4
	matt-mips64-base2:1.4
	haad-dm:1.3.0.6
	haad-dm-base1:1.3
	wrstuden-revivesa-base-3:1.3
	wrstuden-revivesa:1.3.0.2
	wrstuden-revivesa-base-2:1.3;
locks; strict;
comment	@# @;


1.30
date	2021.11.16.09.25.52;	author nia;	state Exp;
branches;
next	1.29;
commitid	ZhN9fVPgGjpz60hD;

1.29
date	2020.07.23.09.09.12;	author tsutsui;	state Exp;
branches;
next	1.28;
commitid	xUMZW5QxVxJwtbhC;

1.28
date	2020.07.23.08.34.33;	author tsutsui;	state Exp;
branches;
next	1.27;
commitid	vULxfHl6G80WgbhC;

1.27
date	2016.08.19.03.59.30;	author mrg;	state Exp;
branches
	1.27.16.1;
next	1.26;
commitid	jBvUBpYuoiw1QRiz;

1.26
date	2013.06.12.21.35.29;	author mrg;	state Exp;
branches;
next	1.25;
commitid	oMyG6ccGSF4F6nTw;

1.25
date	2012.05.14.08.42.04;	author abs;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	2012.04.04.01.23.27;	author bsh;	state Exp;
branches;
next	1.23;

1.23
date	2011.08.30.04.22.56;	author macallan;	state Exp;
branches
	1.23.2.1
	1.23.4.1;
next	1.22;

1.22
date	2011.07.21.10.20.25;	author tsutsui;	state Exp;
branches;
next	1.21;

1.21
date	2011.06.29.14.49.13;	author tsutsui;	state Exp;
branches;
next	1.20;

1.20
date	2011.02.09.13.37.48;	author tsutsui;	state Exp;
branches;
next	1.19;

1.19
date	2010.11.18.08.20.17;	author mrg;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2010.08.01.06.24.31;	author kiyohara;	state Exp;
branches;
next	1.17;

1.17
date	2010.07.31.15.01.12;	author tsutsui;	state Exp;
branches;
next	1.16;

1.16
date	2010.07.31.14.45.19;	author tsutsui;	state Exp;
branches;
next	1.15;

1.15
date	2010.07.31.14.40.05;	author tsutsui;	state Exp;
branches;
next	1.14;

1.14
date	2010.07.31.13.32.23;	author tsutsui;	state Exp;
branches;
next	1.13;

1.13
date	2010.07.12.07.54.12;	author kiyohara;	state Exp;
branches;
next	1.12;

1.12
date	2010.06.19.18.17.55;	author tsutsui;	state Exp;
branches;
next	1.11;

1.11
date	2010.06.18.09.15.23;	author tsutsui;	state Exp;
branches;
next	1.10;

1.10
date	2009.12.13.05.04.36;	author nonaka;	state Exp;
branches;
next	1.9;

1.9
date	2009.02.16.12.41.11;	author abs;	state Exp;
branches;
next	1.8;

1.8
date	2009.02.14.22.49.58;	author abs;	state Exp;
branches;
next	1.7;

1.7
date	2009.02.14.13.32.13;	author abs;	state Exp;
branches;
next	1.6;

1.6
date	2009.02.08.00.50.07;	author abs;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	2009.01.24.17.24.52;	author bouyer;	state Exp;
branches;
next	1.4;

1.4
date	2008.10.24.19.45.54;	author macallan;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2008.09.01.10.20.20;	author rtr;	state Exp;
branches
	1.3.2.1
	1.3.6.1;
next	1.2;

1.2
date	2008.08.31.09.55.11;	author rtr;	state Exp;
branches;
next	1.1;

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

1.27.16.1
date	2020.08.27.09.05.37;	author martin;	state Exp;
branches;
next	;
commitid	5RXlQHt6OGjxkGlC;

1.25.2.1
date	2013.06.23.06.28.48;	author tls;	state Exp;
branches;
next	;
commitid	OnlO1cBgtQRcIHUw;

1.23.2.1
date	2012.04.17.00.04.50;	author yamt;	state Exp;
branches;
next	1.23.2.2;

1.23.2.2
date	2012.05.23.10.07.29;	author yamt;	state Exp;
branches;
next	1.23.2.3;

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

1.23.4.1
date	2012.06.11.20.53.40;	author riz;	state Exp;
branches;
next	1.23.4.2;

1.23.4.2
date	2013.02.13.20.52.07;	author riz;	state Exp;
branches;
next	;

1.19.2.1
date	2011.02.17.11.59.20;	author bouyer;	state Exp;
branches;
next	;

1.6.2.1
date	2009.05.13.18.53.28;	author jym;	state Exp;
branches;
next	;

1.4.2.1
date	2009.02.16.03.26.56;	author snj;	state Exp;
branches
	1.4.2.1.4.1;
next	1.4.2.2;

1.4.2.2
date	2009.09.17.04.24.37;	author snj;	state Exp;
branches;
next	;

1.4.2.1.4.1
date	2010.04.21.05.24.42;	author matt;	state Exp;
branches;
next	;

1.3.2.1
date	2008.09.01.10.20.20;	author wrstuden;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	2008.09.18.05.18.43;	author wrstuden;	state Exp;
branches;
next	;

1.3.6.1
date	2008.09.01.10.20.20;	author haad;	state dead;
branches;
next	1.3.6.2;

1.3.6.2
date	2008.10.19.22.41.17;	author haad;	state Exp;
branches;
next	;


desc
@@


1.30
log
@xorg: sprinkle a little bit of USE_FORT around
@
text
@#	$NetBSD: Makefile.common,v 1.29 2020/07/23 09:09:12 tsutsui Exp $

# These define parts of the Xserver tree that are to be
# conditionally compiled for different platforms.  See
# below for descriptions of each variable.

USE_FORT?=		yes # network server *and* setuid

.include <bsd.own.mk>


# XFree86 servers all need XFONT as well.
.if ${MKXORG_SERVER} != "no"
XSERVER_XFREE86=	yes
.endif

.if ${MACHINE} == "acorn32"
XSERVER_XARM32VIDC=	yes
.endif

.if ${MACHINE} == "alpha"
XSERVER_XALPHANETBSD=	yes
XSERVER_XDECNETBSD=	yes
.endif

.if ${MACHINE} == "amiga"
XSERVER_XAMIGA=		yes
.endif

.if ${MACHINE} == "atari"
#XSERVER_XFREE68=	yes
.endif

.if ${MACHINE} == "mac68k"
XSERVER_XMAC68K=	yes
.endif

.if ${MACHINE} == "pmax"
XSERVER_XDECNETBSD=	yes
XSERVER_XPMAX=		no # XXX should be yes but may be obsoleted
.endif

.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
#XSERVER_XSUN=		yes
#XSERVER_XSUNMONO=	yes
#XSERVER_XSUN24=		yes
.endif

.if ${MACHINE} == "sun3"
XSERVER_XSUN=		yes
XSERVER_XSUNMONO=	yes
.endif

.if ${MACHINE} == "x68k"
XSERVER_X68K=		yes
.endif


# Does this platform build XFree86 X server?
XSERVER_XFREE86?=	no

# Does this platform build the XalphaNetBSD server?
XSERVER_XALPHANETBSD?=	no
# Does this platform build the Xamiga server?
XSERVER_XAMIGA?=	no
# Does this platform build the Xarm32VIDC server?
XSERVER_XARM32VIDC?=	no
# Does this platform build the XdecNetBSD server?
XSERVER_XDECNETBSD?=	no
# Does this platform build the Xfree68 servers?
XSERVER_XFREE68?=	no
# Does this platform build the Xmac68k X server?
XSERVER_XMAC68K?=	no
# Does this platform build Xpmax X servers?
XSERVER_XPMAX?=		no
# Does this platform build Xsun* X servers?
XSERVER_XSUN?=		no
XSERVER_XSUNMONO?=	no
XSERVER_XSUN24?=	no
# Does this platform build X68k X servers?
XSERVER_X68K?=		no
# Does this platform build Xvfb X server?
XSERVER_XVFB?=		yes
@


1.29
log
@Remove definitions for Xdreamcast, Xhpc, Xmacppc, and Xnewsmips.

All these port specific X11R6 servers just used MI wscons, and
all of them have been switched to Xorg servers with wsfb driver etc.
Even if someone wants a smaller monolithic server, it should be
written as a MI "Xwscons" server.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.28 2020/07/23 08:34:33 tsutsui Exp $
d7 2
@


1.28
log
@Don't build Xsun servers for sparc and sparc64.

Not tested, and maybe not worth for wscons'fied ports.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.27 2016/08/19 03:59:30 mrg Exp $
a35 4
.if ${MACHINE} == "macppc"
XSERVER_XMACPPC=	yes
.endif

a71 4
# Does this platform build Xmacppc X server?
XSERVER_XMACPPC?=	no
# Does this platform build the Xnewsmips server?
XSERVER_XNEWSMIPS?=	no
@


1.27
log
@- introduce HAVE_XORG_GLAMOR which is set to yes on xorg-server 1.18
  and x86 ports only so far.
- build glamor extension.
- fix debug set lists for xorg-server 1.18
- install xf86-video-amdgpu driver on xorg-server 1.8 and x86
- clean up radeon-kms Makefile and enable glamor xorg-server 1.8
- clean up various obsolete makefile parts
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.26 2013/06/12 21:35:29 mrg Exp $
d46 3
a48 3
XSERVER_XSUN=		yes
XSERVER_XSUNMONO=	yes
XSERVER_XSUN24=		yes
@


1.27.16.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #1061):

	distrib/sets/lists/xdebug/md.sun3: revision 1.4
	distrib/sets/lists/xserver/md.sun3: revision 1.16
	external/mit/xorg/server/xorg-server/hw/sun/Xsun/Makefile: revision 1.1
	external/mit/xorg/server/xorg-server/hw/Makefile: revision 1.6
	external/mit/xorg/server/xorg-server/hw/sun/Makefile: revision 1.1
	external/mit/xorg/server/xorg-server/hw/sun/Xsun24/Makefile: revision 1.1
	external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun: revision 1.1
	external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun: revision 1.2
	external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun: revision 1.3
	external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun: revision 1.4
	external/mit/xorg/server/xorg-server/Makefile.common: revision 1.28
	external/mit/xorg/server/xorg-server.old/Makefile.common: revision 1.3
	external/mit/xorg/server/xorg-server/hw/sun/XsunMono/Makefile: revision 1.1

Add build glue for Xorg-Server-1.20'fied monolithic Xsun servers.

Don't build Xsun servers for sparc and sparc64.

Not tested, and maybe not worth for wscons'fied ports.

Add .debug binaries for Xsun servers.

Note daily build.sh on releng.netbsd.org has MKDEBUG=yes
so local test builds should also include it.
fix build:
- add .../xorg subdir to the path
- add dbe and present extensions, both wanted via linkage
.. but maybe these shouldn't be built?  they're not in sets.

Explicitly disable dbe, record, and present DIX extentions.

Specify default /var/log/Xsun.%s.log path definitions.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.27 2016/08/19 03:59:30 mrg Exp $
d46 3
a48 3
#XSERVER_XSUN=		yes
#XSERVER_XSUNMONO=	yes
#XSERVER_XSUN24=		yes
@


1.26
log
@rename (new) xorg_drivers to xorg_server -- platforms that build the
actual Xorg server (aka "xfree86 server").

move the list of these platforms from xorg-server/Makefile.common to
bsd.own.mk, so that we can access it easily in distrib.

this should fix most of the current build failures.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.25 2012/05/14 08:42:04 abs Exp $
a11 1
XSERVER_NEEDS_XFONT=	yes
a60 3
# Does this server need Xfont/fontbase libraries?
XSERVER_NEEDS_XFONT?=	no

@


1.25
log
@Enable wsfb X server on vax. Likely to be keyboard and mouse issues, but
with three additional lines of an ioctl() case in the kernel 'startx' will
display the traditional three xterms
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.24 2012/04/04 01:23:27 bsh Exp $
d7 2
d11 1
a11 26
.if \
    ${MACHINE} == "alpha"	|| \
    ${MACHINE} == "amd64"	|| \
    ${MACHINE} == "bebox"	|| \
    ${MACHINE} == "cats"	|| \
    ${MACHINE} == "dreamcast"	|| \
    ${MACHINE} == "ews4800mips"	|| \
    ${MACHINE} == "evbarm"	|| \
    ${MACHINE} == "evbmips"	|| \
    ${MACHINE} == "hp300"	|| \
    ${MACHINE} == "hpcarm"	|| \
    ${MACHINE} == "hpcmips"	|| \
    ${MACHINE} == "hpcsh"	|| \
    ${MACHINE} == "i386"	|| \
    ${MACHINE} == "luna68k"	|| \
    ${MACHINE} == "macppc"	|| \
    ${MACHINE} == "netwinder"	|| \
    ${MACHINE} == "newsmips"	|| \
    ${MACHINE} == "prep"	|| \
    ${MACHINE} == "ofppc"	|| \
    ${MACHINE} == "sgimips"	|| \
    ${MACHINE} == "shark"	|| \
    ${MACHINE} == "sparc"	|| \
    ${MACHINE} == "sparc64"	|| \
    ${MACHINE} == "vax"		|| \
    ${MACHINE} == "zaurus"
a15 1

a26 1
XSERVER_HAS_AFB=	yes
a29 1
XSERVER_HAS_IPLAN?=	yes
a34 1
XSERVER_HAS_CFB=	yes
a40 4
#.if ${MACHINE} == "newsmips"
#XSERVER_XNEWSMIPS?=	yes
#.endif

a63 10
# Does this server need miext modules?
XSERVER_NEEDS_MIEXT?=	yes
# Does this server use cfb* libraries?
XSERVER_HAS_CFB?=	yes
# Does this server use fb library?
XSERVER_HAS_FB?=	yes
# Does this server use afb library?
XSERVER_HAS_AFB?=	no
# Does this server use iplan2p? libraries?
XSERVER_HAS_IPLAN?=	no
@


1.25.2.1
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
a6 2
.include <bsd.own.mk>

d9 26
a34 1
.if ${MKXORG_SERVER} != "no"
d39 1
d51 1
d55 1
d61 1
d68 4
d95 10
@


1.24
log
@enable X11 build for evbarm.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.23 2011/08/30 04:22:56 macallan Exp $
d33 1
@


1.23
log
@build Xorg and some drivers appropriate for Loongson-based hw on evbmips
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.22 2011/07/21 10:20:25 tsutsui Exp $
d16 1
@


1.23.4.1
log
@Pull up following revision(s) (requested by abs in ticket #300):
	external/mit/xorg/server/xorg-server/hw/xfree86/xorgos/Makefile: revision 1.33
	x11/Xserver/Xserver/Makefile: revision 1.19
	x11/Xserver/Makefile.common: revision 1.36
	external/mit/xorg/server/xorg-server/Makefile.common: revision 1.25
	distrib/sets/lists/xserver/md.vax: revision 1.8
	external/mit/xorg/server/drivers/Makefile: revision 1.62
	xsrc/external/mit/xorg-server/dist/hw/xfree86/common/compiler.h: revision 1.9
Add vax to the list of non inb() users
Enable wsfb X server on vax. Likely to be keyboard and mouse issues, but
with three additional lines of an ioctl() case in the kernel 'startx' will
display the traditional three xterms
Missed defining XSERVER_XVAX
@
text
@d1 1
a1 1
#	$NetBSD$
a31 1
    ${MACHINE} == "vax"		|| \
@


1.23.4.2
log
@Pull up following revision(s) (requested by skrll in ticket #818):
	xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c: revision 1.14
	xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c: revision 1.15
	external/mit/xorg/server/xorg-server/hw/xfree86/xorgos/Makefile: revision 1.32
	external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile: revision 1.15
	sys/dev/wsfb/genfb.c: revision 1.49
	distrib/sets/lists/xserver/md.evbarm: revision 1.1
	sys/dev/wscons/wsdisplay_vconsvar.h: revision 1.22
	external/mit/xorg/server/xorg-server/Makefile.common: revision 1.24
	xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb.h: revision 1.4
	external/mit/xorg/server/drivers/Makefile: revision 1.61
	sys/dev/wsfb/genfb.c: revision 1.50
enable X11 build for evbarm.
aprint_verbose -> aprint_debug
WSDISPLAY_TYPE_VC4 framebuffer is BGR
for WSDISPLAYIO_SMODE, if the bus ioctl handler returns EPASSTHROUGH, dont treat it as an error
default to swkbd mode on evbarm as well, now X without config should work
properly on BeagleBoard, RPi and the like
fix a typo in a comment
use WSDISPLAYIO_GET_FBINFO if available
@
text
@a15 1
    ${MACHINE} == "evbarm"	|| \
@


1.23.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.23 2011/08/30 04:22:56 macallan Exp $
a15 1
    ${MACHINE} == "evbarm"	|| \
@


1.23.2.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.23.2.1 2012/04/17 00:04:50 yamt Exp $
a32 1
    ${MACHINE} == "vax"		|| \
@


1.23.2.3
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.common,v 1.23.2.2 2012/05/23 10:07:29 yamt Exp $
a6 2
.include <bsd.own.mk>

d9 26
a34 1
.if ${MKXORG_SERVER} != "no"
d39 1
d51 1
d55 1
d61 1
d68 4
d95 10
@


1.22
log
@Build luna68k's X.Org server using wsfb driver.
 (XXX: needs more hacks to make it actually functional)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.21 2011/06/29 14:49:13 tsutsui Exp $
d16 1
@


1.21
log
@Add definitions for newsmips Xorg server.  Build test only.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.20 2011/02/09 13:37:48 tsutsui Exp $
d21 1
@


1.20
log
@Add defintions for ews4800mips and hp300 Xorg servers.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.19 2010/11/18 08:20:17 mrg Exp $
d23 1
d64 3
a66 3
.if ${MACHINE} == "newsmips"
XSERVER_XNEWSMIPS?=	yes
.endif
@


1.19
log
@enable xfree86 server build for ofppc, and a bunch of drivers.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.18 2010/08/01 06:24:31 kiyohara Exp $
d15 2
@


1.19.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.20 2011/02/09 13:37:48 tsutsui Exp $
a14 2
    ${MACHINE} == "ews4800mips"	|| \
    ${MACHINE} == "hp300"	|| \
@


1.18
log
@Support xserver for bebox.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.17 2010/07/31 15:01:12 tsutsui Exp $
d22 1
@


1.17
log
@Move and sort definitions for legacy MD Xservers per ${MACHINE}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.16 2010/07/31 14:45:19 tsutsui Exp $
d12 1
@


1.16
log
@Remove commented out XSERVER_XDREAMCAST lines.
It won't happen but will be supported by Xorg wsfb server.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.15 2010/07/31 14:40:05 tsutsui Exp $
a7 30
.if ${MACHINE} == "x68k"
XSERVER_X68K=		yes
.endif

.if ${MACHINE} == "alpha"
XSERVER_XALPHANETBSD=	yes
.endif

.if ${MACHINE} == "amiga"
XSERVER_XAMIGA=		yes
XSERVER_HAS_AFB=	yes
.endif

.if ${MACHINE} == "acorn32"
XSERVER_XARM32VIDC=	yes
.endif

.if ${MACHINE} == "alpha" || ${MACHINE} == "pmax"
XSERVER_XDECNETBSD=	yes
.endif

.if ${MACHINE} == "atari"
XSERVER_HAS_IPLAN?=	yes
#XSERVER_XFREE68=	yes
.endif

.if ${MACHINE} == "newsmips"
XSERVER_XNEWSMIPS?=	yes
.endif

d30 20
d59 4
d64 1
d68 1
a68 1
.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || ${MACHINE} == "sun3"
d71 1
d74 7
a80 2
.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
XSERVER_XSUN24=		yes
d97 3
a99 2
# Does this platform build X68k X servers?
XSERVER_X68K?=		no
d102 1
a102 1
# Does this platform build Xvfb X server?
a107 2
# Does this platform build the Xnewsmips server?
XSERVER_XNEWSMIPS?=	no
a109 2
# Does this platform build XFree86 X server?
XSERVER_XFREE86?=	no
d114 2
d122 2
@


1.15
log
@Cleanup per ${MACHINE} if-clause lines for XFree86 servers.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.14 2010/07/31 13:32:23 tsutsui Exp $
a33 4
#.if ${MACHINE} == "dreamcast"
#XSERVER_XDREAMCAST?=	yes
#.endif

a105 2
# Does this platform build the Xdreamcast server?
XSERVER_XDREAMCAST?=	no
@


1.14
log
@Remove obsolete (commented out) XSERVER_XHPC.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.13 2010/07/12 07:54:12 kiyohara Exp $
d43 17
a59 10
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" || \
    ${MACHINE} == "dreamcast" || \
    ${MACHINE} == "hpcarm" || \
    ${MACHINE} == "hpcmips" || \
    ${MACHINE} == "hpcsh" ||\
    ${MACHINE} == "macppc" || ${MACHINE} == "cats" || \
    ${MACHINE} == "sgimips" || ${MACHINE} == "shark" || \
    ${MACHINE} == "netwinder" || ${MACHINE} == "sparc64" || \
    ${MACHINE} == "sparc" || ${MACHINE} == "alpha" || \
    ${MACHINE} == "zaurus" || ${MACHINE} == "prep"
@


1.13
log
@Support xserver for prep.
  It tested only s3(864).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.12 2010/06/19 18:17:55 tsutsui Exp $
a56 4
#.if ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcsh"
#XSERVER_XHPC=		yes
#.endif

a110 2
# Does this platform build Xhpc X servers?
XSERVER_XHPC?=		no
@


1.12
log
@Prepare entries for Xorg wsfb based server for dreamcast.
Not enabled by default yet and old xfree entries are still preserved.

XXX1: No maple keyboard keymap yet:
      http://mail-index.NetBSD.org/tech-x11/2010/06/19/msg000785.html

XXX2: probably we should have some common list files for xcomp and xserver.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.11 2010/06/18 09:15:23 tsutsui Exp $
d52 1
a52 1
    ${MACHINE} == "zaurus"
@


1.11
log
@Prepare to build Xorg servers for hpcarm/hpcmips/hpcsh.

XXX: ${MACHINE} dependent definitions in these Makefiles look a bit messy
XXX: like old xfree's NetBSD.cf...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.10 2009/12/13 05:04:36 nonaka Exp $
d34 3
a36 3
.if ${MACHINE} == "dreamcast"
XSERVER_XDREAMCAST?=	yes
.endif
d44 1
@


1.10
log
@The support of X for zaurus is added.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.9 2009/02/16 12:41:11 abs Exp $
d44 3
d56 3
a58 3
.if ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcsh"
XSERVER_XHPC=		yes
.endif
@


1.9
log
@Everyone gets -XSERVER_HAS_FB
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.8 2009/02/14 22:49:58 abs Exp $
d47 2
a48 1
    ${MACHINE} == "sparc" || ${MACHINE} == "alpha"
@


1.8
log
@Default XSERVER_NEEDS_MIEXT=yes
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.7 2009/02/14 13:32:13 abs Exp $
a9 1
XSERVER_HAS_FB=		no
a58 1
XSERVER_HAS_FB=		yes
a77 4
.if ${MACHINE} == "vax"
XSERVER_HAS_FB=		no
.endif

@


1.7
log
@Use MACHINE_ARCH rather than MACHINE where relevant. At least one file had a nice mixture of amd64 and x86_64 tests...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.6 2009/02/08 00:50:07 abs Exp $
a31 1
XSERVER_NEEDS_MIEXT=	yes
a49 1
XSERVER_NEEDS_MIEXT=	yes
d88 1
a88 1
XSERVER_NEEDS_MIEXT?=	no
d99 1
a99 1
XSERVER_X68K?=	no
d103 1
a103 1
XSERVER_XAMIGA?=no
d117 1
a117 1
XSERVER_XHPC?=	no
d123 1
a123 1
XSERVER_XPMAX?=	no
d129 1
a129 1
XSERVER_XVFB?=	yes
@


1.6
log
@Enable Xvfb build on vax and x68k to match every other port.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.5 2009/01/24 17:24:52 bouyer Exp $
d32 1
@


1.6.2.1
log
@Sync with HEAD.

Second commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.9 2009/02/16 12:41:11 abs Exp $
d10 1
d50 1
d61 1
d81 4
d89 1
a89 1
XSERVER_NEEDS_MIEXT?=	yes
d100 1
a100 1
XSERVER_X68K?=		no
d104 1
a104 1
XSERVER_XAMIGA?=	no
d118 1
a118 1
XSERVER_XHPC?=		no
d124 1
a124 1
XSERVER_XPMAX?=		no
d130 1
a130 1
XSERVER_XVFB?=		yes
@


1.5
log
@Add support for X11FLAVOUR=xorg to NetBSD/alpha. Tested on PWS500
(ev56, handled as non-BWX by Xorg) and XP1000 (ev6, BWX). Also
tested by Rafael Ruiz on a AlphaStation 255 (thanks !).
non-PCI adapters are not supported; someone should make these work
as a wsfb device.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.4 2008/10/24 19:45:54 macallan Exp $
a10 1
XSERVER_XVFB=		no
a82 1
XSERVER_XVFB=		no
@


1.4
log
@sparc(64) support
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.3 2008/09/01 10:20:20 rtr Exp $
d49 1
a49 1
    ${MACHINE} == "sparc"
@


1.4.2.1
log
@Pull up following revision(s) (requested by abs in ticket #431):
	distrib/sets/lists/xserver/md.x68k: revision 1.16
	distrib/sets/lists/xserver/md.vax: revision 1.6
	external/mit/xorg/server/xorg-server/Makefile.common: revision 1.6
	x11/Xserver/Makefile.common: revision 1.35
Enable Xvfb build on vax and x68k to match every other port.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.4 2008/10/24 19:45:54 macallan Exp $
d11 1
d84 1
@


1.4.2.1.4.1
log
@sync to netbsd-5
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.4.2.2 2009/09/17 04:24:37 snj Exp $
d10 1
d48 1
a48 1
    ${MACHINE} == "sparc" || ${MACHINE} == "alpha"
d50 1
d61 1
d81 4
d89 1
a89 1
XSERVER_NEEDS_MIEXT?=	yes
d100 1
a100 1
XSERVER_X68K?=		no
d104 1
a104 1
XSERVER_XAMIGA?=	no
d118 1
a118 1
XSERVER_XHPC?=		no
d124 1
a124 1
XSERVER_XPMAX?=		no
d130 1
a130 1
XSERVER_XVFB?=		yes
@


1.4.2.2
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.common,v 1.9 2009/02/16 12:41:11 abs Exp $
d10 1
d48 1
a48 1
    ${MACHINE} == "sparc" || ${MACHINE} == "alpha"
d50 1
d61 1
d81 4
d89 1
a89 1
XSERVER_NEEDS_MIEXT?=	yes
d100 1
a100 1
XSERVER_X68K?=		no
d104 1
a104 1
XSERVER_XAMIGA?=	no
d118 1
a118 1
XSERVER_XHPC?=		no
d124 1
a124 1
XSERVER_XPMAX?=		no
d130 1
a130 1
XSERVER_XVFB?=		yes
@


1.3
log
@- build miext for netwinder, sparc64
- adjust CPPFLAGS for includes needed for sparc64
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.2 2008/08/31 09:55:11 rtr Exp $
d48 2
a49 1
    ${MACHINE} == "netwinder" || ${MACHINE} == "sparc64"
@


1.3.6.1
log
@file Makefile.common was added on branch haad-dm on 2008-10-19 22:41:17 +0000
@
text
@d1 131
@


1.3.6.2
log
@Sync with HEAD.
@
text
@a0 131
#	$NetBSD: Makefile.common,v 1.3 2008/09/01 10:20:20 rtr Exp $

# These define parts of the Xserver tree that are to be
# conditionally compiled for different platforms.  See
# below for descriptions of each variable.


.if ${MACHINE} == "x68k"
XSERVER_X68K=		yes
XSERVER_HAS_FB=		no
XSERVER_XVFB=		no
.endif

.if ${MACHINE} == "alpha"
XSERVER_XALPHANETBSD=	yes
.endif

.if ${MACHINE} == "amiga"
XSERVER_XAMIGA=		yes
XSERVER_HAS_AFB=	yes
.endif

.if ${MACHINE} == "acorn32"
XSERVER_XARM32VIDC=	yes
.endif

.if ${MACHINE} == "alpha" || ${MACHINE} == "pmax"
XSERVER_XDECNETBSD=	yes
.endif

.if ${MACHINE} == "atari"
XSERVER_HAS_IPLAN?=	yes
#XSERVER_XFREE68=	yes
.endif

.if ${MACHINE} == "dreamcast"
XSERVER_XDREAMCAST?=	yes
.endif

.if ${MACHINE} == "newsmips"
XSERVER_XNEWSMIPS?=	yes
.endif

# XFree86 servers all need XFONT as well.
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" || \
    ${MACHINE} == "macppc" || ${MACHINE} == "cats" || \
    ${MACHINE} == "sgimips" || ${MACHINE} == "shark" || \
    ${MACHINE} == "netwinder" || ${MACHINE} == "sparc64"
XSERVER_NEEDS_XFONT=	yes
XSERVER_NEEDS_MIEXT=	yes
XSERVER_XFREE86=	yes
.endif

.if ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcsh"
XSERVER_XHPC=		yes
.endif

.if ${MACHINE} == "mac68k"
XSERVER_XMAC68K=	yes
XSERVER_HAS_CFB=	yes
XSERVER_HAS_FB=		yes
.endif

.if ${MACHINE} == "macppc"
XSERVER_XMACPPC=	yes
.endif

.if ${MACHINE} == "pmax"
XSERVER_XPMAX=		no # XXX should be yes but may be obsoleted
.endif

.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || ${MACHINE} == "sun3"
XSERVER_XSUN=		yes
XSERVER_XSUNMONO=	yes
.endif

.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
XSERVER_XSUN24=		yes
.endif

.if ${MACHINE} == "vax"
XSERVER_HAS_FB=		no
XSERVER_XVFB=		no
.endif


# Does this server need Xfont/fontbase libraries?
XSERVER_NEEDS_XFONT?=	no
# Does this server need miext modules?
XSERVER_NEEDS_MIEXT?=	no
# Does this server use cfb* libraries?
XSERVER_HAS_CFB?=	yes
# Does this server use fb library?
XSERVER_HAS_FB?=	yes
# Does this server use afb library?
XSERVER_HAS_AFB?=	no
# Does this server use iplan2p? libraries?
XSERVER_HAS_IPLAN?=	no

# Does this platform build X68k X servers?
XSERVER_X68K?=	no
# Does this platform build the XalphaNetBSD server?
XSERVER_XALPHANETBSD?=	no
# Does this platform build Xvfb X server?
XSERVER_XAMIGA?=no
# Does this platform build the Xarm32VIDC server?
XSERVER_XARM32VIDC?=	no
# Does this platform build the XdecNetBSD server?
XSERVER_XDECNETBSD?=	no
# Does this platform build the Xdreamcast server?
XSERVER_XDREAMCAST?=	no
# Does this platform build the Xnewsmips server?
XSERVER_XNEWSMIPS?=	no
# Does this platform build the Xfree68 servers?
XSERVER_XFREE68?=	no
# Does this platform build XFree86 X server?
XSERVER_XFREE86?=	no
# Does this platform build Xhpc X servers?
XSERVER_XHPC?=	no
# Does this platform build the Xmac68k X server?
XSERVER_XMAC68K?=	no
# Does this platform build Xmacppc X server?
XSERVER_XMACPPC?=	no
# Does this platform build Xpmax X servers?
XSERVER_XPMAX?=	no
# Does this platform build Xsun* X servers?
XSERVER_XSUN?=		no
XSERVER_XSUNMONO?=	no
XSERVER_XSUN24?=	no
# Does this platform build Xvfb X server?
XSERVER_XVFB?=	yes
@


1.3.2.1
log
@file Makefile.common was added on branch wrstuden-revivesa on 2008-09-18 05:18:43 +0000
@
text
@d1 131
@


1.3.2.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 131
#	$NetBSD: Makefile.common,v 1.3 2008/09/01 10:20:20 rtr Exp $

# These define parts of the Xserver tree that are to be
# conditionally compiled for different platforms.  See
# below for descriptions of each variable.


.if ${MACHINE} == "x68k"
XSERVER_X68K=		yes
XSERVER_HAS_FB=		no
XSERVER_XVFB=		no
.endif

.if ${MACHINE} == "alpha"
XSERVER_XALPHANETBSD=	yes
.endif

.if ${MACHINE} == "amiga"
XSERVER_XAMIGA=		yes
XSERVER_HAS_AFB=	yes
.endif

.if ${MACHINE} == "acorn32"
XSERVER_XARM32VIDC=	yes
.endif

.if ${MACHINE} == "alpha" || ${MACHINE} == "pmax"
XSERVER_XDECNETBSD=	yes
.endif

.if ${MACHINE} == "atari"
XSERVER_HAS_IPLAN?=	yes
#XSERVER_XFREE68=	yes
.endif

.if ${MACHINE} == "dreamcast"
XSERVER_XDREAMCAST?=	yes
.endif

.if ${MACHINE} == "newsmips"
XSERVER_XNEWSMIPS?=	yes
.endif

# XFree86 servers all need XFONT as well.
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" || \
    ${MACHINE} == "macppc" || ${MACHINE} == "cats" || \
    ${MACHINE} == "sgimips" || ${MACHINE} == "shark" || \
    ${MACHINE} == "netwinder" || ${MACHINE} == "sparc64"
XSERVER_NEEDS_XFONT=	yes
XSERVER_NEEDS_MIEXT=	yes
XSERVER_XFREE86=	yes
.endif

.if ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcsh"
XSERVER_XHPC=		yes
.endif

.if ${MACHINE} == "mac68k"
XSERVER_XMAC68K=	yes
XSERVER_HAS_CFB=	yes
XSERVER_HAS_FB=		yes
.endif

.if ${MACHINE} == "macppc"
XSERVER_XMACPPC=	yes
.endif

.if ${MACHINE} == "pmax"
XSERVER_XPMAX=		no # XXX should be yes but may be obsoleted
.endif

.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || ${MACHINE} == "sun3"
XSERVER_XSUN=		yes
XSERVER_XSUNMONO=	yes
.endif

.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
XSERVER_XSUN24=		yes
.endif

.if ${MACHINE} == "vax"
XSERVER_HAS_FB=		no
XSERVER_XVFB=		no
.endif


# Does this server need Xfont/fontbase libraries?
XSERVER_NEEDS_XFONT?=	no
# Does this server need miext modules?
XSERVER_NEEDS_MIEXT?=	no
# Does this server use cfb* libraries?
XSERVER_HAS_CFB?=	yes
# Does this server use fb library?
XSERVER_HAS_FB?=	yes
# Does this server use afb library?
XSERVER_HAS_AFB?=	no
# Does this server use iplan2p? libraries?
XSERVER_HAS_IPLAN?=	no

# Does this platform build X68k X servers?
XSERVER_X68K?=	no
# Does this platform build the XalphaNetBSD server?
XSERVER_XALPHANETBSD?=	no
# Does this platform build Xvfb X server?
XSERVER_XAMIGA?=no
# Does this platform build the Xarm32VIDC server?
XSERVER_XARM32VIDC?=	no
# Does this platform build the XdecNetBSD server?
XSERVER_XDECNETBSD?=	no
# Does this platform build the Xdreamcast server?
XSERVER_XDREAMCAST?=	no
# Does this platform build the Xnewsmips server?
XSERVER_XNEWSMIPS?=	no
# Does this platform build the Xfree68 servers?
XSERVER_XFREE68?=	no
# Does this platform build XFree86 X server?
XSERVER_XFREE86?=	no
# Does this platform build Xhpc X servers?
XSERVER_XHPC?=	no
# Does this platform build the Xmac68k X server?
XSERVER_XMAC68K?=	no
# Does this platform build Xmacppc X server?
XSERVER_XMACPPC?=	no
# Does this platform build Xpmax X servers?
XSERVER_XPMAX?=	no
# Does this platform build Xsun* X servers?
XSERVER_XSUN?=		no
XSERVER_XSUNMONO?=	no
XSERVER_XSUN24?=	no
# Does this platform build Xvfb X server?
XSERVER_XVFB?=	yes
@


1.2
log
@build miext libs for shark
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.1 2008/08/02 04:32:00 mrg Exp $
d47 2
a48 1
    ${MACHINE} == "sgimips" || ${MACHINE} == "shark"
@


1.1
log
@start of build-glue support for xorg-server bits.
building so far:
	doc include dix fb mi miext randr render


again based on the work rtr made for xorg support, and of course this
is very much based on the work lukem did originally for src/x11, as is
all the stuff in src/external/mit/xorg.

hi luke! :)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.common,v 1.19 2004/10/07 13:47:13 rtr Exp $
d46 2
a47 1
    ${MACHINE} == "macppc" || ${MACHINE} == "cats" || ${MACHINE} == "sgimips"
@
