Add sgimips as a valid XFree86 server target.

This commit is contained in:
sekiya 2004-02-21 01:51:43 +00:00
parent 151426159b
commit 6b0d2196d3
2 changed files with 12 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.11 2004/02/07 12:28:13 rtr Exp $
# $NetBSD: Makefile.common,v 1.12 2004/02/21 01:51:43 sekiya Exp $
# These define parts of the Xserver tree that are to be
# conditionally compiled for different platforms. See
@ -34,7 +34,7 @@ XSERVER_XDREAMCAST?= yes
# XFree86 servers all need XFONT as well.
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" || \
${MACHINE} == "macppc" || ${MACHINE} == "cats"
${MACHINE} == "macppc" || ${MACHINE} == "cats" || ${MACHINE} == "sgimips"
XSERVER_NEEDS_XFONT= yes
XSERVER_XFREE86= yes
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2004/02/13 16:56:19 chris Exp $
# $NetBSD: Makefile,v 1.6 2004/02/21 01:51:43 sekiya Exp $
.include "../../../Makefile.serverlib"
@ -36,6 +36,12 @@ CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
.endfor
.endif
.if ${MACHINE} == "sgimips"
SRCS.bsd+= mips_video.c bsdResource.c pm_noop.c lnx_agp.c
.for _FN in ${SRCS.bsd}
CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
.endfor
.endif
.if ${MACHINE} == "cats"
SRCS.bsd+= arm_video.c bsdResource.c pm_noop.c agp_noop.c ioperm_noop.c
@ -51,7 +57,7 @@ SRCS.bus= Pci.c
SRCS.bus+= ix86Pci.c
.endif
.if ${MACHINE} == "macppc" || ${MACHINE} == "cats"
.if ${MACHINE} == "macppc" || ${MACHINE} == "cats" || ${MACHINE} == "sgimips"
SRCS.bus+= netbsdPci.c
.endif
@ -66,7 +72,8 @@ CPPFLAGS.IODelay.S= -DUSE_GAS
CPPFLAGS.SlowBcopy.S= -DUSE_GAS
.endif
.if ${MACHINE} == "amd64" || ${MACHINE} == "macppc" || ${MACHINE} == "cats"
.if ${MACHINE} == "amd64" || ${MACHINE} == "macppc" || \
${MACHINE} == "cats" || ${MACHINE} == "sgimips"
SRCS.misc+= CBUSmemcpy.c CIODelay.c CSlowBcopy.c
.endif