mesa: Remove assyntax.h include from generated matypes.h.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Wed, 4 Jun 2008 14:55:55 +0000 (23:55 +0900)
committerKeith Whitwell <keith@tungstengraphics.com>
Sun, 21 Sep 2008 16:44:37 +0000 (09:44 -0700)
matypes.h doesn't really depend on assyntax.h; assyntax.h is only present
on x86; and this way we remove the need of grep being available (which is
relevant for scons and non-unix platforms).
(cherry picked from commit fc286ff3ba089af5f1aca2d35b93b53a9383b1cf)

17 files changed:
src/mesa/x86-64/Makefile
src/mesa/x86/3dnow_normal.S
src/mesa/x86/3dnow_xform1.S
src/mesa/x86/3dnow_xform2.S
src/mesa/x86/3dnow_xform3.S
src/mesa/x86/3dnow_xform4.S
src/mesa/x86/gen_matypes.c
src/mesa/x86/mmx_blend.S
src/mesa/x86/sse_normal.S
src/mesa/x86/sse_xform1.S
src/mesa/x86/sse_xform2.S
src/mesa/x86/sse_xform3.S
src/mesa/x86/sse_xform4.S
src/mesa/x86/x86_cliptest.S
src/mesa/x86/x86_xform2.S
src/mesa/x86/x86_xform3.S
src/mesa/x86/x86_xform4.S

index c6b69ba..9c3e9d2 100644 (file)
@@ -24,6 +24,6 @@ clean:
 
 # need some special rules here, unfortunately
 matypes.h: ../main/mtypes.h ../tnl/t_context.h ../x86/gen_matypes
-       ../x86/gen_matypes | grep -v '#include "assyntax.h' > matypes.h
+       ../x86/gen_matypes > matypes.h
 
 xform4.o: matypes.h
index f3bbcb2..6317777 100644 (file)
@@ -30,6 +30,7 @@
 
 #ifdef USE_3DNOW_ASM
 
+#include "assyntax.h"
 #include "matypes.h"
 #include "norm_args.h"
 
index 22b12cc..fc8d79f 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #ifdef USE_3DNOW_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index d9e96d0..639f5d9 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #ifdef USE_3DNOW_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index babee1c..f6c1259 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #ifdef USE_3DNOW_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index b16d2b1..1183f2f 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #ifdef USE_3DNOW_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index e95f3d4..afb4b11 100644 (file)
@@ -92,7 +92,6 @@ int main( int argc, char **argv )
    printf( "#ifndef __ASM_TYPES_H__\n" );
    printf( "#define __ASM_TYPES_H__\n" );
    printf( "\n" );
-   printf( "#include \"assyntax.h\"\n" );
 
 
    /* GLcontext offsets:
index 20ac5a2..eeaf43e 100644 (file)
@@ -1,10 +1,11 @@
        ;
 /*
- * Written by José Fonseca <j_r_fonseca@yahoo.co.uk>
+ * Written by Jos Fonseca <j_r_fonseca@yahoo.co.uk>
  */
 
 
 #ifdef USE_MMX_ASM
+#include "assyntax.h"
 #include "matypes.h"
 
 /* integer multiplication - alpha plus one
index 066d46e..6ca997d 100644 (file)
@@ -32,6 +32,7 @@
   */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "norm_args.h"
 
index 4051f60..6ee699a 100644 (file)
@@ -32,6 +32,7 @@
   */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 06fe086..5583e46 100644 (file)
@@ -32,6 +32,7 @@
   */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index eafbe34..cea9368 100644 (file)
@@ -32,6 +32,7 @@
   */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 24c3231..6d0161b 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 5a45ee6..adf6aeb 100644 (file)
@@ -30,6 +30,7 @@
  * in there will break the build on some platforms.
  */
 
+#include "assyntax.h"
 #include "matypes.h"
 #include "clip_args.h"
 
index 94f6989..b26a480 100644 (file)
@@ -30,6 +30,7 @@
  * in there will break the build on some platforms.
  */
 
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 747e2f4..c2bdee9 100644 (file)
@@ -30,6 +30,7 @@
  * in there will break the build on some platforms.
  */
 
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index def3c1c..f62a0d0 100644 (file)
@@ -30,6 +30,7 @@
  * in there will break the build on some platforms.
  */
 
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"