Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/x11/Xserver/hw/xfree86/xf86_os Add cross build glue for cats.



details:   https://anonhg.NetBSD.org/src/rev/467067a2cc6d
branches:  trunk
changeset: 558493:467067a2cc6d
user:      chris <chris%NetBSD.org@localhost>
date:      Fri Feb 13 16:56:19 2004 +0000

description:
Add cross build glue for cats.

diffstat:

 x11/Xserver/hw/xfree86/xf86_os/Makefile |  14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diffs (42 lines):

diff -r 11e47374f374 -r 467067a2cc6d x11/Xserver/hw/xfree86/xf86_os/Makefile
--- a/x11/Xserver/hw/xfree86/xf86_os/Makefile   Fri Feb 13 15:49:02 2004 +0000
+++ b/x11/Xserver/hw/xfree86/xf86_os/Makefile   Fri Feb 13 16:56:19 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2004/02/07 06:52:07 lukem Exp $
+#      $NetBSD: Makefile,v 1.5 2004/02/13 16:56:19 chris Exp $
 
 .include "../../../Makefile.serverlib"
 
@@ -36,6 +36,14 @@
 .endfor
 .endif
 
+
+.if ${MACHINE} == "cats"
+SRCS.bsd+=      arm_video.c bsdResource.c pm_noop.c agp_noop.c ioperm_noop.c
+.for _FN in ${SRCS.bsd}
+CPPFLAGS.${_FN}=        -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
+.endfor
+.endif
+
 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/bus
 SRCS.bus=      Pci.c
 
@@ -43,7 +51,7 @@
 SRCS.bus+=     ix86Pci.c
 .endif
 
-.if ${MACHINE} == "macppc"
+.if ${MACHINE} == "macppc" || ${MACHINE} == "cats"
 SRCS.bus+=     netbsdPci.c
 .endif
 
@@ -58,7 +66,7 @@
 CPPFLAGS.SlowBcopy.S=  -DUSE_GAS
 .endif
 
-.if ${MACHINE} == "amd64" || ${MACHINE} == "macppc"
+.if ${MACHINE} == "amd64" || ${MACHINE} == "macppc" || ${MACHINE} == "cats"
 SRCS.misc+=    CBUSmemcpy.c CIODelay.c CSlowBcopy.c
 .endif
 



Home | Main Index | Thread Index | Old Index