1# $NetBSD: Makefile.common,v 1.26 2013/06/12 21:35:29 mrg Exp $ 2 3# These define parts of the Xserver tree that are to be 4# conditionally compiled for different platforms. See 5# below for descriptions of each variable. 6 7.include <bsd.own.mk> 8 9 10# XFree86 servers all need XFONT as well. 11.if ${MKXORG_SERVER} != "no" 12XSERVER_NEEDS_XFONT= yes 13XSERVER_XFREE86= yes 14.endif 15 16.if ${MACHINE} == "acorn32" 17XSERVER_XARM32VIDC= yes 18.endif 19 20.if ${MACHINE} == "alpha" 21XSERVER_XALPHANETBSD= yes 22XSERVER_XDECNETBSD= yes 23.endif 24 25.if ${MACHINE} == "amiga" 26XSERVER_XAMIGA= yes 27.endif 28 29.if ${MACHINE} == "atari" 30#XSERVER_XFREE68= yes 31.endif 32 33.if ${MACHINE} == "mac68k" 34XSERVER_XMAC68K= yes 35.endif 36 37.if ${MACHINE} == "macppc" 38XSERVER_XMACPPC= yes 39.endif 40 41.if ${MACHINE} == "pmax" 42XSERVER_XDECNETBSD= yes 43XSERVER_XPMAX= no # XXX should be yes but may be obsoleted 44.endif 45 46.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" 47XSERVER_XSUN= yes 48XSERVER_XSUNMONO= yes 49XSERVER_XSUN24= yes 50.endif 51 52.if ${MACHINE} == "sun3" 53XSERVER_XSUN= yes 54XSERVER_XSUNMONO= yes 55.endif 56 57.if ${MACHINE} == "x68k" 58XSERVER_X68K= yes 59.endif 60 61 62# Does this server need Xfont/fontbase libraries? 63XSERVER_NEEDS_XFONT?= no 64 65# Does this platform build XFree86 X server? 66XSERVER_XFREE86?= no 67 68# Does this platform build the XalphaNetBSD server? 69XSERVER_XALPHANETBSD?= no 70# Does this platform build the Xamiga server? 71XSERVER_XAMIGA?= no 72# Does this platform build the Xarm32VIDC server? 73XSERVER_XARM32VIDC?= no 74# Does this platform build the XdecNetBSD server? 75XSERVER_XDECNETBSD?= no 76# Does this platform build the Xfree68 servers? 77XSERVER_XFREE68?= no 78# Does this platform build the Xmac68k X server? 79XSERVER_XMAC68K?= no 80# Does this platform build Xmacppc X server? 81XSERVER_XMACPPC?= no 82# Does this platform build the Xnewsmips server? 83XSERVER_XNEWSMIPS?= no 84# Does this platform build Xpmax X servers? 85XSERVER_XPMAX?= no 86# Does this platform build Xsun* X servers? 87XSERVER_XSUN?= no 88XSERVER_XSUNMONO?= no 89XSERVER_XSUN24?= no 90# Does this platform build X68k X servers? 91XSERVER_X68K?= no 92# Does this platform build Xvfb X server? 93XSERVER_XVFB?= yes 94