aboutsummaryrefslogtreecommitdiff
path: root/mesalib/windows/VC8/mesa
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-10-11 10:47:13 +0200
committermarha <marha@users.sourceforge.net>2012-10-11 10:47:13 +0200
commitf2a3390c8b2052e8f65d3502dd703b5c5b23a28e (patch)
treeae82144c479fe1fb2c16dbb3f948b57ca464fc05 /mesalib/windows/VC8/mesa
parentd863340171e4d6c19e9ef9fdc986ddc1b5e1e63e (diff)
downloadvcxsrv-f2a3390c8b2052e8f65d3502dd703b5c5b23a28e.tar.gz
vcxsrv-f2a3390c8b2052e8f65d3502dd703b5c5b23a28e.tar.bz2
vcxsrv-f2a3390c8b2052e8f65d3502dd703b5c5b23a28e.zip
Added generation of get_hash.h header file
Diffstat (limited to 'mesalib/windows/VC8/mesa')
-rw-r--r--mesalib/windows/VC8/mesa/makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/mesalib/windows/VC8/mesa/makefile b/mesalib/windows/VC8/mesa/makefile
index ee6ed5c3f..0511d3c10 100644
--- a/mesalib/windows/VC8/mesa/makefile
+++ b/mesalib/windows/VC8/mesa/makefile
@@ -44,7 +44,8 @@ DEPS:=$(wildcard ..\..\..\src\mesa\swrast\*.c) \
$(wildcard ..\..\..\src\mesa\drivers\common\*.h) \
..\..\..\src\mesa\main\dispatch.h \
..\..\..\src\mesa\main\glapitable.h \
- ..\..\..\src\mesa\main\enums.c
+ ..\..\..\src\mesa\main\enums.c \
+ ..\..\..\src\mesa\main\get_hash.h
all: Release\swrast_dri.dll Debug\swrast_dri.dll
@@ -57,11 +58,17 @@ all: Release\swrast_dri.dll Debug\swrast_dri.dll
..\..\..\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
+API_DEFINES=-DFEATURE_GL=1
+GET_HASH_GEN = ..\..\..\src\mesa\main\get_hash_generator.py
+GET_HASH_GEN_FLAGS := $(patsubst -DFEATURE_%=1,-a %, $(patsubst -DFEATURE_%=0,,$(API_DEFINES)))
+..\..\..\src\mesa\main\get_hash.h: ..\..\..\src\mapi\glapi\gen\gl_and_es_API.xml ..\..\..\src\mesa\main\get_hash_params.py $(GET_HASH_GEN)
+ python $(GET_HASH_GEN) $(GET_HASH_GEN_FLAGS) -f $< > $@
+
Debug\swrast_dri.dll: $(DEPS)
- $(BUILDCMD) "Debug|Win32"
+ $(BUILDCMD) "Debug|Win32"
Release\swrast_dri.dll: $(DEPS)
- $(BUILDCMD) "Release|Win32"
+ $(BUILDCMD) "Release|Win32"
clean: cleanthis