diff options
author | marha <marha@users.sourceforge.net> | 2012-05-30 14:14:48 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-05-30 14:14:48 +0200 |
commit | c229f618dd10327675815351ad67f5533f283a9c (patch) | |
tree | de5031d255f4ba28110fcfdf3df138c2b09221d0 | |
parent | c587ef5a80c34082b4d7fb66a77bd39bea33aa03 (diff) | |
download | vcxsrv-c229f618dd10327675815351ad67f5533f283a9c.tar.gz vcxsrv-c229f618dd10327675815351ad67f5533f283a9c.tar.bz2 vcxsrv-c229f618dd10327675815351ad67f5533f283a9c.zip |
dispatch.h glapitable.h enums.c are now generated automatically
-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"
|