diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-11-06 15:17:15 +0800 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-11-06 14:19:23 -0700 |
commit | 37dca7955a55c0d1422dffa8a65d5b4ebe143d47 (patch) | |
tree | 1c28528bf03a95ef2e19b31c4ff59504a54a748d /src/mesa/es/glapi/Makefile | |
parent | f1c7874cd95e19929030038a78d889ac095a122a (diff) |
mesa/es: Improve support for parallel execution of make.
Running make with -j for the first time might fail because glapi headers
haven't been generated. This commit should make it more reliable.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'src/mesa/es/glapi/Makefile')
-rw-r--r-- | src/mesa/es/glapi/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/es/glapi/Makefile b/src/mesa/es/glapi/Makefile index 1e32af867d..1256be953d 100644 --- a/src/mesa/es/glapi/Makefile +++ b/src/mesa/es/glapi/Makefile @@ -30,7 +30,10 @@ ES2_DEPS = $(ES2_APIXML) base2_API.xml es2_EXT.xml es_EXT.xml \ ES1_OUTPUTS := $(addprefix $(ES1_OUTPUT_DIR)/, $(OUTPUTS)) ES2_OUTPUTS := $(addprefix $(ES2_OUTPUT_DIR)/, $(OUTPUTS)) -all: $(ES1_OUTPUTS) $(ES2_OUTPUTS) +all: glapi-stamp + +glapi-stamp: $(ES1_OUTPUTS) $(ES2_OUTPUTS) + @touch glapi-stamp $(ES1_OUTPUTS): APIXML := $(ES1_APIXML) $(ES2_OUTPUTS): APIXML := $(ES2_APIXML) @@ -86,5 +89,6 @@ verify_xml: @rm -f tmp.xml clean: + -rm -f glapi-stamp -rm -rf $(ES1_OUTPUT_DIR) $(ES2_OUTPUT_DIR) -rm -f *~ *.pyc *.pyo |