aboutsummaryrefslogtreecommitdiff
path: root/mesalib/windows/VC8/mesa/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/windows/VC8/mesa/makefile')
-rw-r--r--mesalib/windows/VC8/mesa/makefile14
1 files changed, 13 insertions, 1 deletions
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"