aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/GL/mesa/drivers/dri/sis
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-10-10 17:43:39 +0200
committerReinhard Tartler <siretart@tauware.de>2011-10-10 17:43:39 +0200
commitf4092abdf94af6a99aff944d6264bc1284e8bdd4 (patch)
tree2ac1c9cc16ceb93edb2c4382c088dac5aeafdf0f /nx-X11/lib/GL/mesa/drivers/dri/sis
parenta840692edc9c6d19cd7c057f68e39c7d95eb767d (diff)
downloadnx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.gz
nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.bz2
nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.zip
Imported nx-X11-3.1.0-1.tar.gznx-X11/3.1.0-1
Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository
Diffstat (limited to 'nx-X11/lib/GL/mesa/drivers/dri/sis')
-rw-r--r--nx-X11/lib/GL/mesa/drivers/dri/sis/Imakefile80
-rw-r--r--nx-X11/lib/GL/mesa/drivers/dri/sis/Imakefile.inc156
2 files changed, 236 insertions, 0 deletions
diff --git a/nx-X11/lib/GL/mesa/drivers/dri/sis/Imakefile b/nx-X11/lib/GL/mesa/drivers/dri/sis/Imakefile
new file mode 100644
index 000000000..c06601de1
--- /dev/null
+++ b/nx-X11/lib/GL/mesa/drivers/dri/sis/Imakefile
@@ -0,0 +1,80 @@
+XCOMM $XFree86: xc/lib/GL/mesa/src/drv/sis/Imakefile,v 1.22 2002/11/25 14:04:52 eich Exp $
+
+#include <Threads.tmpl>
+
+#if GlxUseBuiltInDRIDriver
+#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC)
+#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC)
+#define DoExtraLib SharedLibGlx
+#define DoDebugLib DebugLibGlx
+#define DoProfileLib ProfileLibGlx
+#else
+#define DoNormalLib SharedLibGlxWithoutPIC
+#define DoSharedLib !SharedLibGlxWithoutPIC
+#define DoExtrasLib NO
+#define DoDebugLib NO
+#define DoProfileLib NO
+#endif
+
+#define MesaDrvCommonBuildDir ../common/
+#include "../common/Imakefile.inc"
+#include "../../../array_cache/Imakefile.inc"
+#include "../../../main/Imakefile.inc"
+#include "../../../math/Imakefile.inc"
+#include "../../../shader/Imakefile.inc"
+#include "../../../shader/grammar/Imakefile.inc"
+#include "../../../shader/slang/Imakefile.inc"
+#include "../../../shader/slang/library/Imakefile.inc"
+#include "../../../swrast/Imakefile.inc"
+#include "../../../swrast_setup/Imakefile.inc"
+#include "../../../tnl/Imakefile.inc"
+#include "../../../tnl_dd/Imakefile.inc"
+#include "../../../Imakefile.inc"
+#if defined(i386Architecture) && MesaUseX86Asm
+#include "../../../x86/Imakefile.inc"
+#endif
+#ifdef SparcArchitecture
+#include "../../../sparc/Imakefile.inc"
+#endif
+#define NeedToLinkMesaSrc
+#include "Imakefile.inc"
+
+XCOMM DEBUG_DEFINES = -DDEBUG_LOCKING
+XCOMM DEBUG_DEFINES = -DSIS_DEBUG
+
+ DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(MESA_ASM_DEFINES) \
+ $(DEBUG_DEFINES)
+ INCLUDES = $(X_INCLUDES) $(MESA_INCLUDES) $(DRI_INCLUDES)
+
+ DRMOBJS = $(GLXLIBSRC)/dri/drm/xf86drm.o \
+ $(GLXLIBSRC)/dri/drm/xf86drmHash.o \
+ $(GLXLIBSRC)/dri/drm/xf86drmRandom.o \
+ $(GLXLIBSRC)/dri/drm/xf86drmSL.o
+
+ SRCS = $(SISSRCS)
+ OBJS = $(DRMOBJS) $(COREMESAOBJS) \
+ $(MESA_ASM_OBJS) $(COMMONOBJS) $(SISOBJS)
+
+REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) $(EXPATLIB)
+
+#include <Library.tmpl>
+
+LibraryObjectRule()
+
+SubdirLibraryRule($(SISOBJS))
+NormalLintTarget($(SRCS))
+
+#if !GlxUseBuiltInDRIDriver
+LIBNAME = sis_dri.so
+SharedDriModuleTarget($(LIBNAME),DONE $(OBJS),$(OBJS))
+InstallDynamicModule($(LIBNAME),$(MODULEDIR),dri)
+
+#ifdef GlxSoProf
+SOPROF_LIBNAME = _sis_dri_p
+NormalDepLibraryTarget($(SOPROF_LIBNAME),DONE $(OBJS),$(OBJS))
+InstallLibrary($(SOPROF_LIBNAME),$(MODULEDIR)/dri)
+#endif
+#endif
+
+DependTarget()
+
diff --git a/nx-X11/lib/GL/mesa/drivers/dri/sis/Imakefile.inc b/nx-X11/lib/GL/mesa/drivers/dri/sis/Imakefile.inc
new file mode 100644
index 000000000..8aa776f08
--- /dev/null
+++ b/nx-X11/lib/GL/mesa/drivers/dri/sis/Imakefile.inc
@@ -0,0 +1,156 @@
+XCOMM $XFree86: xc/lib/GL/mesa/src/drv/sis/Imakefile.inc,v 1.1 2001/03/23 19:18:43 dawes Exp $
+
+#ifndef MesaDrvSrcDir
+#define MesaDrvSrcDir $(MESASRCDIR)/src/mesa/drivers/dri
+#endif
+
+MESADRVSRCDIR = MesaDrvSrcDir
+
+#ifndef MesaDrvSisBuildDir
+#define MesaDrvSisBuildDir /**/
+#endif
+MESADRVSISBUILDDIR = MesaDrvSisBuildDir
+
+#if Malloc0ReturnsNull
+ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
+#endif
+
+#if BuildXF86DRI
+ DRI_DEFINES = GlxDefines $(SIS_DEFINES) -DX_BYTE_ORDER=$(X_BYTE_ORDER) -DIN_DRI_DRIVER
+ DRI_INCLUDES = -I$(GLXLIBSRC)/dri \
+ -I$(XINCLUDESRC) \
+ -I$(GLXLIBSRC)/glx \
+ -I$(GLXLIBSRC)/include \
+ -I$(SERVERSRC)/GL/dri \
+ -I$(XF86OSSRC) \
+ -I$(DRMSRCDIR)/shared-core \
+ -I$(XF86DRIVERSRC)/sis \
+ -I$(GLXLIBSRC)/dri/drm
+#endif
+
+MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
+ -I$(MESASRCDIR)/src/mesa/main \
+ -I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
+ -I$(MESASRCDIR)/include \
+ -I$(MESADRVSRCDIR)/common \
+ -I$(MESADRVSRCDIR)/sis
+ X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC)
+
+#if 0
+ DEBUG_SRC = $(MESADRVSISBUILDDIR)sis_debug.c
+ DEBUG_OBJ = $(MESADRVSISBUILDDIR)sis_debug.o
+ DEBUG_UOBJ = $(MESADRVSISBUILDDIR)unshared/sis_debug.o
+ DEBUG_DOBJ = $(MESADRVSISBUILDDIR)debugger/sis_debug.o
+ DEBUG_POBJ = $(MESADRVSISBUILDDIR)profiled/sis_debug.o
+ DEBUG_DEFINES += -DSIS_DUMP
+#ifdef NeedToLinkMesaSrc
+LinkSourceFile(sis_debug.c, $(MESADRVSRCDIR)/sis)
+#endif
+#endif
+
+ SISSRCS = $(MESADRVSISBUILDDIR)sis_alloc.c \
+ $(MESADRVSISBUILDDIR)sis_dd.c \
+ $(MESADRVSISBUILDDIR)sis_lock.c \
+ $(MESADRVSISBUILDDIR)sis_context.c \
+ $(MESADRVSISBUILDDIR)sis_fog.c \
+ $(MESADRVSISBUILDDIR)sis_clear.c \
+ $(MESADRVSISBUILDDIR)sis_screen.c \
+ $(MESADRVSISBUILDDIR)sis_state.c \
+ $(MESADRVSISBUILDDIR)sis_stencil.c \
+ $(MESADRVSISBUILDDIR)sis_span.c \
+ $(MESADRVSISBUILDDIR)sis_tex.c \
+ $(MESADRVSISBUILDDIR)sis_texstate.c \
+ $(MESADRVSISBUILDDIR)sis_tris.c \
+ $(DEBUG_SRC)
+
+ SISOBJS = $(MESADRVSISBUILDDIR)sis_alloc.o \
+ $(MESADRVSISBUILDDIR)sis_dd.o \
+ $(MESADRVSISBUILDDIR)sis_lock.o \
+ $(MESADRVSISBUILDDIR)sis_context.o \
+ $(MESADRVSISBUILDDIR)sis_fog.o \
+ $(MESADRVSISBUILDDIR)sis_clear.o \
+ $(MESADRVSISBUILDDIR)sis_screen.o \
+ $(MESADRVSISBUILDDIR)sis_state.o \
+ $(MESADRVSISBUILDDIR)sis_stencil.o \
+ $(MESADRVSISBUILDDIR)sis_span.o \
+ $(MESADRVSISBUILDDIR)sis_tex.o \
+ $(MESADRVSISBUILDDIR)sis_texstate.o \
+ $(MESADRVSISBUILDDIR)sis_tris.o \
+ $(DEBUG_OBJ)
+
+ SISUOBJS = $(MESADRVSISBUILDDIR)unshared/sis_alloc.o \
+ $(MESADRVSISBUILDDIR)unshared/sis_dd.o \
+ $(MESADRVSISBUILDDIR)unshared/sis_lock.o \
+ $(MESADRVSISBUILDDIR)unshared/sis_context.o \
+ $(MESADRVSISBUILDDIR)unshared/sis_fog.o \
+ $(MESADRVSISBUILDDIR)unshared/sis_clear.o \
+ $(MESADRVSISBUILDDIR)unshared/sis_screen.o \
+ $(MESADRVSISBUILDDIR)unshared/sis_state.o \
+ $(MESADRVSISBUILDDIR)unshared/sis_stencil.o \
+ $(MESADRVSISBUILDDIR)unshared/sis_span.o \
+ $(MESADRVSISBUILDDIR)unshared/sis_tex.o \
+ $(MESADRVSISBUILDDIR)unshared/sis_texstate.o \
+ $(MESADRVSISBUILDDIR)unshared/sis_tris.o \
+ $(DEBUG_UOBJ)
+
+ SISDOBJS = $(MESADRVSISBUILDDIR)debugger/sis_alloc.o \
+ $(MESADRVSISBUILDDIR)debugger/sis_dd.o \
+ $(MESADRVSISBUILDDIR)debugger/sis_lock.o \
+ $(MESADRVSISBUILDDIR)debugger/sis_context.o \
+ $(MESADRVSISBUILDDIR)debugger/sis_fog.o \
+ $(MESADRVSISBUILDDIR)debugger/sis_clear.o \
+ $(MESADRVSISBUILDDIR)debugger/sis_screen.o \
+ $(MESADRVSISBUILDDIR)debugger/sis_state.o \
+ $(MESADRVSISBUILDDIR)debugger/sis_stencil.o \
+ $(MESADRVSISBUILDDIR)debugger/sis_span.o \
+ $(MESADRVSISBUILDDIR)debugger/sis_tex.o \
+ $(MESADRVSISBUILDDIR)debugger/sis_texstate.o \
+ $(MESADRVSISBUILDDIR)debugger/sis_tris.o \
+ $(DEBUG_DOBJ)
+
+ SISPOBJS = $(MESADRVSISBUILDDIR)profiled/sis_alloc.o \
+ $(MESADRVSISBUILDDIR)profiled/sis_dd.o \
+ $(MESADRVSISBUILDDIR)profiled/sis_lock.o \
+ $(MESADRVSISBUILDDIR)profiled/sis_context.o \
+ $(MESADRVSISBUILDDIR)profiled/sis_fog.o \
+ $(MESADRVSISBUILDDIR)profiled/sis_clear.o \
+ $(MESADRVSISBUILDDIR)profiled/sis_screen.o \
+ $(MESADRVSISBUILDDIR)profiled/sis_state.o \
+ $(MESADRVSISBUILDDIR)profiled/sis_stencil.o \
+ $(MESADRVSISBUILDDIR)profiled/sis_span.o \
+ $(MESADRVSISBUILDDIR)profiled/sis_tex.o \
+ $(MESADRVSISBUILDDIR)profiled/sis_texstate.o \
+ $(MESADRVSISBUILDDIR)profiled/sis_tris.o \
+ $(DEBUG_POBJ)
+
+#ifdef NeedToLinkMesaSrc
+LinkSourceFile(sis_alloc.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_alloc.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_common2.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_context.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_dd.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_dd.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_debug.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_debug.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_lock.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_lock.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_context.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_fog.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_clear.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_reg.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_screen.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_screen.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_state.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_state.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_stencil.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_stencil.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_span.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_span.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_tex.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_tex.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_texstate.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_tris.c, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_tris.h, $(MESADRVSRCDIR)/sis)
+LinkSourceFile(sis_tritmp.h, $(MESADRVSRCDIR)/sis)
+#endif