aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/GL/mesa/drivers/dri/ffb
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/ffb
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/ffb')
-rw-r--r--nx-X11/lib/GL/mesa/drivers/dri/ffb/Imakefile77
-rw-r--r--nx-X11/lib/GL/mesa/drivers/dri/ffb/Imakefile.inc151
2 files changed, 228 insertions, 0 deletions
diff --git a/nx-X11/lib/GL/mesa/drivers/dri/ffb/Imakefile b/nx-X11/lib/GL/mesa/drivers/dri/ffb/Imakefile
new file mode 100644
index 000000000..7d98c1912
--- /dev/null
+++ b/nx-X11/lib/GL/mesa/drivers/dri/ffb/Imakefile
@@ -0,0 +1,77 @@
+XCOMM $XFree86: xc/lib/GL/mesa/src/drv/ffb/Imakefile,v 1.15 2002/02/23 00:45:48 dawes 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"
+
+ DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(MESA_ASM_DEFINES)
+ INCLUDES = $(X_INCLUDES) $(MESA_INCLUDES) $(DRI_INCLUDES) \
+ -I$(XF86DRIVERSRC)/sunffb
+
+ DRMOBJS = $(GLXLIBSRC)/dri/drm/xf86drm.o \
+ $(GLXLIBSRC)/dri/drm/xf86drmHash.o \
+ $(GLXLIBSRC)/dri/drm/xf86drmRandom.o \
+ $(GLXLIBSRC)/dri/drm/xf86drmSL.o
+
+ SRCS = $(FFBSRCS)
+ OBJS = $(DRMOBJS) $(COREMESAOBJS) \
+ $(MESA_ASM_OBJS) $(COMMONOBJS) $(FFBOBJS)
+
+REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) $(EXPATLIB)
+
+#include <Library.tmpl>
+
+LibraryObjectRule()
+
+SubdirLibraryRule($(FFBOBJS))
+NormalLintTarget($(SRCS))
+
+#if !GlxUseBuiltInDRIDriver
+LIBNAME = ffb_dri.so
+SharedDriModuleTarget($(LIBNAME),DONE $(OBJS),$(OBJS))
+InstallDynamicModule($(LIBNAME),$(MODULEDIR),dri)
+
+#ifdef GlxSoProf
+SOPROF_LIBNAME = _ffb_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/ffb/Imakefile.inc b/nx-X11/lib/GL/mesa/drivers/dri/ffb/Imakefile.inc
new file mode 100644
index 000000000..3ef08a64a
--- /dev/null
+++ b/nx-X11/lib/GL/mesa/drivers/dri/ffb/Imakefile.inc
@@ -0,0 +1,151 @@
+XCOMM $XFree86: xc/lib/GL/mesa/src/drv/ffb/Imakefile.inc,v 1.3 2002/02/22 21:32:58 dawes Exp $
+
+#ifndef MesaDrvSrcDir
+#define MesaDrvSrcDir $(MESASRCDIR)/src/mesa/drivers/dri
+#endif
+
+MESADRVSRCDIR = MesaDrvSrcDir
+
+#ifndef MesaDrvFfbBuildDir
+#define MesaDrvFfbBuildDir /**/
+#endif
+MESADRVFFBBUILDDIR = MesaDrvFfbBuildDir
+
+#if Malloc0ReturnsNull
+ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
+#endif
+
+#if BuildXF86DRI
+ DRI_DEFINES = GlxDefines -DX_BYTE_ORDER=ByteOrder -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$(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)/ffb
+ X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC)
+
+ FFBSRCS = $(MESADRVFFBBUILDDIR)ffb_bitmap.c \
+ $(MESADRVFFBBUILDDIR)ffb_clear.c \
+ $(MESADRVFFBBUILDDIR)ffb_dd.c \
+ $(MESADRVFFBBUILDDIR)ffb_depth.c \
+ /* $(MESADRVFFBBUILDDIR)ffb_fog.c */ \
+ $(MESADRVFFBBUILDDIR)ffb_lines.c \
+ $(MESADRVFFBBUILDDIR)ffb_points.c \
+ $(MESADRVFFBBUILDDIR)ffb_span.c \
+ $(MESADRVFFBBUILDDIR)ffb_state.c \
+ $(MESADRVFFBBUILDDIR)ffb_stencil.c \
+ $(MESADRVFFBBUILDDIR)ffb_tex.c \
+ $(MESADRVFFBBUILDDIR)ffb_tris.c \
+ $(MESADRVFFBBUILDDIR)ffb_vb.c \
+ $(MESADRVFFBBUILDDIR)ffb_xmesa.c
+
+ FFBOBJS = $(MESADRVFFBBUILDDIR)ffb_bitmap.o \
+ $(MESADRVFFBBUILDDIR)ffb_clear.o \
+ $(MESADRVFFBBUILDDIR)ffb_dd.o \
+ $(MESADRVFFBBUILDDIR)ffb_depth.o \
+ /* $(MESADRVFFBBUILDDIR)ffb_fog.o */ \
+ $(MESADRVFFBBUILDDIR)ffb_lines.o \
+ $(MESADRVFFBBUILDDIR)ffb_points.o \
+ $(MESADRVFFBBUILDDIR)ffb_span.o \
+ $(MESADRVFFBBUILDDIR)ffb_state.o \
+ $(MESADRVFFBBUILDDIR)ffb_stencil.o \
+ $(MESADRVFFBBUILDDIR)ffb_tex.o \
+ $(MESADRVFFBBUILDDIR)ffb_tris.o \
+ $(MESADRVFFBBUILDDIR)ffb_vb.o \
+ $(MESADRVFFBBUILDDIR)ffb_xmesa.o
+
+ FFBUOBJS = $(MESADRVFFBBUILDDIR)unshared/ffb_bitmap.o \
+ $(MESADRVFFBBUILDDIR)unshared/ffb_clear.o \
+ $(MESADRVFFBBUILDDIR)unshared/ffb_dd.o \
+ $(MESADRVFFBBUILDDIR)unshared/ffb_depth.o \
+ /* $(MESADRVFFBBUILDDIR)unshared/ffb_fog.o */ \
+ $(MESADRVFFBBUILDDIR)unshared/ffb_lines.o \
+ $(MESADRVFFBBUILDDIR)unshared/ffb_points.o \
+ $(MESADRVFFBBUILDDIR)unshared/ffb_span.o \
+ $(MESADRVFFBBUILDDIR)unshared/ffb_state.o \
+ $(MESADRVFFBBUILDDIR)unshared/ffb_stencil.o \
+ $(MESADRVFFBBUILDDIR)unshared/ffb_tex.o \
+ $(MESADRVFFBBUILDDIR)unshared/ffb_tris.o \
+ $(MESADRVFFBBUILDDIR)unshared/ffb_vb.o \
+ $(MESADRVFFBBUILDDIR)unshared/ffb_xmesa.o
+
+ FFBDOBJS = $(MESADRVFFBBUILDDIR)debugger/ffb_bitmap.o \
+ $(MESADRVFFBBUILDDIR)debugger/ffb_clear.o \
+ $(MESADRVFFBBUILDDIR)debugger/ffb_dd.o \
+ $(MESADRVFFBBUILDDIR)debugger/ffb_depth.o \
+ /* $(MESADRVFFBBUILDDIR)debugger/ffb_fog.o */ \
+ $(MESADRVFFBBUILDDIR)debugger/ffb_lines.o \
+ $(MESADRVFFBBUILDDIR)debugger/ffb_points.o \
+ $(MESADRVFFBBUILDDIR)debugger/ffb_span.o \
+ $(MESADRVFFBBUILDDIR)debugger/ffb_state.o \
+ $(MESADRVFFBBUILDDIR)debugger/ffb_stencil.o \
+ $(MESADRVFFBBUILDDIR)debugger/ffb_tex.o \
+ $(MESADRVFFBBUILDDIR)debugger/ffb_tris.o \
+ $(MESADRVFFBBUILDDIR)debugger/ffb_vb.o \
+ $(MESADRVFFBBUILDDIR)debugger/ffb_xmesa.o
+
+ FFBPOBJS = $(MESADRVFFBBUILDDIR)profiled/ffb_bitmap.o \
+ $(MESADRVFFBBUILDDIR)profiled/ffb_clear.o \
+ $(MESADRVFFBBUILDDIR)profiled/ffb_dd.o \
+ $(MESADRVFFBBUILDDIR)profiled/ffb_depth.o \
+ /* $(MESADRVFFBBUILDDIR)profiled/ffb_fog.o */ \
+ $(MESADRVFFBBUILDDIR)profiled/ffb_lines.o \
+ $(MESADRVFFBBUILDDIR)profiled/ffb_points.o \
+ $(MESADRVFFBBUILDDIR)profiled/ffb_span.o \
+ $(MESADRVFFBBUILDDIR)profiled/ffb_state.o \
+ $(MESADRVFFBBUILDDIR)profiled/ffb_stencil.o \
+ $(MESADRVFFBBUILDDIR)profiled/ffb_tex.o \
+ $(MESADRVFFBBUILDDIR)profiled/ffb_tris.o \
+ $(MESADRVFFBBUILDDIR)profiled/ffb_vb.o \
+ $(MESADRVFFBBUILDDIR)profiled/ffb_xmesa.o
+
+#ifdef NeedToLinkMesaSrc
+LinkSourceFile(ffb_bitmap.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_bitmap.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_clear.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_clear.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_context.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_dd.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_dd.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_depth.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_depth.h, $(MESADRVSRCDIR)/ffb)
+/* LinkSourceFile(ffb_fog.c, $(MESADRVSRCDIR)/ffb) */
+LinkSourceFile(ffb_fifo.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_lines.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_lines.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_linetmp.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_lock.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_points.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_points.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_pointtmp.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_rendertmp.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_span.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_span.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_state.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_state.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_stencil.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_stencil.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_tex.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_tex.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_tris.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_tris.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_tritmp.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_vb.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_vb.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_vbtmp.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_vtxfmt.h, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_xmesa.c, $(MESADRVSRCDIR)/ffb)
+LinkSourceFile(ffb_xmesa.h, $(MESADRVSRCDIR)/ffb)
+#endif