summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/src/drv/tdfx/Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib/GL/mesa/src/drv/tdfx/Imakefile')
-rw-r--r--xc/lib/GL/mesa/src/drv/tdfx/Imakefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/xc/lib/GL/mesa/src/drv/tdfx/Imakefile b/xc/lib/GL/mesa/src/drv/tdfx/Imakefile
index 7802f3bec..4a6a8e0ff 100644
--- a/xc/lib/GL/mesa/src/drv/tdfx/Imakefile
+++ b/xc/lib/GL/mesa/src/drv/tdfx/Imakefile
@@ -110,7 +110,7 @@ LinkSourceFile(fxvs_tmp.h, ../../../../../../extras/Mesa/src/FX)
../../glthread.c \
../../hash.c \
../../image.c \
- ../../imaging.o \
+ ../../imaging.c \
../../light.c \
../../lines.c \
../../logic.c \
@@ -245,8 +245,7 @@ LinkSourceFile(fxvs_tmp.h, ../../../../../../extras/Mesa/src/FX)
MMX_OBJS = ../../X86/mmx_blend.o
-XCOMM Disabling 3Dnow code for the time being.
-#if 0
+#if MesaUse3DNow
3DNOW_SRCS = ../../X86/3dnow.c \
../../X86/3dnow_norm_raw.S \
../../X86/3dnow_xform_masked1.S \
@@ -281,6 +280,10 @@ XCOMM Disabling 3Dnow code for the time being.
OBJS = $(DRIOBJS) $(DRMOBJS) $(TDFXOBJS) $(MESAOBJS) $(ASMOBJS)
REQUIREDLIBS = -lglide3x -lm
+#if !GlxBuiltInTdfx
+REQUIREDLIBS += -L../../../.. -lGL
+#endif
+
#if !GlxUseBuiltInDRIDriver
#undef DoNormalLib NormalLibGlx