From f2a3390c8b2052e8f65d3502dd703b5c5b23a28e Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 11 Oct 2012 10:47:13 +0200 Subject: Added generation of get_hash.h header file --- mesalib/windows/VC8/mesa/makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'mesalib/windows/VC8/mesa') 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 -- cgit v1.2.3