aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/GL/mesa/drivers/dri/mga
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/mga
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/mga')
-rw-r--r--nx-X11/lib/GL/mesa/drivers/dri/mga/Imakefile78
-rw-r--r--nx-X11/lib/GL/mesa/drivers/dri/mga/Imakefile.inc135
2 files changed, 213 insertions, 0 deletions
diff --git a/nx-X11/lib/GL/mesa/drivers/dri/mga/Imakefile b/nx-X11/lib/GL/mesa/drivers/dri/mga/Imakefile
new file mode 100644
index 000000000..5df7b681d
--- /dev/null
+++ b/nx-X11/lib/GL/mesa/drivers/dri/mga/Imakefile
@@ -0,0 +1,78 @@
+XCOMM $XFree86: xc/lib/GL/mesa/src/drv/mga/Imakefile,v 1.22 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 = $(MGASRCS)
+ OBJS = $(DRMOBJS) $(COREMESAOBJS) \
+ $(MESA_ASM_OBJS) $(COMMONOBJS) $(MGAOBJS)
+
+REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) $(EXPATLIB)
+
+#include <Library.tmpl>
+
+LibraryObjectRule()
+
+SubdirLibraryRule($(MGAOBJS))
+NormalLintTarget($(SRCS))
+
+#if !GlxUseBuiltInDRIDriver
+LIBNAME = mga_dri.so
+SharedDriModuleTarget($(LIBNAME),DONE $(OBJS),$(OBJS))
+InstallDynamicModule($(LIBNAME),$(MODULEDIR),dri)
+
+#ifdef GlxSoProf
+SOPROF_LIBNAME = _mga_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/mga/Imakefile.inc b/nx-X11/lib/GL/mesa/drivers/dri/mga/Imakefile.inc
new file mode 100644
index 000000000..a21278779
--- /dev/null
+++ b/nx-X11/lib/GL/mesa/drivers/dri/mga/Imakefile.inc
@@ -0,0 +1,135 @@
+XCOMM $XFree86: xc/lib/GL/mesa/src/drv/mga/Imakefile.inc,v 1.2 2001/05/02 15:06:03 dawes Exp $
+
+#ifndef MesaDrvSrcDir
+#define MesaDrvSrcDir $(MESASRCDIR)/src/mesa/src/drv
+#endif
+
+MESADRVSRCDIR = MesaDrvSrcDir
+
+#ifndef MesaDrvMgaBuildDir
+#define MesaDrvMgaBuildDir /**/
+#endif
+MESADRVMGABUILDDIR = MesaDrvMgaBuildDir
+
+#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$(DRMSRCDIR)/shared-core \
+ -I$(XF86DRIVERSRC)/mga \
+ -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)/mga
+ X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC)
+
+ MGASRCS = $(MESADRVMGABUILDDIR)mgadd.c \
+ $(MESADRVMGABUILDDIR)mgarender.c \
+ $(MESADRVMGABUILDDIR)mgaioctl.c \
+ $(MESADRVMGABUILDDIR)mgapixel.c \
+ $(MESADRVMGABUILDDIR)mgaspan.c \
+ $(MESADRVMGABUILDDIR)mgastate.c \
+ $(MESADRVMGABUILDDIR)mgatex.c \
+ $(MESADRVMGABUILDDIR)mga_texcombine.c \
+ $(MESADRVMGABUILDDIR)mgatexmem.c \
+ $(MESADRVMGABUILDDIR)mga_texstate.c \
+ $(MESADRVMGABUILDDIR)mgatris.c \
+ $(MESADRVMGABUILDDIR)mgavb.c \
+ $(MESADRVMGABUILDDIR)mga_xmesa.c \
+
+ MGAOBJS = $(MESADRVMGABUILDDIR)mgadd.o \
+ $(MESADRVMGABUILDDIR)mgarender.o \
+ $(MESADRVMGABUILDDIR)mgaioctl.o \
+ $(MESADRVMGABUILDDIR)mgapixel.o \
+ $(MESADRVMGABUILDDIR)mgaspan.o \
+ $(MESADRVMGABUILDDIR)mgastate.o \
+ $(MESADRVMGABUILDDIR)mgatex.o \
+ $(MESADRVMGABUILDDIR)mga_texcombine.o \
+ $(MESADRVMGABUILDDIR)mgatexmem.o \
+ $(MESADRVMGABUILDDIR)mga_texstate.o \
+ $(MESADRVMGABUILDDIR)mgatris.o \
+ $(MESADRVMGABUILDDIR)mgavb.o \
+ $(MESADRVMGABUILDDIR)mga_xmesa.o
+
+ MGAUOBJS = $(MESADRVMGABUILDDIR)unshared/mgadd.o \
+ $(MESADRVMGABUILDDIR)unshared/mgarender.o \
+ $(MESADRVMGABUILDDIR)unshared/mgaioctl.o \
+ $(MESADRVMGABUILDDIR)unshared/mgapixel.o \
+ $(MESADRVMGABUILDDIR)unshared/mgaspan.o \
+ $(MESADRVMGABUILDDIR)unshared/mgastate.o \
+ $(MESADRVMGABUILDDIR)unshared/mgatex.o \
+ $(MESADRVMGABUILDDIR)unshared/mga_texcombine.o \
+ $(MESADRVMGABUILDDIR)unshared/mgatexmem.o \
+ $(MESADRVMGABUILDDIR)unshared/mga_texstate.o \
+ $(MESADRVMGABUILDDIR)unshared/mgatris.o \
+ $(MESADRVMGABUILDDIR)unshared/mgavb.o \
+ $(MESADRVMGABUILDDIR)unshared/mga_xmesa.o
+
+ MGADOBJS = $(MESADRVMGABUILDDIR)debugger/mgadd.o \
+ $(MESADRVMGABUILDDIR)debugger/mgarender.o \
+ $(MESADRVMGABUILDDIR)debugger/mgaioctl.o \
+ $(MESADRVMGABUILDDIR)debugger/mgapixel.o \
+ $(MESADRVMGABUILDDIR)debugger/mgaspan.o \
+ $(MESADRVMGABUILDDIR)debugger/mgastate.o \
+ $(MESADRVMGABUILDDIR)debugger/mgatex.o \
+ $(MESADRVMGABUILDDIR)debugger/mga_texcombine.o \
+ $(MESADRVMGABUILDDIR)debugger/mgatexmem.o \
+ $(MESADRVMGABUILDDIR)debugger/mga_texstate.o \
+ $(MESADRVMGABUILDDIR)debugger/mgatris.o \
+ $(MESADRVMGABUILDDIR)debugger/mgavb.o \
+ $(MESADRVMGABUILDDIR)debugger/mga_xmesa.o
+
+ MGAPOBJS = $(MESADRVMGABUILDDIR)profiled/mgadd.o \
+ $(MESADRVMGABUILDDIR)profiled/mgarender.o \
+ $(MESADRVMGABUILDDIR)profiled/mgaioctl.o \
+ $(MESADRVMGABUILDDIR)profiled/mgapixel.o \
+ $(MESADRVMGABUILDDIR)profiled/mgaspan.o \
+ $(MESADRVMGABUILDDIR)profiled/mgastate.o \
+ $(MESADRVMGABUILDDIR)profiled/mgatex.o \
+ $(MESADRVMGABUILDDIR)profiled/mga_texcombine.o \
+ $(MESADRVMGABUILDDIR)profiled/mgatexmem.o \
+ $(MESADRVMGABUILDDIR)profiled/mga_texstate.o \
+ $(MESADRVMGABUILDDIR)profiled/mgatris.o \
+ $(MESADRVMGABUILDDIR)profiled/mgavb.o \
+ $(MESADRVMGABUILDDIR)profiled/mga_xmesa.o
+
+#ifdef NeedToLinkMesaSrc
+LinkSourceFile(mgacontext.h, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgadd.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgadd.h, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgaioctl.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgaioctl.h, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgapixel.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgapixel.h, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgarender.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgaregs.h, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgaspan.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgaspan.h, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgastate.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgastate.h, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgatex.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgatex.h, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mga_texcombine.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgatexmem.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mga_texstate.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgatris.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgatris.h, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgavb.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mgavb.h, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mga_xmesa.c, $(MESADRVSRCDIR)/mga)
+LinkSourceFile(mga_xmesa.h, $(MESADRVSRCDIR)/mga)
+#endif