Make kdrive (i.e. Xephyr only) buildable on FreeBSD and probably other OSes
without linux VT switching, fbdev, and vm86 support.
This commit is contained in:
parent
fa3a65e33d
commit
efc3fab7f4
|
@ -1,3 +1,12 @@
|
||||||
|
2006-02-09 Eric Anholt <anholt@FreeBSD.org>
|
||||||
|
|
||||||
|
* configure.ac:
|
||||||
|
* hw/kdrive/linux/Makefile.am:
|
||||||
|
* hw/kdrive/linux/agp.c:
|
||||||
|
* hw/kdrive/src/Makefile.am:
|
||||||
|
Make kdrive (i.e. Xephyr only) buildable on FreeBSD and probably other
|
||||||
|
OSes without linux VT switching, fbdev, and vm86 support.
|
||||||
|
|
||||||
2006-02-09 Eric Anholt <anholt@FreeBSD.org>
|
2006-02-09 Eric Anholt <anholt@FreeBSD.org>
|
||||||
|
|
||||||
* GL/glx/indirect_reqsize.c:
|
* GL/glx/indirect_reqsize.c:
|
||||||
|
|
|
@ -221,6 +221,7 @@ AM_CONDITIONAL(PPC_VIDEO, [test "x$PPC_VIDEO" = xyes])
|
||||||
AM_CONDITIONAL(SPARC64_VIDEO, [test "x$SPARC64_VIDEO" = xyes])
|
AM_CONDITIONAL(SPARC64_VIDEO, [test "x$SPARC64_VIDEO" = xyes])
|
||||||
|
|
||||||
DRI=no
|
DRI=no
|
||||||
|
KDRIVE_HW=no
|
||||||
dnl it would be nice to autodetect these *CONS_SUPPORTs
|
dnl it would be nice to autodetect these *CONS_SUPPORTs
|
||||||
case $host_os in
|
case $host_os in
|
||||||
*freebsd*)
|
*freebsd*)
|
||||||
|
@ -243,8 +244,10 @@ case $host_os in
|
||||||
;;
|
;;
|
||||||
*linux*)
|
*linux*)
|
||||||
DRI=yes
|
DRI=yes
|
||||||
|
KDRIVE_HW=yes
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
AM_CONDITIONAL(KDRIVE_HW, test "x$KDRIVE_HW" = xyes)
|
||||||
|
|
||||||
AC_MSG_CHECKING(for MMX capable platform)
|
AC_MSG_CHECKING(for MMX capable platform)
|
||||||
if test "x$use_x86_asm" = xyes && test "x$GCC" = xyes ; then
|
if test "x$use_x86_asm" = xyes && test "x$GCC" = xyes ; then
|
||||||
|
|
|
@ -13,17 +13,22 @@ if H3600_TS
|
||||||
TS_C = ts.c
|
TS_C = ts.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if KDRIVE_HW
|
||||||
|
KDRIVE_HW_SOURCES = \
|
||||||
|
evdev.c \
|
||||||
|
keyboard.c \
|
||||||
|
linux.c
|
||||||
|
endif
|
||||||
|
|
||||||
liblinux_a_SOURCES = \
|
liblinux_a_SOURCES = \
|
||||||
agp.c \
|
agp.c \
|
||||||
agp.h \
|
agp.h \
|
||||||
bus.c \
|
bus.c \
|
||||||
keyboard.c \
|
|
||||||
klinux.h \
|
klinux.h \
|
||||||
linux.c \
|
|
||||||
mouse.c \
|
mouse.c \
|
||||||
evdev.c \
|
|
||||||
ms.c \
|
ms.c \
|
||||||
ps2.c \
|
ps2.c \
|
||||||
|
$(KDRIVE_HW_SOURCES) \
|
||||||
$(TSLIB_C) \
|
$(TSLIB_C) \
|
||||||
$(TS_C)
|
$(TS_C)
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,7 @@ of the copyright holder.
|
||||||
#include <kdrive-config.h>
|
#include <kdrive-config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
|
#include "misc.h"
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
|
@ -4,6 +4,12 @@ INCLUDES = \
|
||||||
|
|
||||||
noinst_LIBRARIES = libkdrive.a libkdrivestubs.a
|
noinst_LIBRARIES = libkdrive.a libkdrivestubs.a
|
||||||
|
|
||||||
|
if KDRIVE_HW
|
||||||
|
KDRIVE_HW_SOURCES = \
|
||||||
|
vga.c \
|
||||||
|
vga.h
|
||||||
|
endif
|
||||||
|
|
||||||
libkdrive_a_SOURCES = \
|
libkdrive_a_SOURCES = \
|
||||||
fourcc.h \
|
fourcc.h \
|
||||||
kaa.c \
|
kaa.c \
|
||||||
|
@ -25,8 +31,7 @@ libkdrive_a_SOURCES = \
|
||||||
ktest.c \
|
ktest.c \
|
||||||
kxv.c \
|
kxv.c \
|
||||||
kxv.h \
|
kxv.h \
|
||||||
vga.c \
|
$(KDRIVE_HW_SOURCES) \
|
||||||
vga.h \
|
|
||||||
$(top_srcdir)/mi/miinitext.c
|
$(top_srcdir)/mi/miinitext.c
|
||||||
|
|
||||||
libkdrivestubs_a_SOURCES = \
|
libkdrivestubs_a_SOURCES = \
|
||||||
|
|
Loading…
Reference in New Issue