aboutsummaryrefslogtreecommitdiff
path: root/mesalib/windows
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-05-30 14:14:48 +0200
committermarha <marha@users.sourceforge.net>2012-05-30 14:14:48 +0200
commitc229f618dd10327675815351ad67f5533f283a9c (patch)
treede5031d255f4ba28110fcfdf3df138c2b09221d0 /mesalib/windows
parentc587ef5a80c34082b4d7fb66a77bd39bea33aa03 (diff)
downloadvcxsrv-c229f618dd10327675815351ad67f5533f283a9c.tar.gz
vcxsrv-c229f618dd10327675815351ad67f5533f283a9c.tar.bz2
vcxsrv-c229f618dd10327675815351ad67f5533f283a9c.zip
dispatch.h glapitable.h enums.c are now generated automatically
Diffstat (limited to 'mesalib/windows')
-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"