summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-06-04 23:55:55 +0900
committerKeith Whitwell <[email protected]>2008-09-21 09:44:37 -0700
commit3474e9de924d92a941b4ea33ecc694f5fad2651f (patch)
tree6fb1032b86eae4ad750fda8c4ace5d5cab82fb52 /src
parent6b146214dc16b441376d8dcaba21bcc4256a2402 (diff)
mesa: Remove assyntax.h include from generated matypes.h.
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)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/x86-64/Makefile2
-rw-r--r--src/mesa/x86/3dnow_normal.S1
-rw-r--r--src/mesa/x86/3dnow_xform1.S1
-rw-r--r--src/mesa/x86/3dnow_xform2.S1
-rw-r--r--src/mesa/x86/3dnow_xform3.S1
-rw-r--r--src/mesa/x86/3dnow_xform4.S1
-rw-r--r--src/mesa/x86/gen_matypes.c1
-rw-r--r--src/mesa/x86/mmx_blend.S3
-rw-r--r--src/mesa/x86/sse_normal.S1
-rw-r--r--src/mesa/x86/sse_xform1.S1
-rw-r--r--src/mesa/x86/sse_xform2.S1
-rw-r--r--src/mesa/x86/sse_xform3.S1
-rw-r--r--src/mesa/x86/sse_xform4.S1
-rw-r--r--src/mesa/x86/x86_cliptest.S1
-rw-r--r--src/mesa/x86/x86_xform2.S1
-rw-r--r--src/mesa/x86/x86_xform3.S1
-rw-r--r--src/mesa/x86/x86_xform4.S1
17 files changed, 17 insertions, 3 deletions
diff --git a/src/mesa/x86-64/Makefile b/src/mesa/x86-64/Makefile
index c6b69bafe86..9c3e9d2adf8 100644
--- a/src/mesa/x86-64/Makefile
+++ b/src/mesa/x86-64/Makefile
@@ -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
diff --git a/src/mesa/x86/3dnow_normal.S b/src/mesa/x86/3dnow_normal.S
index f3bbcb27b7f..63177779d4c 100644
--- a/src/mesa/x86/3dnow_normal.S
+++ b/src/mesa/x86/3dnow_normal.S
@@ -30,6 +30,7 @@
#ifdef USE_3DNOW_ASM
+#include "assyntax.h"
#include "matypes.h"
#include "norm_args.h"
diff --git a/src/mesa/x86/3dnow_xform1.S b/src/mesa/x86/3dnow_xform1.S
index 22b12cca067..fc8d79f29ce 100644
--- a/src/mesa/x86/3dnow_xform1.S
+++ b/src/mesa/x86/3dnow_xform1.S
@@ -25,6 +25,7 @@
*/
#ifdef USE_3DNOW_ASM
+#include "assyntax.h"
#include "matypes.h"
#include "xform_args.h"
diff --git a/src/mesa/x86/3dnow_xform2.S b/src/mesa/x86/3dnow_xform2.S
index d9e96d04e28..639f5d9b8bf 100644
--- a/src/mesa/x86/3dnow_xform2.S
+++ b/src/mesa/x86/3dnow_xform2.S
@@ -25,6 +25,7 @@
*/
#ifdef USE_3DNOW_ASM
+#include "assyntax.h"
#include "matypes.h"
#include "xform_args.h"
diff --git a/src/mesa/x86/3dnow_xform3.S b/src/mesa/x86/3dnow_xform3.S
index babee1caa00..f6c1259b2b2 100644
--- a/src/mesa/x86/3dnow_xform3.S
+++ b/src/mesa/x86/3dnow_xform3.S
@@ -25,6 +25,7 @@
*/
#ifdef USE_3DNOW_ASM
+#include "assyntax.h"
#include "matypes.h"
#include "xform_args.h"
diff --git a/src/mesa/x86/3dnow_xform4.S b/src/mesa/x86/3dnow_xform4.S
index b16d2b12dd6..1183f2fda8d 100644
--- a/src/mesa/x86/3dnow_xform4.S
+++ b/src/mesa/x86/3dnow_xform4.S
@@ -25,6 +25,7 @@
*/
#ifdef USE_3DNOW_ASM
+#include "assyntax.h"
#include "matypes.h"
#include "xform_args.h"
diff --git a/src/mesa/x86/gen_matypes.c b/src/mesa/x86/gen_matypes.c
index e95f3d4f3d8..afb4b11529f 100644
--- a/src/mesa/x86/gen_matypes.c
+++ b/src/mesa/x86/gen_matypes.c
@@ -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:
diff --git a/src/mesa/x86/mmx_blend.S b/src/mesa/x86/mmx_blend.S
index 20ac5a20adf..eeaf43ea937 100644
--- a/src/mesa/x86/mmx_blend.S
+++ b/src/mesa/x86/mmx_blend.S
@@ -1,10 +1,11 @@
;
/*
- * Written by Jos� Fonseca <[email protected]>
+ * Written by Jos� Fonseca <[email protected]>
*/
#ifdef USE_MMX_ASM
+#include "assyntax.h"
#include "matypes.h"
/* integer multiplication - alpha plus one
diff --git a/src/mesa/x86/sse_normal.S b/src/mesa/x86/sse_normal.S
index 066d46e5efd..6ca997dbab4 100644
--- a/src/mesa/x86/sse_normal.S
+++ b/src/mesa/x86/sse_normal.S
@@ -32,6 +32,7 @@
*/
#ifdef USE_SSE_ASM
+#include "assyntax.h"
#include "matypes.h"
#include "norm_args.h"
diff --git a/src/mesa/x86/sse_xform1.S b/src/mesa/x86/sse_xform1.S
index 4051f606a7e..6ee699a343e 100644
--- a/src/mesa/x86/sse_xform1.S
+++ b/src/mesa/x86/sse_xform1.S
@@ -32,6 +32,7 @@
*/
#ifdef USE_SSE_ASM
+#include "assyntax.h"
#include "matypes.h"
#include "xform_args.h"
diff --git a/src/mesa/x86/sse_xform2.S b/src/mesa/x86/sse_xform2.S
index 06fe086bd40..5583e4683dd 100644
--- a/src/mesa/x86/sse_xform2.S
+++ b/src/mesa/x86/sse_xform2.S
@@ -32,6 +32,7 @@
*/
#ifdef USE_SSE_ASM
+#include "assyntax.h"
#include "matypes.h"
#include "xform_args.h"
diff --git a/src/mesa/x86/sse_xform3.S b/src/mesa/x86/sse_xform3.S
index eafbe342887..cea9368d1f3 100644
--- a/src/mesa/x86/sse_xform3.S
+++ b/src/mesa/x86/sse_xform3.S
@@ -32,6 +32,7 @@
*/
#ifdef USE_SSE_ASM
+#include "assyntax.h"
#include "matypes.h"
#include "xform_args.h"
diff --git a/src/mesa/x86/sse_xform4.S b/src/mesa/x86/sse_xform4.S
index 24c323194f1..6d0161b8b97 100644
--- a/src/mesa/x86/sse_xform4.S
+++ b/src/mesa/x86/sse_xform4.S
@@ -25,6 +25,7 @@
*/
#ifdef USE_SSE_ASM
+#include "assyntax.h"
#include "matypes.h"
#include "xform_args.h"
diff --git a/src/mesa/x86/x86_cliptest.S b/src/mesa/x86/x86_cliptest.S
index 5a45ee6ae60..adf6aeb29f1 100644
--- a/src/mesa/x86/x86_cliptest.S
+++ b/src/mesa/x86/x86_cliptest.S
@@ -30,6 +30,7 @@
* in there will break the build on some platforms.
*/
+#include "assyntax.h"
#include "matypes.h"
#include "clip_args.h"
diff --git a/src/mesa/x86/x86_xform2.S b/src/mesa/x86/x86_xform2.S
index 94f6989d423..b26a480ea01 100644
--- a/src/mesa/x86/x86_xform2.S
+++ b/src/mesa/x86/x86_xform2.S
@@ -30,6 +30,7 @@
* in there will break the build on some platforms.
*/
+#include "assyntax.h"
#include "matypes.h"
#include "xform_args.h"
diff --git a/src/mesa/x86/x86_xform3.S b/src/mesa/x86/x86_xform3.S
index 747e2f4d286..c2bdee98ea5 100644
--- a/src/mesa/x86/x86_xform3.S
+++ b/src/mesa/x86/x86_xform3.S
@@ -30,6 +30,7 @@
* in there will break the build on some platforms.
*/
+#include "assyntax.h"
#include "matypes.h"
#include "xform_args.h"
diff --git a/src/mesa/x86/x86_xform4.S b/src/mesa/x86/x86_xform4.S
index def3c1ceb9e..f62a0d0d7d4 100644
--- a/src/mesa/x86/x86_xform4.S
+++ b/src/mesa/x86/x86_xform4.S
@@ -30,6 +30,7 @@
* in there will break the build on some platforms.
*/
+#include "assyntax.h"
#include "matypes.h"
#include "xform_args.h"