On Tuesday 30 March 2004 16:52, Brian Paul wrote:
> CVSROOT: /cvs/mesa
> Module name: Mesa
> Repository: Mesa/src/mesa/main/
> Changes by: [EMAIL PROTECTED] 04/03/30 14:52:00
>
> Log message:
> these files now live in the shader directory
>
> Removed files:
> Mesa/src/mesa/main/:
> nvfragparse.c nvfragparse.h nvfragprog.h nvprogram.c
> nvprogram.h nvvertexec.c nvvertexec.h nvvertparse.c
> nvvertparse.h nvvertprog.h
This breaks the DRI build:
s_aatriangle.c:37:24: nvfragprog.h: No such file or directory
Patch attached, which adds src/mesa/shader everywhere it's needed. This is a
bit heavy-handed; would it be better to factor $MESA_INCLUDES up to a higher
Imakefile?
- ajax
--- xc/lib/GL/mesa/array_cache/Imakefile 2004-03-30 19:16:02.000000000 -0600
+++ xc/lib/GL/mesa/array_cache/Imakefile 2004-03-30 19:16:38.000000000 -0600
@@ -45,6 +45,7 @@
-I$(MESASRCDIR)/src/mesa/array_cache \
-I$(MESASRCDIR)/src/mesa/glapi \
-I$(MESASRCDIR)/src/mesa/math \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/include \
-I../../../include -I$(XINCLUDESRC)
--- xc/lib/GL/mesa/drivers/dri/common/Imakefile.inc 2004-03-30 19:35:01.000000000 -0600
+++ xc/lib/GL/mesa/drivers/dri/common/Imakefile.inc 2004-03-30 19:34:08.000000000 -0600
@@ -32,6 +32,7 @@
COMMON_MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/../common \
-I$(MESASRCDIR)/include
--- xc/lib/GL/mesa/drivers/dri/ffb/Imakefile.inc 2004-03-30 19:16:38.000000000 -0600
+++ xc/lib/GL/mesa/drivers/dri/ffb/Imakefile.inc 2004-03-30 19:16:50.000000000 -0600
@@ -30,6 +30,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/ffb
--- xc/lib/GL/mesa/drivers/dri/gamma/Imakefile.inc 2004-03-30 19:16:50.000000000 -0600
+++ xc/lib/GL/mesa/drivers/dri/gamma/Imakefile.inc 2004-03-30 19:17:02.000000000 -0600
@@ -31,6 +31,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/gamma
--- xc/lib/GL/mesa/drivers/dri/i810/Imakefile.inc 2004-03-30 19:17:02.000000000 -0600
+++ xc/lib/GL/mesa/drivers/dri/i810/Imakefile.inc 2004-03-30 19:17:09.000000000 -0600
@@ -31,6 +31,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/i810
--- xc/lib/GL/mesa/drivers/dri/i830/Imakefile.inc 2004-03-30 19:17:09.000000000 -0600
+++ xc/lib/GL/mesa/drivers/dri/i830/Imakefile.inc 2004-03-30 19:17:20.000000000 -0600
@@ -31,6 +31,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/i830
--- xc/lib/GL/mesa/drivers/dri/mga/Imakefile.inc 2004-03-30 19:17:20.000000000 -0600
+++ xc/lib/GL/mesa/drivers/dri/mga/Imakefile.inc 2004-03-30 19:17:27.000000000 -0600
@@ -31,6 +31,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/mga
--- xc/lib/GL/mesa/drivers/dri/r128/Imakefile.inc 2004-03-30 19:17:27.000000000 -0600
+++ xc/lib/GL/mesa/drivers/dri/r128/Imakefile.inc 2004-03-30 19:17:34.000000000 -0600
@@ -32,6 +32,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/r128
--- xc/lib/GL/mesa/drivers/dri/r200/Imakefile.inc 2004-03-30 19:17:34.000000000 -0600
+++ xc/lib/GL/mesa/drivers/dri/r200/Imakefile.inc 2004-03-30 19:17:39.000000000 -0600
@@ -32,6 +32,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/r200
--- xc/lib/GL/mesa/drivers/dri/radeon/Imakefile.inc 2004-03-30 19:17:39.000000000 -0600
+++ xc/lib/GL/mesa/drivers/dri/radeon/Imakefile.inc 2004-03-30 19:17:46.000000000 -0600
@@ -32,6 +32,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/radeon
--- xc/lib/GL/mesa/drivers/dri/savage/Imakefile.inc 2004-03-30 19:17:46.000000000 -0600
+++ xc/lib/GL/mesa/drivers/dri/savage/Imakefile.inc 2004-03-30 19:17:52.000000000 -0600
@@ -31,6 +31,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/savage
--- xc/lib/GL/mesa/drivers/dri/sis/Imakefile.inc 2004-03-30 19:17:52.000000000 -0600
+++ xc/lib/GL/mesa/drivers/dri/sis/Imakefile.inc 2004-03-30 19:18:01.000000000 -0600
@@ -31,6 +31,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/sis
--- xc/lib/GL/mesa/drivers/dri/tdfx/Imakefile.inc 2004-03-30 19:18:01.000000000 -0600
+++ xc/lib/GL/mesa/drivers/dri/tdfx/Imakefile.inc 2004-03-30 19:18:08.000000000 -0600
@@ -31,6 +31,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/tdfx
--- xc/lib/GL/mesa/drivers/osmesa/Imakefile 2004-03-30 19:18:08.000000000 -0600
+++ xc/lib/GL/mesa/drivers/osmesa/Imakefile 2004-03-30 19:18:18.000000000 -0600
@@ -33,6 +33,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/include
--- xc/lib/GL/mesa/drivers/x11/Imakefile 2004-03-30 19:18:18.000000000 -0600
+++ xc/lib/GL/mesa/drivers/x11/Imakefile 2004-03-30 19:18:30.000000000 -0600
@@ -43,6 +43,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src \
-I$(MESASRCDIR)/src/X \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I../../../include -I$(XINCLUDESRC)
--- xc/lib/GL/mesa/math/Imakefile 2004-03-30 19:18:30.000000000 -0600
+++ xc/lib/GL/mesa/math/Imakefile 2004-03-30 19:18:50.000000000 -0600
@@ -72,6 +72,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/math \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \
-I$(MESASRCDIR)/include \
--- xc/lib/GL/mesa/shader/Imakefile 2004-03-30 19:18:50.000000000 -0600
+++ xc/lib/GL/mesa/shader/Imakefile 2004-03-30 19:18:58.000000000 -0600
@@ -72,6 +72,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/math \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \
-I$(MESASRCDIR)/include \
--- xc/lib/GL/mesa/swrast/Imakefile 2004-03-30 19:19:12.000000000 -0600
+++ xc/lib/GL/mesa/swrast/Imakefile 2004-03-30 19:01:32.000000000 -0600
@@ -75,6 +75,7 @@
-I$(MESASRCDIR)/src/mesa/math \
-I$(MESASRCDIR)/src/mesa/glapi \
-I$(MESASRCDIR)/src/mesa/swrast \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \
-I$(MESASRCDIR)/include \
-I../../../include -I$(XINCLUDESRC)
--- xc/lib/GL/mesa/swrast_setup/Imakefile 2004-03-30 19:19:12.000000000 -0600
+++ xc/lib/GL/mesa/swrast_setup/Imakefile 2004-03-30 19:19:18.000000000 -0600
@@ -73,6 +73,7 @@
-I$(MESASRCDIR)/src/mesa/math \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/src/mesa/swrast_setup \
-I$(MESASRCDIR)/src/mesa/tnl \
-I$(MESASRCDIR)/include \
--- xc/lib/GL/mesa/tnl/Imakefile 2004-03-30 19:19:18.000000000 -0600
+++ xc/lib/GL/mesa/tnl/Imakefile 2004-03-30 19:19:27.000000000 -0600
@@ -72,6 +72,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \
-I$(MESASRCDIR)/src/mesa/array_cache \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/src/mesa/math \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
--- xc/lib/GL/mesa/tnl_dd/Imakefile 2004-03-30 19:19:27.000000000 -0600
+++ xc/lib/GL/mesa/tnl_dd/Imakefile 2004-03-30 19:19:33.000000000 -0600
@@ -45,6 +45,7 @@
MESA_INCLUDES = -I$(MESASRCDIR)/src \
-I$(MESASRCDIR)/src/math \
-I$(MESASRCDIR)/src/tnl_dd \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I../../../include
--- xc/programs/Xserver/GL/mesa/X/Imakefile 2004-03-30 21:30:20.000000000 -0600
+++ xc/programs/Xserver/GL/mesa/X/Imakefile 2004-03-30 21:30:37.000000000 -0600
@@ -48,6 +48,7 @@
-I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/src -I$(MESASRCDIR)/src/mesa/drivers/x11 \
-I$(MESASRCDIR)/include \
-I$(LIBSRC)/GL/glx -I$(LIBSRC)/GL/include \
--- xc/programs/Xserver/GL/mesa/swrast/Imakefile 2004-03-30 20:23:40.000000000 -0600
+++ xc/programs/Xserver/GL/mesa/swrast/Imakefile 2004-03-30 20:23:56.000000000 -0600
@@ -29,6 +29,7 @@
-I$(MESASRCDIR)/src/mesa/glapi \
-I$(MESASRCDIR)/src/mesa/swrast \
-I$(MESASRCDIR)/src/mesa/swrast_setup \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(SERVERSRC)/include -I$(XINCLUDESRC) \
-I$(SERVERSRC)/GL/include -I$(SERVERSRC)/GL/glx \
--- xc/programs/Xserver/GL/mesa/tnl/Imakefile 2004-03-30 20:56:42.000000000 -0600
+++ xc/programs/Xserver/GL/mesa/tnl/Imakefile 2004-03-30 20:57:07.000000000 -0600
@@ -29,6 +29,7 @@
-I$(MESASRCDIR)/src/mesa/math \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
+ -I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/src/mesa/tnl \
-I$(MESASRCDIR)/include \
-I$(SERVERSRC)/include -I$(XINCLUDESRC) \