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/unichrome | |
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/unichrome')
-rw-r--r-- | nx-X11/lib/GL/mesa/drivers/dri/unichrome/Imakefile | 80 | ||||
-rw-r--r-- | nx-X11/lib/GL/mesa/drivers/dri/unichrome/Imakefile.inc | 123 |
2 files changed, 203 insertions, 0 deletions
diff --git a/nx-X11/lib/GL/mesa/drivers/dri/unichrome/Imakefile b/nx-X11/lib/GL/mesa/drivers/dri/unichrome/Imakefile new file mode 100644 index 000000000..273e2ca6f --- /dev/null +++ b/nx-X11/lib/GL/mesa/drivers/dri/unichrome/Imakefile @@ -0,0 +1,80 @@ +XCOMM $XFree86: xc/lib/GL/mesa/src/drv/via/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 = -DVIA_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 = $(VIASRCS) + OBJS = $(DRMOBJS) $(COREMESAOBJS) \ + $(MESA_ASM_OBJS) $(COMMONOBJS) $(VIAOBJS) + +REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) $(EXPATLIB) + +#include <Library.tmpl> + +LibraryObjectRule() + +SubdirLibraryRule($(VIAOBJS)) +NormalLintTarget($(SRCS)) + +#if !GlxUseBuiltInDRIDriver +LIBNAME = unichrome_dri.so +SharedDriModuleTarget($(LIBNAME),DONE $(OBJS),$(OBJS)) +InstallDynamicModule($(LIBNAME),$(MODULEDIR),dri) + +#ifdef GlxSoProf +SOPROF_LIBNAME = _unichrome_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/unichrome/Imakefile.inc b/nx-X11/lib/GL/mesa/drivers/dri/unichrome/Imakefile.inc new file mode 100644 index 000000000..02916ee93 --- /dev/null +++ b/nx-X11/lib/GL/mesa/drivers/dri/unichrome/Imakefile.inc @@ -0,0 +1,123 @@ +XCOMM $XFree86: xc/lib/GL/mesa/src/drv/via/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 MesaDrvViaBuildDir +#define MesaDrvViaBuildDir /**/ +#endif +MESADRVVIABUILDDIR = MesaDrvViaBuildDir + +#if Malloc0ReturnsNull +ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL +#endif + +#if BuildXF86DRI + DRI_DEFINES = GlxDefines $(VIA_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$(XF86COMSRC) \ + -I$(XF86OSSRC) \ + -I$(DRMSRCDIR)/shared-core \ + -I$(XF86DRIVERSRC)/via \ + -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)/unichrome + X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC) + + + VIASRCS = $(MESADRVVIABUILDDIR)via_context.c \ + $(MESADRVVIABUILDDIR)via_fb.c \ + $(MESADRVVIABUILDDIR)via_ioctl.c \ + $(MESADRVVIABUILDDIR)via_memcpy.c \ + $(MESADRVVIABUILDDIR)via_render.c \ + $(MESADRVVIABUILDDIR)via_screen.c \ + $(MESADRVVIABUILDDIR)via_span.c \ + $(MESADRVVIABUILDDIR)via_state.c \ + $(MESADRVVIABUILDDIR)via_tex.c \ + $(MESADRVVIABUILDDIR)via_texcombine.c \ + $(MESADRVVIABUILDDIR)via_tris.c + + VIAOBJS =$(MESADRVVIABUILDDIR)via_context.o \ + $(MESADRVVIABUILDDIR)via_fb.o \ + $(MESADRVVIABUILDDIR)via_ioctl.o \ + $(MESADRVVIABUILDDIR)via_memcpy.o \ + $(MESADRVVIABUILDDIR)via_render.o \ + $(MESADRVVIABUILDDIR)via_screen.o \ + $(MESADRVVIABUILDDIR)via_span.o \ + $(MESADRVVIABUILDDIR)via_state.o \ + $(MESADRVVIABUILDDIR)via_tex.o \ + $(MESADRVVIABUILDDIR)via_texcombine.o \ + $(MESADRVVIABUILDDIR)via_tris.o + + VIAUOBJS =$(MESADRVVIABUILDDIR)/unshared/via_context.o \ + $(MESADRVVIABUILDDIR)/unshared/via_fb.o \ + $(MESADRVVIABUILDDIR)/unshared/via_ioctl.o \ + $(MESADRVVIABUILDDIR)/unshared/via_memcpy.o \ + $(MESADRVVIABUILDDIR)/unshared/via_render.o \ + $(MESADRVVIABUILDDIR)/unshared/via_screen.o \ + $(MESADRVVIABUILDDIR)/unshared/via_span.o \ + $(MESADRVVIABUILDDIR)/unshared/via_state.o \ + $(MESADRVVIABUILDDIR)/unshared/via_tex.o \ + $(MESADRVVIABUILDDIR)/unshared/via_texcombine.o \ + $(MESADRVVIABUILDDIR)/unshared/via_tris.o + + VIADOBJS =$(MESADRVVIABUILDDIR)/debugger/via_context.o \ + $(MESADRVVIABUILDDIR)/debugger/via_fb.o \ + $(MESADRVVIABUILDDIR)/debugger/via_ioctl.o \ + $(MESADRVVIABUILDDIR)/debugger/via_memcpy.o \ + $(MESADRVVIABUILDDIR)/debugger/via_render.o \ + $(MESADRVVIABUILDDIR)/debugger/via_screen.o \ + $(MESADRVVIABUILDDIR)/debugger/via_span.o \ + $(MESADRVVIABUILDDIR)/debugger/via_state.o \ + $(MESADRVVIABUILDDIR)/debugger/via_tex.o \ + $(MESADRVVIABUILDDIR)/debugger/via_texcombine.o \ + $(MESADRVVIABUILDDIR)/debugger/via_tris.o + + VIAPOBJS =$(MESADRVVIABUILDDIR)/profiled/via_context.o \ + $(MESADRVVIABUILDDIR)/profiled/via_fb.o \ + $(MESADRVVIABUILDDIR)/profiled/via_ioctl.o \ + $(MESADRVVIABUILDDIR)/profiled/via_memcpy.o \ + $(MESADRVVIABUILDDIR)/profiled/via_render.o \ + $(MESADRVVIABUILDDIR)/profiled/via_screen.o \ + $(MESADRVVIABUILDDIR)/profiled/via_span.o \ + $(MESADRVVIABUILDDIR)/profiled/via_state.o \ + $(MESADRVVIABUILDDIR)/profiled/via_tex.o \ + $(MESADRVVIABUILDDIR)/profiled/via_texcombine.o \ + $(MESADRVVIABUILDDIR)/profiled/via_tris.o + +#ifdef NeedToLinkMesaSrc +LinkSourceFile(via_3d_reg.h, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_context.c, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_context.h, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_fb.c, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_fb.h, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_ioctl.c, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_ioctl.h, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_memcpy.c, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_render.c, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_screen.c, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_screen.h, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_span.c, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_span.h, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_state.c, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_state.h, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_tex.c, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_texcombine.c, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_tex.h, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_tris.c, $(MESADRVSRCDIR)/unichrome) +LinkSourceFile(via_tris.h, $(MESADRVSRCDIR)/unichrome) +#endif |