aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/GL/mesa/drivers/dri/tdfx
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/GL/mesa/drivers/dri/tdfx')
-rw-r--r--nx-X11/lib/GL/mesa/drivers/dri/tdfx/Imakefile76
-rw-r--r--nx-X11/lib/GL/mesa/drivers/dri/tdfx/Imakefile.inc140
2 files changed, 216 insertions, 0 deletions
diff --git a/nx-X11/lib/GL/mesa/drivers/dri/tdfx/Imakefile b/nx-X11/lib/GL/mesa/drivers/dri/tdfx/Imakefile
new file mode 100644
index 000000000..2e4c457e2
--- /dev/null
+++ b/nx-X11/lib/GL/mesa/drivers/dri/tdfx/Imakefile
@@ -0,0 +1,76 @@
+XCOMM $XFree86: xc/lib/GL/mesa/src/drv/tdfx/Imakefile,v 1.30 2002/02/23 00:45:51 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 = $(TDFXSRCS)
+ OBJS = $(DRMOBJS) $(COREMESAOBJS) \
+ $(MESA_ASM_OBJS) $(TDFXOBJS) $(COMMONOBJS)
+
+REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) $(EXPATLIB)
+
+#include <Library.tmpl>
+
+LibraryObjectRule()
+
+SubdirLibraryRule($(TDFXOBJS))
+NormalLintTarget($(SRCS))
+
+#if !GlxUseBuiltInDRIDriver
+LIBNAME = tdfx_dri.so
+SharedDriModuleTarget($(LIBNAME),DONE $(OBJS),$(OBJS))
+InstallDynamicModule($(LIBNAME),$(MODULEDIR),dri)
+
+#ifdef GlxSoProf
+SOPROF_LIBNAME = _tdfx_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/tdfx/Imakefile.inc b/nx-X11/lib/GL/mesa/drivers/dri/tdfx/Imakefile.inc
new file mode 100644
index 000000000..87d31fc31
--- /dev/null
+++ b/nx-X11/lib/GL/mesa/drivers/dri/tdfx/Imakefile.inc
@@ -0,0 +1,140 @@
+XCOMM $XFree86: xc/lib/GL/mesa/src/drv/tdfx/Imakefile.inc,v 1.1 2001/03/23 19:18:44 dawes Exp $
+
+#ifndef MesaDrvSrcDir
+#define MesaDrvSrcDir $(MESASRCDIR)/src/mesa/drivers/dri
+#endif
+
+MESADRVSRCDIR = MesaDrvSrcDir
+
+#ifndef MesaDrvTdfxBuildDir
+#define MesaDrvTdfxBuildDir /**/
+#endif
+MESADRVTDFXBUILDDIR = MesaDrvTdfxBuildDir
+
+#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)/tdfx \
+ -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)/tdfx
+ X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC)
+
+ TDFXSRCS = $(MESADRVTDFXBUILDDIR)tdfx_context.c \
+ $(MESADRVTDFXBUILDDIR)tdfx_dd.c \
+ $(MESADRVTDFXBUILDDIR)tdfx_lock.c \
+ $(MESADRVTDFXBUILDDIR)tdfx_pixels.c \
+ $(MESADRVTDFXBUILDDIR)tdfx_render.c \
+ $(MESADRVTDFXBUILDDIR)tdfx_screen.c \
+ $(MESADRVTDFXBUILDDIR)tdfx_span.c \
+ $(MESADRVTDFXBUILDDIR)tdfx_state.c \
+ $(MESADRVTDFXBUILDDIR)tdfx_tex.c \
+ $(MESADRVTDFXBUILDDIR)tdfx_texman.c \
+ $(MESADRVTDFXBUILDDIR)tdfx_texstate.c \
+ $(MESADRVTDFXBUILDDIR)tdfx_tris.c \
+ $(MESADRVTDFXBUILDDIR)tdfx_vb.c
+
+ TDFXOBJS = $(MESADRVTDFXBUILDDIR)tdfx_context.o \
+ $(MESADRVTDFXBUILDDIR)tdfx_dd.o \
+ $(MESADRVTDFXBUILDDIR)tdfx_lock.o \
+ $(MESADRVTDFXBUILDDIR)tdfx_pixels.o \
+ $(MESADRVTDFXBUILDDIR)tdfx_render.o \
+ $(MESADRVTDFXBUILDDIR)tdfx_screen.o \
+ $(MESADRVTDFXBUILDDIR)tdfx_span.o \
+ $(MESADRVTDFXBUILDDIR)tdfx_state.o \
+ $(MESADRVTDFXBUILDDIR)tdfx_tex.o \
+ $(MESADRVTDFXBUILDDIR)tdfx_texman.o \
+ $(MESADRVTDFXBUILDDIR)tdfx_texstate.o \
+ $(MESADRVTDFXBUILDDIR)tdfx_tris.o \
+ $(MESADRVTDFXBUILDDIR)tdfx_vb.o
+
+ TDFXUOBJS = $(MESADRVTDFXBUILDDIR)unshared/tdfx_context.o \
+ $(MESADRVTDFXBUILDDIR)unshared/tdfx_dd.o \
+ $(MESADRVTDFXBUILDDIR)unshared/tdfx_lock.o \
+ $(MESADRVTDFXBUILDDIR)unshared/tdfx_pixels.o \
+ $(MESADRVTDFXBUILDDIR)unshared/tdfx_render.o \
+ $(MESADRVTDFXBUILDDIR)unshared/tdfx_screen.o \
+ $(MESADRVTDFXBUILDDIR)unshared/tdfx_span.o \
+ $(MESADRVTDFXBUILDDIR)unshared/tdfx_state.o \
+ $(MESADRVTDFXBUILDDIR)unshared/tdfx_tex.o \
+ $(MESADRVTDFXBUILDDIR)unshared/tdfx_texman.o \
+ $(MESADRVTDFXBUILDDIR)unshared/tdfx_texstate.o \
+ $(MESADRVTDFXBUILDDIR)unshared/tdfx_tris.o \
+ $(MESADRVTDFXBUILDDIR)unshared/tdfx_vb.o
+
+ TDFXDOBJS = $(MESADRVTDFXBUILDDIR)debugger/tdfx_context.o \
+ $(MESADRVTDFXBUILDDIR)debugger/tdfx_dd.o \
+ $(MESADRVTDFXBUILDDIR)debugger/tdfx_lock.o \
+ $(MESADRVTDFXBUILDDIR)debugger/tdfx_pixels.o \
+ $(MESADRVTDFXBUILDDIR)debugger/tdfx_render.o \
+ $(MESADRVTDFXBUILDDIR)debugger/tdfx_screen.o \
+ $(MESADRVTDFXBUILDDIR)debugger/tdfx_span.o \
+ $(MESADRVTDFXBUILDDIR)debugger/tdfx_state.o \
+ $(MESADRVTDFXBUILDDIR)debugger/tdfx_tex.o \
+ $(MESADRVTDFXBUILDDIR)debugger/tdfx_texman.o \
+ $(MESADRVTDFXBUILDDIR)debugger/tdfx_texstate.o \
+ $(MESADRVTDFXBUILDDIR)debugger/tdfx_tris.o \
+ $(MESADRVTDFXBUILDDIR)debugger/tdfx_vb.o
+
+ TDFXPOBJS = $(MESADRVTDFXBUILDDIR)profiled/tdfx_context.o \
+ $(MESADRVTDFXBUILDDIR)profiled/tdfx_dd.o \
+ $(MESADRVTDFXBUILDDIR)profiled/tdfx_lock.o \
+ $(MESADRVTDFXBUILDDIR)profiled/tdfx_pixels.o \
+ $(MESADRVTDFXBUILDDIR)profiled/tdfx_render.o \
+ $(MESADRVTDFXBUILDDIR)profiled/tdfx_screen.o \
+ $(MESADRVTDFXBUILDDIR)profiled/tdfx_span.o \
+ $(MESADRVTDFXBUILDDIR)profiled/tdfx_state.o \
+ $(MESADRVTDFXBUILDDIR)profiled/tdfx_tex.o \
+ $(MESADRVTDFXBUILDDIR)profiled/tdfx_texman.o \
+ $(MESADRVTDFXBUILDDIR)profiled/tdfx_texstate.o \
+ $(MESADRVTDFXBUILDDIR)profiled/tdfx_tris.o \
+ $(MESADRVTDFXBUILDDIR)profiled/tdfx_vb.o
+
+#ifdef NeedToLinkMesaSrc
+LinkSourceFile(dri_glide.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_context.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_context.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_dd.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_dd.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_glide.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_lock.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_lock.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_pixels.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_pixels.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_render.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_render.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_screen.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_screen.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_span.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_span.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_state.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_state.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_tex.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_tex.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_texman.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_texman.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_texstate.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_texstate.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_tris.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_tris.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_vb.c, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_vb.h, $(MESADRVSRCDIR)/tdfx)
+LinkSourceFile(tdfx_vbtmp.h, $(MESADRVSRCDIR)/tdfx)
+#endif