Commit 269b9dac authored by Keith Packard's avatar Keith Packard

Get Xvesa building

parent 0d775576
SUBDIRS = \
src \
linux \
vesa \
linux
INCLUDES = \
-I$(top_srcdir)/fb \
-I$(top_srcdir)/include \
-I$(top_srcdir)/mi \
-I$(top_srcdir)/miext/shadow \
-I$(top_srcdir)/randr \
-I$(top_srcdir)/render
noinst_LTLIBRARIES = libkdrive.la
libkdrive_la_SOURCES = \
kaa.c \
kasync.c \
kcmap.c \
kcolor.c \
kcurscol.c \
kdrive.c \
kinfo.c \
kinput.c \
kmap.c \
kmode.c \
knoop.c \
kpict.c \
kshadow.c \
ktest.c \
kxv.c \
vga.c
......@@ -21,6 +21,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/trident/trident.c,v 1.18 2001/06/04 09:45:42 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "chips.h"
#include <sys/io.h>
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/trident/tridentdraw.c,v 1.10 2001/06/03 18:48:19 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "chips.h"
#include "Xmd.h"
......
......@@ -24,6 +24,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/chips/chipsstub.c,v 1.1 2001/09/05 07:12:42 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "chips.h"
extern int chips_clk, chips_mclk;
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/fbdev/fbdev.c,v 1.31 2002/10/14 18:01:40 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "fbdev.h"
/* this code was used to debug MSB 24bpp code on a 16bpp frame buffer */
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/fbdev/fbinit.c,v 1.8 2001/05/29 17:47:55 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <fbdev.h>
void
......
......@@ -42,6 +42,9 @@ X Window System is a trademark of The Open Group */
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "kdrive.h"
#include "kxv.h"
......
......@@ -71,6 +71,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "kdrive.h"
#include "kxv.h"
#include "i810.h"
......
......@@ -68,6 +68,9 @@ THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "kdrive.h"
#include "kxv.h"
#include "i810.h"
......
......@@ -35,6 +35,9 @@ X Window System is a trademark of The Open Group */
Author: Pontus Lidman <pontus.lidman@nokia.com>
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "kdrive.h"
#ifdef XV
#include "kxv.h"
......
......@@ -36,6 +36,9 @@ X Window System is a trademark of The Open Group */
Author: Pontus Lidman <pontus.lidman@nokia.com>
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "kdrive.h"
#include "kxv.h"
#include "i810.h"
......
......@@ -23,6 +23,9 @@
* Author: Keith Packard, SuSE, Inc.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "igs.h"
Bool
......
......@@ -22,6 +22,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "igs.h"
#define IGS_DAC_SHIFT 8
......
......@@ -22,6 +22,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "igs.h"
#include "cursorstr.h"
......
......@@ -22,6 +22,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "igs.h"
#include "igsdraw.h"
......
......@@ -22,6 +22,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "igsreg.h"
#include <stdio.h>
......
......@@ -22,6 +22,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "igs.h"
void
......
......@@ -24,6 +24,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/ipaq/ipaq.c,v 1.2 2001/05/29 17:47:55 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "pcmcia.h"
extern KdCardFuncs pcmciaFuncs;
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/itsy/itsy.c,v 1.2 1999/12/30 03:03:09 robin Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "itsy.h"
/* struct with LCD characteristics defined in fb_brutus.h */
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/itsy/kbd.c,v 1.1 1999/11/19 13:53:53 hohndel Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "itsy.h"
#include "kkeymap.h"
#include <X11/keysym.h>
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/itsy/ts.c,v 1.1 1999/11/19 13:53:54 hohndel Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define NEED_EVENTS
#include "itsy.h"
#include <X11/Xproto.h>
......
INCLUDES = \
$(X_CFLAGS) \
-I$(top_srcdir)/hw/kdrive \
$(X_CFLAGS) \
-I$(top_srcdir)/hw/kdrive/src \
-I$(top_srcdir)/include \
-I$(top_srcdir)/mi \
-I$(top_srcdir)/fb \
......
......@@ -41,6 +41,9 @@ of the copyright holder.
* Author: Pontus Lidman <pontus.lidman@nokia.com> (adaption to KDrive) and others
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <X11/X.h>
#include <unistd.h>
......
......@@ -22,6 +22,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
......
......@@ -22,6 +22,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "kdrive.h"
#include "kkeymap.h"
#include <linux/keyboard.h>
......
......@@ -22,6 +22,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "kdrive.h"
#include <errno.h>
#include <signal.h>
......
......@@ -22,6 +22,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define NEED_EVENTS
#include <errno.h>
#include <termios.h>
......
......@@ -22,6 +22,9 @@ THE SOFTWARE.
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/linux/ms.c,v 1.1 2001/08/09 20:45:15 dawes Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define NEED_EVENTS
#include <errno.h>
#include <termios.h>
......
......@@ -22,6 +22,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
......
......@@ -25,6 +25,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
......
......@@ -46,6 +46,9 @@
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
......
......@@ -21,6 +21,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/mach64/mach64.c,v 1.10 2002/10/14 18:01:41 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "mach64.h"
#include <sys/io.h>
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/trident/tridentcurs.c,v 1.6 2000/09/03 05:11:20 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "trident.h"
#include "cursorstr.h"
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/mach64/mach64draw.c,v 1.6 2001/07/23 03:44:17 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "mach64.h"
#include "mach64draw.h"
......
......@@ -24,6 +24,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/mach64/mach64stub.c,v 1.2 2001/10/12 06:33:10 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "mach64.h"
void
......
......@@ -20,6 +20,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/mach64/mach64video.c,v 1.9tsi Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "mach64.h"
#include "Xv.h"
......
......@@ -29,6 +29,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/pcmcia/pcmcia.c,v 1.6 2002/10/14 18:01:41 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "pcmcia.h"
#define extern
#include <asm/io.h>
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "pcmcia.h"
#include "cursorstr.h"
......
......@@ -22,6 +22,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <X11/X.h>
#include "scrnintstr.h"
#include "windowstr.h"
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/pcmcia/pcmciashadow.c,v 1.1 2001/05/23 08:56:09 alanh Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <X11/X.h>
#include "scrnintstr.h"
#include "windowstr.h"
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/pcmcia/pcmciastub.c,v 1.1 2001/05/23 08:56:09 alanh Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "pcmcia.h"
void
......
......@@ -24,6 +24,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/savage/s3.c,v 1.4 2000/05/06 22:17:44 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "s3.h"
#define REGISTERS_OFFSET (0x1000000)
......
......@@ -24,6 +24,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/savage/s3clock.c,v 1.3 2000/02/23 20:30:02 dawes Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "s3.h"
/*
......
......@@ -24,6 +24,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/savage/s3cmap.c,v 1.4 2000/05/06 22:17:45 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "s3.h"
void
......
......@@ -24,6 +24,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/savage/s3curs.c,v 1.3 2000/02/23 20:30:03 dawes Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "s3.h"
#include "s3draw.h"
#include "cursorstr.h"
......
......@@ -24,6 +24,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/savage/s3draw.c,v 1.6 2001/05/29 04:54:11 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "s3.h"
#include "s3draw.h"
......
......@@ -24,6 +24,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/savage/s3gc.c,v 1.3 2000/01/21 01:12:02 dawes Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "s3.h"
#include "s3draw.h"
......
......@@ -24,6 +24,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/savage/s3reg.c,v 1.3 2000/02/23 20:30:04 dawes Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "s3reg.h"
#define CR00 S3_CR+0x00
......
......@@ -24,6 +24,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/savage/s3rtst.c,v 1.1 1999/11/19 13:53:57 hohndel Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include "s3reg.h"
......
......@@ -24,6 +24,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/savage/s3stub.c,v 1.3 2000/02/23 20:30:05 dawes Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "s3.h"
void
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/sis530/sis.c,v 1.4 2000/05/06 22:17:49 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "sis.h"
#define MAX_FB_SIZE (4096 * 1024)
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/sis530/sisclock.c,v 1.1 1999/11/19 13:53:59 hohndel Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "sis.h"
#include <stdio.h>
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/sis530/siscmap.c,v 1.1 1999/11/19 13:53:59 hohndel Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "sis.h"
void
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/sis530/siscurs.c,v 1.1 1999/11/19 13:53:59 hohndel Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "sis.h"
#include "cursorstr.h"
......
......@@ -23,6 +23,9 @@
*/
/* $RCSId: xc/programs/Xserver/hw/kdrive/sis530/sisdraw.c,v 1.5 2000/08/09 17:52:44 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "sis.h"
#include "sisdraw.h"
......