From: Emil Velikov Date: Fri, 27 May 2016 14:35:43 +0000 (+0100) Subject: swr: remove LLVM dependency from source generation rules. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a59a624d022e3ba306d42973a1d4ca84ea53dfc;p=mesa.git swr: remove LLVM dependency from source generation rules. The dependencies should not mention any files external to the project. If we want to do sanity checks for the LLVM installed on the system we should do that in configure, yet again where is the merit which header gets checked and which doesn't ? Cc: Tim Rowley Signed-off-by: Emil Velikov --- diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am index b4317f6f5db..291b5b2167d 100644 --- a/src/gallium/drivers/swr/Makefile.am +++ b/src/gallium/drivers/swr/Makefile.am @@ -73,14 +73,14 @@ rasterizer/jitter/state_llvm.h: rasterizer/jitter/scripts/gen_llvm_types.py rast --input $(srcdir)/rasterizer/core/state.h \ --output rasterizer/jitter/state_llvm.h -rasterizer/jitter/builder_gen.h: rasterizer/jitter/scripts/gen_llvm_ir_macros.py $(LLVM_INCLUDEDIR)/llvm/IR/IRBuilder.h +rasterizer/jitter/builder_gen.h: rasterizer/jitter/scripts/gen_llvm_ir_macros.py $(PYTHON2) $(PYTHON_FLAGS) \ $(srcdir)/rasterizer/jitter/scripts/gen_llvm_ir_macros.py \ --input $(LLVM_INCLUDEDIR)/llvm/IR/IRBuilder.h \ --output rasterizer/jitter/builder_gen.h \ --gen_h -rasterizer/jitter/builder_gen.cpp: rasterizer/jitter/scripts/gen_llvm_ir_macros.py $(LLVM_INCLUDEDIR)/llvm/IR/IRBuilder.h +rasterizer/jitter/builder_gen.cpp: rasterizer/jitter/scripts/gen_llvm_ir_macros.py $(PYTHON2) $(PYTHON_FLAGS) \ $(srcdir)/rasterizer/jitter/scripts/gen_llvm_ir_macros.py \ --input $(LLVM_INCLUDEDIR)/llvm/IR/IRBuilder.h \