diff options
-rw-r--r-- | mesalib/src/mesa/main/.gitignore | 3 | ||||
-rw-r--r-- | mesalib/windows/VC8/mesa/makefile | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/.gitignore b/mesalib/src/mesa/main/.gitignore new file mode 100644 index 000000000..cf1dd8b8b --- /dev/null +++ b/mesalib/src/mesa/main/.gitignore @@ -0,0 +1,3 @@ +dispatch.h
+enums.c
+glapitable.h
diff --git a/mesalib/windows/VC8/mesa/makefile b/mesalib/windows/VC8/mesa/makefile index 727065a40..ee6ed5c3f 100644 --- a/mesalib/windows/VC8/mesa/makefile +++ b/mesalib/windows/VC8/mesa/makefile @@ -41,10 +41,22 @@ DEPS:=$(wildcard ..\..\..\src\mesa\swrast\*.c) \ $(wildcard ..\..\..\src\mesa\drivers\dri\common\*.c) \
$(wildcard ..\..\..\src\mesa\drivers\dri\common\*.h) \
$(wildcard ..\..\..\src\mesa\drivers\common\*.c) \
- $(wildcard ..\..\..\src\mesa\drivers\common\*.h)
+ $(wildcard ..\..\..\src\mesa\drivers\common\*.h) \
+ ..\..\..\src\mesa\main\dispatch.h \
+ ..\..\..\src\mesa\main\glapitable.h \
+ ..\..\..\src\mesa\main\enums.c
all: Release\swrast_dri.dll Debug\swrast_dri.dll
+..\..\..\src\mesa\main\dispatch.h: $(wildcard ..\..\..\src\mapi\glapi\gen\*.xml)
+ cd ..\..\..\src\mapi\glapi\gen & python gl_table.py -m remap_table > ..\..\..\mesa\main\dispatch.h
+
+..\..\..\src\mesa\main\glapitable.h: $(wildcard ..\..\..\src\mapi\glapi\gen\*.xml)
+ cd ..\..\..\src\mapi\glapi\gen & python gl_table.py > ..\..\..\mesa\main\glapitable.h
+
+..\..\..\src\mesa\main\enums.c: $(wildcard ..\..\..\src\mapi\glapi\gen\*.xml)
+ cd ..\..\..\src\mapi\glapi\gen & python gl_enums.py -f gl_and_es_API.xml > ..\..\..\mesa\main\enums.c
+
Debug\swrast_dri.dll: $(DEPS)
$(BUILDCMD) "Debug|Win32"
|