aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/GL/mesa/drivers/dri/r128
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/GL/mesa/drivers/dri/r128')
-rw-r--r--nx-X11/lib/GL/mesa/drivers/dri/r128/Imakefile77
-rw-r--r--nx-X11/lib/GL/mesa/drivers/dri/r128/Imakefile.inc123
2 files changed, 200 insertions, 0 deletions
diff --git a/nx-X11/lib/GL/mesa/drivers/dri/r128/Imakefile b/nx-X11/lib/GL/mesa/drivers/dri/r128/Imakefile
new file mode 100644
index 000000000..d7ad07895
--- /dev/null
+++ b/nx-X11/lib/GL/mesa/drivers/dri/r128/Imakefile
@@ -0,0 +1,77 @@
+XCOMM $XFree86: xc/lib/GL/mesa/src/drv/r128/Imakefile,v 1.19 2002/02/23 00:45:50 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)
+
+ DRMOBJS = $(GLXLIBSRC)/dri/drm/xf86drm.o \
+ $(GLXLIBSRC)/dri/drm/xf86drmHash.o \
+ $(GLXLIBSRC)/dri/drm/xf86drmRandom.o \
+ $(GLXLIBSRC)/dri/drm/xf86drmSL.o
+
+ SRCS = $(R128SRCS)
+ OBJS = $(DRMOBJS) $(COREMESAOBJS) \
+ $(MESA_ASM_OBJS) $(COMMONOBJS) $(R128OBJS)
+
+REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) $(EXPATLIB)
+
+#include <Library.tmpl>
+
+LibraryObjectRule()
+
+SubdirLibraryRule($(R128OBJS))
+NormalLintTarget($(SRCS))
+
+#if !GlxUseBuiltInDRIDriver
+LIBNAME = r128_dri.so
+SharedDriModuleTarget($(LIBNAME),DONE $(OBJS),$(OBJS))
+InstallDynamicModule($(LIBNAME),$(MODULEDIR),dri)
+
+#ifdef GlxSoProf
+SOPROF_LIBNAME = _r128_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/r128/Imakefile.inc b/nx-X11/lib/GL/mesa/drivers/dri/r128/Imakefile.inc
new file mode 100644
index 000000000..35d7761e8
--- /dev/null
+++ b/nx-X11/lib/GL/mesa/drivers/dri/r128/Imakefile.inc
@@ -0,0 +1,123 @@
+XCOMM $XFree86: xc/lib/GL/mesa/src/drv/r128/Imakefile.inc,v 1.3 2001/05/02 15:06:04 dawes Exp $
+
+#ifndef MesaDrvSrcDir
+#define MesaDrvSrcDir $(MESASRCDIR)/src/mesa/drivers/dri
+#endif
+
+MESADRVSRCDIR = MesaDrvSrcDir
+
+#ifndef MesaDrvR128BuildDir
+#define MesaDrvR128BuildDir /**/
+#endif
+MESADRVR128BUILDDIR = MesaDrvR128BuildDir
+
+#if Malloc0ReturnsNull
+ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
+#endif
+
+#if BuildXF86DRI
+ DRI_DEFINES = GlxDefines -DX_BYTE_ORDER=ByteOrder -DUSE_NEW_INTERFACE -DIN_DRI_DRIVER
+ DRI_INCLUDES = -I$(GLXLIBSRC)/dri \
+ -I$(XINCLUDESRC) \
+ -I$(GLXLIBSRC)/glx \
+ -I$(GLXLIBSRC)/include \
+ -I$(SERVERSRC)/GL/dri \
+ -I$(XF86OSSRC) \
+ -I$(XF86COMSRC) \
+ -I$(DRMSRCDIR)/shared-core \
+ -I$(XF86DRIVERSRC)/ati \
+ -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)/r128
+ X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC)
+
+ R128SRCS = $(MESADRVR128BUILDDIR)r128_context.c \
+ $(MESADRVR128BUILDDIR)r128_dd.c \
+ $(MESADRVR128BUILDDIR)r128_ioctl.c \
+ $(MESADRVR128BUILDDIR)r128_lock.c \
+ $(MESADRVR128BUILDDIR)r128_screen.c \
+ $(MESADRVR128BUILDDIR)r128_span.c \
+ $(MESADRVR128BUILDDIR)r128_state.c \
+ $(MESADRVR128BUILDDIR)r128_tex.c \
+ $(MESADRVR128BUILDDIR)r128_texmem.c \
+ $(MESADRVR128BUILDDIR)r128_texstate.c \
+ $(MESADRVR128BUILDDIR)r128_tris.c
+
+ R128OBJS = $(MESADRVR128BUILDDIR)r128_context.o \
+ $(MESADRVR128BUILDDIR)r128_dd.o \
+ $(MESADRVR128BUILDDIR)r128_ioctl.o \
+ $(MESADRVR128BUILDDIR)r128_lock.o \
+ $(MESADRVR128BUILDDIR)r128_screen.o \
+ $(MESADRVR128BUILDDIR)r128_span.o \
+ $(MESADRVR128BUILDDIR)r128_state.o \
+ $(MESADRVR128BUILDDIR)r128_tex.o \
+ $(MESADRVR128BUILDDIR)r128_texmem.o \
+ $(MESADRVR128BUILDDIR)r128_texstate.o \
+ $(MESADRVR128BUILDDIR)r128_tris.o
+
+ R128UOBJS = $(MESADRVR128BUILDDIR)unshared/r128_context.o \
+ $(MESADRVR128BUILDDIR)unshared/r128_dd.o \
+ $(MESADRVR128BUILDDIR)unshared/r128_ioctl.o \
+ $(MESADRVR128BUILDDIR)unshared/r128_lock.o \
+ $(MESADRVR128BUILDDIR)unshared/r128_screen.o \
+ $(MESADRVR128BUILDDIR)unshared/r128_span.o \
+ $(MESADRVR128BUILDDIR)unshared/r128_state.o \
+ $(MESADRVR128BUILDDIR)unshared/r128_tex.o \
+ $(MESADRVR128BUILDDIR)unshared/r128_texmem.o \
+ $(MESADRVR128BUILDDIR)unshared/r128_texstate.o \
+ $(MESADRVR128BUILDDIR)unshared/r128_tris.o
+
+ R128DOBJS = $(MESADRVR128BUILDDIR)debugger/r128_context.o \
+ $(MESADRVR128BUILDDIR)debugger/r128_dd.o \
+ $(MESADRVR128BUILDDIR)debugger/r128_ioctl.o \
+ $(MESADRVR128BUILDDIR)debugger/r128_lock.o \
+ $(MESADRVR128BUILDDIR)debugger/r128_screen.o \
+ $(MESADRVR128BUILDDIR)debugger/r128_span.o \
+ $(MESADRVR128BUILDDIR)debugger/r128_state.o \
+ $(MESADRVR128BUILDDIR)debugger/r128_tex.o \
+ $(MESADRVR128BUILDDIR)debugger/r128_texmem.o \
+ $(MESADRVR128BUILDDIR)debugger/r128_texstate.o \
+ $(MESADRVR128BUILDDIR)debugger/r128_tris.o
+
+ R128POBJS = $(MESADRVR128BUILDDIR)profiled/r128_context.o \
+ $(MESADRVR128BUILDDIR)profiled/r128_dd.o \
+ $(MESADRVR128BUILDDIR)profiled/r128_ioctl.o \
+ $(MESADRVR128BUILDDIR)profiled/r128_lock.o \
+ $(MESADRVR128BUILDDIR)profiled/r128_screen.o \
+ $(MESADRVR128BUILDDIR)profiled/r128_span.o \
+ $(MESADRVR128BUILDDIR)profiled/r128_state.o \
+ $(MESADRVR128BUILDDIR)profiled/r128_tex.o \
+ $(MESADRVR128BUILDDIR)profiled/r128_texmem.o \
+ $(MESADRVR128BUILDDIR)profiled/r128_texstate.o \
+ $(MESADRVR128BUILDDIR)profiled/r128_tris.o
+
+#ifdef NeedToLinkMesaSrc
+LinkSourceFile(r128_context.c, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_context.h, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_dd.c, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_dd.h, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_ioctl.c, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_ioctl.h, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_lock.c, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_lock.h, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_screen.c, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_screen.h, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_span.c, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_span.h, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_state.c, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_state.h, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_tex.c, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_tex.h, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_texmem.c, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_texobj.h, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_texstate.c, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_tris.c, $(MESADRVSRCDIR)/r128)
+LinkSourceFile(r128_tris.h, $(MESADRVSRCDIR)/r128)
+#endif