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 c6b69bafe86011e1f8b79113284a41793464b702..9c3e9d2adf81f032844df77cf0faecc8f170eeff 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 f3bbcb27b7f487b3410745e1e055e06554539c34..63177779d4cf281f45a43c27a5537260a21f8480 100644 (file)
@@ -30,6 +30,7 @@
 
 #ifdef USE_3DNOW_ASM
 
+#include "assyntax.h"
 #include "matypes.h"
 #include "norm_args.h"
 
index 22b12cca067094e4d3bc1ae3ce3073e91ee1e58f..fc8d79f29ceb98c259775c8970a2116316601a72 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #ifdef USE_3DNOW_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index d9e96d04e28bcd92c5da918a845adaf1a40e5c5c..639f5d9b8bf5ac7f6d8ba1c2b19f81921ea5a4b3 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #ifdef USE_3DNOW_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index babee1caa003896541fab73d59936ad7756fc183..f6c1259b2b25bb37985a7052ed92ad56e1bdff86 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #ifdef USE_3DNOW_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index b16d2b12dd6a249dc88f726a81bcd714b768c237..1183f2fda8d29ca38eaafa1b026ac0ef01e14af4 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #ifdef USE_3DNOW_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index e95f3d4f3d80213dba19f11e514917329ed7dd74..afb4b11529f99df5f53c415609b233cd1f0ec91b 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 20ac5a20adfec3ce96b5e99e05f7a68665a0f7c1..eeaf43ea9370e9cd91558942877b746df4ff154d 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 066d46e5efd9335f151a8d67199b12ab813b9173..6ca997dbab43504dbd511f5dd4a38d7ca43c0117 100644 (file)
@@ -32,6 +32,7 @@
   */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "norm_args.h"
 
index 4051f606a7eefc3b4a90c199089b8af9c9477adf..6ee699a343e06cf7d69e762d6d81ce93e6d21f82 100644 (file)
@@ -32,6 +32,7 @@
   */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 06fe086bd40569b450e1d50516a0a940c46bb583..5583e4683dd45465df6cdc8d3803fa1dd7fee9af 100644 (file)
@@ -32,6 +32,7 @@
   */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index eafbe342887610c094b1b833d3963f59b75cd582..cea9368d1f38e02da1635d6c5d00269896ff8dca 100644 (file)
@@ -32,6 +32,7 @@
   */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 24c323194f1219f08b81ddc67c5250abb9187c5e..6d0161b8b97c330c501215459fd41b3d0e7f942c 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 5a45ee6ae60588aa94986f225d4f97cdc9cc27d3..adf6aeb29f1f53e8e2c4ba6b0b0e98d3bae452c2 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 94f6989d423b981d81c02607741fdf8785d6e12b..b26a480ea01e5cf59ed35485342238332d810690 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 747e2f4d286bba5c797aea59cbba33e4e2502294..c2bdee98ea5d7a7e127ffef6cf7cc799271c9739 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 def3c1ceb9ed1593198d2a8eb509d701130b14ab..f62a0d0d7d4138c7259a8bb2103764cc01191550 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"