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)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Wed, 4 Jun 2008 14:58:44 +0000 (23:58 +0900)
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).

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 252218ca86b831bb79747fab19196bca93952062..ab58aa6c23dde091e7a414ef188b6b7ff65dede1 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 693a7864dbd9d942cc4557dfea2e8343dca9f578..7f5f6b357f459caf72e68918a0f51b7a00c382f2 100644 (file)
@@ -29,6 +29,7 @@
 
 #ifdef USE_3DNOW_ASM
 
+#include "assyntax.h"
 #include "matypes.h"
 #include "norm_args.h"
 
index 7665c0ff8b6f771e36de1e8f69220f13325dc21b..a73301a8d6b24f0ca619bf59b30d319f731691e9 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 #ifdef USE_3DNOW_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index b201d1e901cd3e7a31fc9ebc132f33a847779396..2988fb7bfd3d21f876d2b6bd889d0cfbcea34dcb 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 #ifdef USE_3DNOW_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 46f155697d7c90e95ab1720f56a9cb5d142e8c44..a356aaee76ba7129ee259873f3898e1bc70de743 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 #ifdef USE_3DNOW_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index a0c6b193cdcee6dbb0efebf2f08eef4e48eebd5e..b2b7c64f23dd1baaee3ed510615eaaf8833bc3dd 100644 (file)
@@ -24,6 +24,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 1c32e3b2fe5cc640ef5c0f3b5da1d03b0820fa03..a8c0d38c7e828ebc8dc6c74a7c7cad6cb320c637 100644 (file)
@@ -31,6 +31,7 @@
   */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "norm_args.h"
 
index 22fd8dd27b5dc2e52756af4b90c6c889f33acf0e..4aa9de607c346872ad2c2294330c0c0de7cd2d26 100644 (file)
@@ -31,6 +31,7 @@
   */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 52eeb27ef5873d154058e2ed82fc541f240e08bf..91b82e729719e4faad997fa0db06ddb2d0a9bd68 100644 (file)
@@ -31,6 +31,7 @@
   */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 5e0cd8b666c273ece558c271059ccb30a4df798a..1fc79ef21bdb7816481678e995b6cfc9f2ea71bb 100644 (file)
@@ -31,6 +31,7 @@
   */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 13680528db7e9e2e46347c0c6109d257c2bdd95d..fb1fa741c017c29c6aacb601f7cf80350c9fb8bb 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 #ifdef USE_SSE_ASM
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index c7a3a9b57e14950e4cc0716a6357bec750202e4f..e413aee61ed42ddf139436d3bd42ff5f8acd1b08 100644 (file)
@@ -29,6 +29,7 @@
  * in there will break the build on some platforms.
  */
 
+#include "assyntax.h"
 #include "matypes.h"
 #include "clip_args.h"
 
index e41661d546cb540c5767bf5168a456d737932c71..980725ef5184dd4c0047b941121bcebfce62df05 100644 (file)
@@ -29,6 +29,7 @@
  * in there will break the build on some platforms.
  */
 
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 067ddd7d7cfe18b0edaeead6a208da2fd12ae852..1c782f1c5c423f8f92366ed68aca2cea5f1af14a 100644 (file)
@@ -29,6 +29,7 @@
  * in there will break the build on some platforms.
  */
 
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"
 
index 77621ac4bd5f45d40633cbfcea0424f49cd73955..97a841138ee06494a53bcd31a84db3b47e5c0365 100644 (file)
@@ -29,6 +29,7 @@
  * in there will break the build on some platforms.
  */
 
+#include "assyntax.h"
 #include "matypes.h"
 #include "xform_args.h"