2004-01-11 16:28:46 +03:00
|
|
|
# $NetBSD: Makefile.common,v 1.7 2004/01/11 13:28:46 rtr 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.
|
|
|
|
|
|
|
|
# XFree86 servers all need XFONT as well.
|
|
|
|
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" || \
|
|
|
|
${MACHINE} == "macppc" || ${MACHINE} == "cats"
|
|
|
|
XSERVER_NEEDS_XFONT= yes
|
|
|
|
XSERVER_XFREE86= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE} == "macppc"
|
|
|
|
XSERVER_XMACPPC= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
|
|
|
|
XSERVER_XSUN= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE} == "vax"
|
|
|
|
XSERVER_HAS_CFB= no
|
|
|
|
XSERVER_HAS_FB= no
|
|
|
|
XSERVER_XVFB= no
|
|
|
|
.endif
|
|
|
|
|
2004-01-11 12:07:28 +03:00
|
|
|
.if ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcarm"
|
2004-01-06 15:30:13 +03:00
|
|
|
XSERVER_XHPC= yes
|
|
|
|
.endif
|
|
|
|
|
2004-01-07 16:05:48 +03:00
|
|
|
.if ${MACHINE} == "x68k"
|
|
|
|
XSERVER_X68K= yes
|
|
|
|
XSERVER_HAS_FB= no
|
2004-01-11 16:28:46 +03:00
|
|
|
XSERVER_XVFB= no
|
2004-01-07 16:05:48 +03:00
|
|
|
.endif
|
|
|
|
|
2004-01-10 07:34:33 +03:00
|
|
|
.if ${MACHINE} == "mac68k"
|
|
|
|
XSERVER_XMAC68K= yes
|
|
|
|
XSERVER_HAS_CFB= yes
|
|
|
|
XSERVER_HAS_FB= yes
|
|
|
|
.endif
|
|
|
|
|
2004-01-06 15:30:13 +03:00
|
|
|
# Does this server need Xfont/fontbase libraries?
|
|
|
|
XSERVER_NEEDS_XFONT?= no
|
|
|
|
# Does this server use cfb* libraries?
|
|
|
|
XSERVER_HAS_CFB?= yes
|
|
|
|
# Does this server use fb library?
|
|
|
|
XSERVER_HAS_FB?= yes
|
|
|
|
|
|
|
|
# Does this platform build XFree86 X server?
|
|
|
|
XSERVER_XFREE86?= no
|
|
|
|
# Does this platform build Xmacppc X server?
|
|
|
|
XSERVER_XMACPPC?= no
|
|
|
|
# Does this platform build Xsun* X servers? (split?)
|
|
|
|
XSERVER_XSUN?= no
|
|
|
|
# Does this platform build Xhpc X servers?
|
|
|
|
XSERVER_XHPC?= no
|
2004-01-07 16:05:48 +03:00
|
|
|
# Does this platform build X68k X servers?
|
|
|
|
XSERVER_X68K?= no
|
2004-01-11 12:07:28 +03:00
|
|
|
# Does this platform build Xpmax X servers?
|
|
|
|
XSERVER_XPMAX?= no
|
2004-01-06 15:30:13 +03:00
|
|
|
# Does this platform build Xvfb X server?
|
2004-01-11 12:07:28 +03:00
|
|
|
XSERVER_XVFB?= yes
|
2004-01-10 07:34:33 +03:00
|
|
|
# Does this platform build the Xmac68k X server?
|
|
|
|
XSERVER_XMAC68K?= no
|