Fri Oct 3 05:14:01 2008 UTC ()
actually pass -DPCI_VIA_TTYE0 on sparc(64), also don't overwrite other
options


(macallan)
diff -r1.19 -r1.20 src/x11/Xserver/hw/xfree86/xf86_os/Makefile

cvs diff -r1.19 -r1.20 src/x11/Xserver/hw/xfree86/xf86_os/Attic/Makefile (expand / switch to unified diff)

--- src/x11/Xserver/hw/xfree86/xf86_os/Attic/Makefile 2008/04/23 05:13:43 1.19
+++ src/x11/Xserver/hw/xfree86/xf86_os/Attic/Makefile 2008/10/03 05:14:01 1.20
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.19 2008/04/23 05:13:43 macallan Exp $ 1# $NetBSD: Makefile,v 1.20 2008/10/03 05:14:01 macallan Exp $
2 2
3.include "../../../Makefile.serverlib" 3.include "../../../Makefile.serverlib"
4 4
5LIB= xf86_os 5LIB= xf86_os
6 6
7.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support 7.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support
8.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/bsd 8.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/bsd
9.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/shared 9.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/shared
10SRCS.bsd= bsd_init.c bsd_io.c bsd_VTsw.c libc_wrapper.c std_kbdEv.c \ 10SRCS.bsd= bsd_init.c bsd_io.c bsd_VTsw.c libc_wrapper.c std_kbdEv.c \
11 posix_tty.c bsd_mouse.c stdPci.c vidmem.c sigio.c \ 11 posix_tty.c bsd_mouse.c stdPci.c vidmem.c sigio.c \
12 kmod_noop.c bsd_kbd.c bsd_KbdMap.c at_scancode.c 12 kmod_noop.c bsd_kbd.c bsd_KbdMap.c at_scancode.c
13 13
14.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/linux 14.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/linux
@@ -39,28 +39,27 @@ CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSES @@ -39,28 +39,27 @@ CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSES
39.endif 39.endif
40 40
41.if ${MACHINE} == "sgimips" 41.if ${MACHINE} == "sgimips"
42SRCS.bsd+= mips_video.c bsdResource.c pm_noop.c lnx_agp.c 42SRCS.bsd+= mips_video.c bsdResource.c pm_noop.c lnx_agp.c
43.for _FN in ${SRCS.bsd} 43.for _FN in ${SRCS.bsd}
44CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC 44CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
45.endfor 45.endfor
46.endif 46.endif
47 47
48.if ${MACHINE} == "sparc64" || ${MACHINE} == "sparc" 48.if ${MACHINE} == "sparc64" || ${MACHINE} == "sparc"
49SRCS.bsd+= sparc64_video.c bsdResource.c pm_noop.c lnx_agp.c \ 49SRCS.bsd+= sparc64_video.c bsdResource.c pm_noop.c lnx_agp.c \
50 ioperm_noop.c netbsdSbus.c 50 ioperm_noop.c netbsdSbus.c
51.for _FN in ${SRCS.bsd} 51.for _FN in ${SRCS.bsd}
52CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC \ 52CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
53 -DPCI_VIA_TTYE0 
54.endfor 53.endfor
55.endif 54.endif
56 55
57.if ${MACHINE} == "cats" 56.if ${MACHINE} == "cats"
58SRCS.bsd+= arm_video.c bsdResource.c pm_noop.c agp_noop.c ioperm_noop.c 57SRCS.bsd+= arm_video.c bsdResource.c pm_noop.c agp_noop.c ioperm_noop.c
59.for _FN in ${SRCS.bsd} 58.for _FN in ${SRCS.bsd}
60CPPFLAGS.${_FN}= -DPCVT_SUPPORT -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC 59CPPFLAGS.${_FN}= -DPCVT_SUPPORT -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
61.endfor 60.endfor
62.endif 61.endif
63 62
64.if ${MACHINE} == "netwinder" 63.if ${MACHINE} == "netwinder"
65SRCS.bsd+= arm_video.c bsdResource.c pm_noop.c agp_noop.c ioperm_noop.c 64SRCS.bsd+= arm_video.c bsdResource.c pm_noop.c agp_noop.c ioperm_noop.c
66.for _FN in ${SRCS.bsd} 65.for _FN in ${SRCS.bsd}
@@ -79,29 +78,30 @@ CPPFLAGS.${_FN}= -DWSCONS_SUPPORT @@ -79,29 +78,30 @@ CPPFLAGS.${_FN}= -DWSCONS_SUPPORT
79SRCS.bus= Pci.c 78SRCS.bus= Pci.c
80 79
81.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" 80.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
82SRCS.bus+= ix86Pci.c 81SRCS.bus+= ix86Pci.c
83.endif 82.endif
84 83
85.if ${MACHINE} == "macppc" || ${MACHINE} == "cats" || \ 84.if ${MACHINE} == "macppc" || ${MACHINE} == "cats" || \
86 ${MACHINE} == "sgimips" || ${MACHINE} == "sparc64" || \ 85 ${MACHINE} == "sgimips" || ${MACHINE} == "sparc64" || \
87 ${MACHINE} == "sparc" || ${MACHINE} == "netwinder" || \ 86 ${MACHINE} == "sparc" || ${MACHINE} == "netwinder" || \
88 ${MACHINE} == "shark" || ${MACHINE} == "ofppc" 87 ${MACHINE} == "shark" || ${MACHINE} == "ofppc"
89SRCS.bus+= netbsdPci.c 88SRCS.bus+= netbsdPci.c
90.endif 89.endif
91 90
92.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc" 91.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc" || \
 92 ${MACHINE} == "sparc64" || ${MACHINE} == "sparc"
93.for _FN in ${SRCS.bus} 93.for _FN in ${SRCS.bus}
94CPPFLAGS.${_FN}= -DPCI_VIA_TTYE0 94CPPFLAGS.${_FN}+= -DPCI_VIA_TTYE0
95.endfor 95.endfor
96.endif 96.endif
97 97
98.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/misc 98.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/misc
99SRCS.misc= xf86_Util.c Delay.c xf86_IlHack.c 99SRCS.misc= xf86_Util.c Delay.c xf86_IlHack.c
100 100
101.if ${MACHINE} == "i386" 101.if ${MACHINE} == "i386"
102SRCS.misc+= BUSmemcpy.S IODelay.S SlowBcopy.S 102SRCS.misc+= BUSmemcpy.S IODelay.S SlowBcopy.S
103CPPFLAGS.BUSmemcpy.S= -DUSE_GAS 103CPPFLAGS.BUSmemcpy.S= -DUSE_GAS
104CPPFLAGS.IODelay.S= -DUSE_GAS 104CPPFLAGS.IODelay.S= -DUSE_GAS
105CPPFLAGS.SlowBcopy.S= -DUSE_GAS 105CPPFLAGS.SlowBcopy.S= -DUSE_GAS
106.endif 106.endif
107 107