diff options
author | Reinhard Tartler <siretart@tauware.de> | 2011-10-10 17:43:39 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-10-10 17:43:39 +0200 |
commit | f4092abdf94af6a99aff944d6264bc1284e8bdd4 (patch) | |
tree | 2ac1c9cc16ceb93edb2c4382c088dac5aeafdf0f /nx-X11/lib/GL/mesa/drivers/dri/i915 | |
parent | a840692edc9c6d19cd7c057f68e39c7d95eb767d (diff) | |
download | nx-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/i915')
-rw-r--r-- | nx-X11/lib/GL/mesa/drivers/dri/i915/Imakefile | 72 | ||||
-rw-r--r-- | nx-X11/lib/GL/mesa/drivers/dri/i915/Imakefile.inc | 140 |
2 files changed, 212 insertions, 0 deletions
diff --git a/nx-X11/lib/GL/mesa/drivers/dri/i915/Imakefile b/nx-X11/lib/GL/mesa/drivers/dri/i915/Imakefile new file mode 100644 index 000000000..6aba077ba --- /dev/null +++ b/nx-X11/lib/GL/mesa/drivers/dri/i915/Imakefile @@ -0,0 +1,72 @@ +#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 +#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 = $(I915SRCS) + OBJS = $(DRMOBJS) $(COREMESAOBJS) \ + $(MESA_ASM_OBJS) $(COMMONOBJS) $(I915OBJS) + +REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) $(EXPATLIB) + +#include <Library.tmpl> + +LibraryObjectRule() + +SubdirLibraryRule($(I915OBJS)) +NormalLintTarget($(SRCS)) + +#if !GlxUseBuiltInDRIDriver +LIBNAME = i915_dri.so +SharedDriModuleTarget($(LIBNAME),DONE $(OBJS),$(OBJS)) +InstallDynamicModule($(LIBNAME),$(MODULEDIR),dri) + +#ifdef GlxSoProf +SOPROF_LIBNAME = _i915_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/i915/Imakefile.inc b/nx-X11/lib/GL/mesa/drivers/dri/i915/Imakefile.inc new file mode 100644 index 000000000..56e7e3d93 --- /dev/null +++ b/nx-X11/lib/GL/mesa/drivers/dri/i915/Imakefile.inc @@ -0,0 +1,140 @@ +#ifndef MesaDrvSrcDir +#define MesaDrvSrcDir $(MESASRCDIR)/src/mesa/drivers/dri +#endif + +MESADRVSRCDIR = MesaDrvSrcDir + +#ifndef MesaDrvI915BuildDir +#define MesaDrvI915BuildDir /**/ +#endif +MESADRVI915BUILDDIR = MesaDrvI915BuildDir + +#if Malloc0ReturnsNull +ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL +#endif + +#if BuildXF86DRI + DRI_DEFINES = GlxDefines -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)/i810 \ + -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 + X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC) + + I915SRCS = $(MESADRVI915BUILDDIR)i830_metaops.c \ + $(MESADRVI915BUILDDIR)i830_context.c \ + $(MESADRVI915BUILDDIR)i830_state.c \ + $(MESADRVI915BUILDDIR)i830_tex.c \ + $(MESADRVI915BUILDDIR)i830_texstate.c \ + $(MESADRVI915BUILDDIR)i830_texblend.c \ + $(MESADRVI915BUILDDIR)i830_vtbl.c \ + $(MESADRVI915BUILDDIR)i915_metaops.c \ + $(MESADRVI915BUILDDIR)i915_context.c \ + $(MESADRVI915BUILDDIR)i915_debug.c \ + $(MESADRVI915BUILDDIR)i915_fragprog.c \ + $(MESADRVI915BUILDDIR)i915_state.c \ + $(MESADRVI915BUILDDIR)i915_tex.c \ + $(MESADRVI915BUILDDIR)i915_texprog.c \ + $(MESADRVI915BUILDDIR)i915_texstate.c \ + $(MESADRVI915BUILDDIR)i915_program.c \ + $(MESADRVI915BUILDDIR)i915_vtbl.c \ + $(MESADRVI915BUILDDIR)intel_batchbuffer.c \ + $(MESADRVI915BUILDDIR)intel_context.c \ + $(MESADRVI915BUILDDIR)intel_ioctl.c \ + $(MESADRVI915BUILDDIR)intel_pixel.c \ + $(MESADRVI915BUILDDIR)intel_render.c \ + $(MESADRVI915BUILDDIR)intel_screen.c \ + $(MESADRVI915BUILDDIR)intel_span.c \ + $(MESADRVI915BUILDDIR)intel_state.c \ + $(MESADRVI915BUILDDIR)intel_tex.c \ + $(MESADRVI915BUILDDIR)intel_tris.c + + + + I915OBJS = $(MESADRVI915BUILDDIR)i830_metaops.o \ + $(MESADRVI915BUILDDIR)i830_context.o \ + $(MESADRVI915BUILDDIR)i830_state.o \ + $(MESADRVI915BUILDDIR)i830_tex.o \ + $(MESADRVI915BUILDDIR)i830_texstate.o \ + $(MESADRVI915BUILDDIR)i830_texblend.o \ + $(MESADRVI915BUILDDIR)i830_vtbl.o \ + $(MESADRVI915BUILDDIR)i915_metaops.o \ + $(MESADRVI915BUILDDIR)i915_context.o \ + $(MESADRVI915BUILDDIR)i915_debug.o \ + $(MESADRVI915BUILDDIR)i915_fragprog.o \ + $(MESADRVI915BUILDDIR)i915_state.o \ + $(MESADRVI915BUILDDIR)i915_tex.o \ + $(MESADRVI915BUILDDIR)i915_texprog.o \ + $(MESADRVI915BUILDDIR)i915_texstate.o \ + $(MESADRVI915BUILDDIR)i915_program.o \ + $(MESADRVI915BUILDDIR)i915_vtbl.o \ + $(MESADRVI915BUILDDIR)intel_batchbuffer.o \ + $(MESADRVI915BUILDDIR)intel_context.o \ + $(MESADRVI915BUILDDIR)intel_ioctl.o \ + $(MESADRVI915BUILDDIR)intel_pixel.o \ + $(MESADRVI915BUILDDIR)intel_render.o \ + $(MESADRVI915BUILDDIR)intel_screen.o \ + $(MESADRVI915BUILDDIR)intel_span.o \ + $(MESADRVI915BUILDDIR)intel_state.o \ + $(MESADRVI915BUILDDIR)intel_tex.o \ + $(MESADRVI915BUILDDIR)intel_tris.o + + I915UOBJS = + I915DOBJS = + I915POBJS = + +#ifdef NeedToLinkMesaSrc +LinkSourceFile(i830_metaops.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i830_context.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i830_context.h, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i830_state.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i830_reg.h, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i830_tex.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i830_texstate.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i830_texblend.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i830_vtbl.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_metaops.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_context.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_context.h, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_debug.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_fragprog.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_state.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_tex.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_texprog.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_texstate.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_program.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_program.h, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_reg.h, $(MESADRVSRCDIR)/i915) +LinkSourceFile(i915_vtbl.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_batchbuffer.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_batchbuffer.h, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_context.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_context.h, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_ioctl.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_ioctl.h, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_pixel.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_reg.h, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_render.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_screen.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_screen.h, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_span.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_span.h, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_state.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_tex.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_tex.h, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_tris.c, $(MESADRVSRCDIR)/i915) +LinkSourceFile(intel_tris.h, $(MESADRVSRCDIR)/i915) +#endif |