2006-07-30 07:25:43 +04:00
|
|
|
# $NetBSD: Makefile.common,v 1.32 2006/07/30 03:25:43 tsutsui Exp $
|
2004-01-06 15:30:13 +03:00
|
|
|
|
|
|
|
# These define parts of the Xserver tree that are to be
|
|
|
|
# conditionally compiled for different platforms. See
|
|
|
|
# below for descriptions of each variable.
|
|
|
|
|
2004-02-07 11:30:34 +03:00
|
|
|
|
|
|
|
.if ${MACHINE} == "x68k"
|
|
|
|
XSERVER_X68K= yes
|
|
|
|
XSERVER_XVFB= no
|
2004-01-06 15:30:13 +03:00
|
|
|
.endif
|
|
|
|
|
2004-02-07 11:30:34 +03:00
|
|
|
.if ${MACHINE} == "alpha"
|
|
|
|
XSERVER_XALPHANETBSD= yes
|
2004-01-06 15:30:13 +03:00
|
|
|
.endif
|
|
|
|
|
2004-02-07 11:30:34 +03:00
|
|
|
.if ${MACHINE} == "amiga"
|
|
|
|
XSERVER_XAMIGA= yes
|
|
|
|
XSERVER_HAS_AFB= yes
|
2004-01-06 15:30:13 +03:00
|
|
|
.endif
|
|
|
|
|
2004-02-07 11:30:34 +03:00
|
|
|
.if ${MACHINE} == "acorn32"
|
|
|
|
XSERVER_XARM32VIDC= yes
|
2004-01-06 15:30:13 +03:00
|
|
|
.endif
|
|
|
|
|
2004-02-07 11:30:34 +03:00
|
|
|
.if ${MACHINE} == "alpha" || ${MACHINE} == "pmax"
|
|
|
|
XSERVER_XDECNETBSD= yes
|
2004-01-06 15:30:13 +03:00
|
|
|
.endif
|
|
|
|
|
2004-03-28 19:28:24 +04:00
|
|
|
.if ${MACHINE} == "atari"
|
|
|
|
XSERVER_HAS_IPLAN?= yes
|
|
|
|
#XSERVER_XFREE68= yes
|
|
|
|
.endif
|
|
|
|
|
2004-02-07 11:30:34 +03:00
|
|
|
.if ${MACHINE} == "dreamcast"
|
2004-02-07 15:28:13 +03:00
|
|
|
XSERVER_XDREAMCAST?= yes
|
2004-02-07 11:30:34 +03:00
|
|
|
.endif
|
|
|
|
|
2005-12-29 18:52:20 +03:00
|
|
|
.if ${MACHINE} == "ews4800mips"
|
|
|
|
XSERVER_XEWS4800MIPS?= yes
|
|
|
|
.endif
|
|
|
|
|
2004-08-01 22:52:03 +04:00
|
|
|
.if ${MACHINE} == "newsmips"
|
|
|
|
XSERVER_XNEWSMIPS?= yes
|
|
|
|
.endif
|
|
|
|
|
2004-02-07 11:30:34 +03:00
|
|
|
# XFree86 servers all need XFONT as well.
|
|
|
|
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" || \
|
2005-03-24 08:24:20 +03:00
|
|
|
${MACHINE} == "macppc" || ${MACHINE} == "cats" || \
|
2005-10-02 02:51:31 +04:00
|
|
|
${MACHINE} == "sgimips" || ${MACHINE} == "sparc64" || \
|
2006-04-03 15:15:17 +04:00
|
|
|
${MACHINE} == "sparc" || \
|
|
|
|
${MACHINE} == "netwinder"
|
2004-02-07 11:30:34 +03:00
|
|
|
XSERVER_NEEDS_XFONT= yes
|
2004-10-07 17:47:13 +04:00
|
|
|
XSERVER_NEEDS_MIEXT= yes
|
2004-02-07 11:30:34 +03:00
|
|
|
XSERVER_XFREE86= yes
|
2005-03-23 04:00:32 +03:00
|
|
|
# XXX xfree 4.5 installs libafb for i386 and others?
|
|
|
|
.if ${MACHINE} == "i386"
|
|
|
|
XSERVER_HAS_AFB= yes
|
|
|
|
.endif
|
2004-02-07 11:30:34 +03:00
|
|
|
.endif
|
|
|
|
|
2004-02-22 21:30:34 +03:00
|
|
|
.if ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcsh"
|
2004-02-07 11:30:34 +03:00
|
|
|
XSERVER_XHPC= yes
|
2004-01-07 16:05:48 +03:00
|
|
|
.endif
|
|
|
|
|
2004-01-10 07:34:33 +03:00
|
|
|
.if ${MACHINE} == "mac68k"
|
|
|
|
XSERVER_XMAC68K= yes
|
|
|
|
.endif
|
|
|
|
|
2004-02-07 11:30:34 +03:00
|
|
|
.if ${MACHINE} == "macppc"
|
|
|
|
XSERVER_XMACPPC= yes
|
2004-01-17 07:06:18 +03:00
|
|
|
.endif
|
|
|
|
|
2004-03-10 19:21:16 +03:00
|
|
|
.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || ${MACHINE} == "sun3"
|
2004-03-14 11:08:45 +03:00
|
|
|
XSERVER_XSUN= yes
|
|
|
|
XSERVER_XSUNMONO= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
|
|
|
|
XSERVER_XSUN24= yes
|
2004-01-18 08:35:03 +03:00
|
|
|
.endif
|
|
|
|
|
2004-02-07 11:30:34 +03:00
|
|
|
.if ${MACHINE} == "vax"
|
|
|
|
XSERVER_XVFB= no
|
2004-01-18 08:35:03 +03:00
|
|
|
.endif
|
|
|
|
|
2004-02-07 11:30:34 +03:00
|
|
|
|
2004-01-06 15:30:13 +03:00
|
|
|
# Does this server need Xfont/fontbase libraries?
|
|
|
|
XSERVER_NEEDS_XFONT?= no
|
2004-10-07 17:47:13 +04:00
|
|
|
# Does this server need miext modules?
|
2005-03-22 22:47:59 +03:00
|
|
|
XSERVER_NEEDS_MIEXT?= yes
|
2004-01-06 15:30:13 +03:00
|
|
|
# Does this server use cfb* libraries?
|
|
|
|
XSERVER_HAS_CFB?= yes
|
|
|
|
# Does this server use fb library?
|
|
|
|
XSERVER_HAS_FB?= yes
|
2004-01-17 07:06:18 +03:00
|
|
|
# Does this server use afb library?
|
|
|
|
XSERVER_HAS_AFB?= no
|
2004-03-28 19:28:24 +04:00
|
|
|
# Does this server use iplan2p? libraries?
|
|
|
|
XSERVER_HAS_IPLAN?= no
|
2004-01-06 15:30:13 +03:00
|
|
|
|
2004-02-07 11:30:34 +03:00
|
|
|
# Does this platform build X68k X servers?
|
|
|
|
XSERVER_X68K?= no
|
|
|
|
# Does this platform build the XalphaNetBSD server?
|
|
|
|
XSERVER_XALPHANETBSD?= no
|
2005-06-30 13:48:47 +04:00
|
|
|
# Does this platform build Xamiga X server?
|
2004-02-07 11:30:34 +03:00
|
|
|
XSERVER_XAMIGA?=no
|
|
|
|
# Does this platform build the Xarm32VIDC server?
|
|
|
|
XSERVER_XARM32VIDC?= no
|
|
|
|
# Does this platform build the XdecNetBSD server?
|
|
|
|
XSERVER_XDECNETBSD?= no
|
2005-03-21 03:49:17 +03:00
|
|
|
# Does this platform build the Xdmx server?
|
|
|
|
XSERVER_XDMX?= yes
|
2004-02-07 11:30:34 +03:00
|
|
|
# Does this platform build the Xdreamcast server?
|
|
|
|
XSERVER_XDREAMCAST?= no
|
2005-12-29 18:52:20 +03:00
|
|
|
# Does this platform build the Xews4800mips server?
|
|
|
|
XSERVER_XEWS4800MIPS?= no
|
2004-08-01 22:52:03 +04:00
|
|
|
# Does this platform build the Xnewsmips server?
|
|
|
|
XSERVER_XNEWSMIPS?= no
|
2004-03-28 19:28:24 +04:00
|
|
|
# Does this platform build the Xfree68 servers?
|
|
|
|
XSERVER_XFREE68?= no
|
2004-01-06 15:30:13 +03:00
|
|
|
# Does this platform build XFree86 X server?
|
|
|
|
XSERVER_XFREE86?= no
|
|
|
|
# Does this platform build Xhpc X servers?
|
|
|
|
XSERVER_XHPC?= no
|
2004-02-07 11:30:34 +03:00
|
|
|
# Does this platform build the Xmac68k X server?
|
|
|
|
XSERVER_XMAC68K?= no
|
|
|
|
# Does this platform build Xmacppc X server?
|
|
|
|
XSERVER_XMACPPC?= no
|
2004-03-14 11:08:45 +03:00
|
|
|
# Does this platform build Xsun* X servers?
|
|
|
|
XSERVER_XSUN?= no
|
|
|
|
XSERVER_XSUNMONO?= no
|
|
|
|
XSERVER_XSUN24?= no
|
2004-01-17 07:06:18 +03:00
|
|
|
# Does this platform build Xvfb X server?
|
2004-01-11 12:07:28 +03:00
|
|
|
XSERVER_XVFB?= yes
|