Here is a patch for the linux-3dnow-glide target for the "old" makefiles Andree
*** Make-config Sat Jul 31 14:00:20 1999 --- Make-config.ab Sat Jul 31 13:13:06 1999 *************** *** 577,583 **** "GLUT_LIB = libglut.so" \ "GLW_LIB = libGLw.so" \ "CC = gcc -malign-loops=2 -malign-jumps=2 -malign-functions=2" \ ! "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -funroll-loops -fomit-frame-p ointer -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DSHM -DFX -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include" \ "MAKELIB = ../bin/mklib.linux" \ "XLIBS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -L/usr/loca l/glide/lib -lglide2x -lm" \ "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S \ --- 577,583 ---- "GLUT_LIB = libglut.so" \ "GLW_LIB = libGLw.so" \ "CC = gcc -malign-loops=2 -malign-jumps=2 -malign-functions=2" \ ! "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -funroll-loops -fomit-frame-p ointer -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DSHM -DFX -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include -I/usr/src/mesa-glx/src/FX/X86" \ "MAKELIB = ../bin/mklib.linux" \ "XLIBS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -L/usr/loca l/glide/lib -lglide2x -lm" \ "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S \ *************** *** 586,592 **** X86/3dnow_xform_raw3.S X86/3dnow_xform_raw4.S \ X86/3dnow_xform_masked1.S X86/3dnow_xform_masked2.S \ X86/3dnow_xform_masked3.S X86/3dnow_xform_masked4.S \ ! X86/3dnow_norm_raw.S" # Contributed by [EMAIL PROTECTED] --- 586,593 ---- X86/3dnow_xform_raw3.S X86/3dnow_xform_raw4.S \ X86/3dnow_xform_masked1.S X86/3dnow_xform_masked2.S \ X86/3dnow_xform_masked3.S X86/3dnow_xform_masked4.S \ ! X86/3dnow_norm_raw.S \ ! FX/X86/fx_3dnow_fastpath.S" # Contributed by [EMAIL PROTECTED] *** src/Makefile.X11 Sat Jul 31 14:01:26 1999 --- src/Makefile.X11.ab Sat Jul 31 13:23:49 1999 *************** *** 113,120 **** FX/fxtexman.c \ FX/fxtrifuncs.c \ FX/fxvsetup.c \ ! FX/fxglidew.c \ ! GGI/ggimesa.c ASM_SOURCES = --- 113,120 ---- FX/fxtexman.c \ FX/fxtrifuncs.c \ FX/fxvsetup.c \ ! FX/fxglidew.c ! # GGI/ggimesa.c ASM_SOURCES = *************** *** 194,199 **** --- 194,206 ---- $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@ FX/fxglidew.o: FX/fxglidew.c $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@ + + FX/X86/fx_3dnow_fastpath.o: FX/X86/fx_3dnow_fastpath.S FX/X86/fx_regoff.h + FX/X86/fx_regoff.h: FX/X86/fx_gen_regoff + $< > $@ + FX/X86/fx_gen_regoff : FX/X86/fx_gen_regoff.c + $(CC) -I. -I$(INCDIR) $(CFLAGS) $< -o $@ + GGI/ggimesa.o: GGI/ggimesa.c $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@ X86/x86.o: X86/x86.c