Add smi server

This commit is contained in:
Keith Packard 2003-10-02 02:30:28 +00:00
parent 5a21f4f4d0
commit 89a536f349
7 changed files with 58 additions and 22 deletions

View File

@ -4,4 +4,5 @@ SUBDIRS = \
vesa \
mach64 \
fbdev \
mga
mga \
smi

View File

@ -1,20 +0,0 @@
XCOMM $XFree86: xc/programs/Xserver/hw/kdrive/smi/Imakefile,v 1.2 2001/06/16 05:48:48 keithp Exp $
KDRIVE=..
#include "../Kdrive.tmpl"
#if BuildXvExt
XVSRCS=smivideo.c
XVOBJS=smivideo.o
#endif
SRCS = smi.c smidraw.c smistub.c $(XVSRCS)
OBJS = smi.o smidraw.o smistub.o $(XVOBJS)
DEFINES = XvExtensionDefines -DVESA /* -DUSE_PCI*/
INCLUDES = -I. $(KDINCS) -I$(KDRIVE)/vesa
NormalLibraryObjectRule()
NormalLibraryTarget(smi,$(OBJS))
DependTarget()

43
hw/kdrive/smi/Makefile.am Normal file
View File

@ -0,0 +1,43 @@
INCLUDES = \
-I$(top_srcdir)/fb \
-I$(top_srcdir)/hw/kdrive/src \
-I$(top_srcdir)/hw/kdrive/vesa \
-I$(top_srcdir)/mi \
-I$(top_srcdir)/miext/layer \
-I$(top_srcdir)/miext/shadow \
-I$(top_srcdir)/randr \
-I$(top_srcdir)/render \
$(XSERVER_CFLAGS)
bin_PROGRAMS = Xsmi
noinst_LIBRARIES = libsmi.a
# smivideo.c # not ready yet
libsmi_a_SOURCES = \
smi.c \
smidraw.c
Xsmi_SOURCES = \
smistub.c
Xsmi_LDADD = \
$(top_builddir)/hw/kdrive/smi/libsmi.a \
$(top_builddir)/hw/kdrive/vesa/libvesa.a \
$(top_builddir)/dix/libdix.a \
$(top_builddir)/os/libos.a \
$(top_builddir)/miext/layer/liblayer.a \
$(top_builddir)/hw/kdrive/src/libkdrive.a \
$(top_builddir)/hw/kdrive/linux/liblinux.a \
$(top_builddir)/miext/shadow/libshadow.a \
$(top_builddir)/randr/librandr.a \
$(top_builddir)/render/librender.a \
$(top_builddir)/fb/libfb.a \
$(top_builddir)/mi/libmi.a \
$(top_builddir)/Xext/libXext.a \
$(top_builddir)/randr/librandr.a \
$(top_builddir)/render/librender.a \
$(top_builddir)/dix/libxpstubs.a \
$(XSERVER_LIBS) \
-lm -lz

View File

@ -21,6 +21,9 @@
*/
/* $XFree86: xc/programs/Xserver/hw/kdrive/smi/smi.c,v 1.11 2002/10/18 06:31:17 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "smi.h"
#include <sys/io.h>

View File

@ -23,10 +23,13 @@
*/
/* $XFree86: xc/programs/Xserver/hw/kdrive/smi/smidraw.c,v 1.7 2001/07/24 19:06:03 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "smi.h"
#include "smidraw.h"
#include "Xmd.h"
#include <X11/Xmd.h>
#include "gcstruct.h"
#include "scrnintstr.h"
#include "pixmapstr.h"

View File

@ -24,6 +24,9 @@
*/
/* $XFree86: xc/programs/Xserver/hw/kdrive/smi/smistub.c,v 1.4 2002/10/08 21:25:35 keithp Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "smi.h"
void

View File

@ -20,6 +20,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $XFree86: xc/programs/Xserver/hw/kdrive/mach64/mach64video.c,v 1.10 2003/04/23 21:51:18 tsi Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "mach64.h"
#include "Xv.h"