diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-08-25 04:44:18 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-08-25 04:44:18 +0000 |
commit | 6f5f8b380aafedd762aa04ae1dd14bfc9c0f0fed (patch) | |
tree | 8828019a5479766b0b74d4e68cdcfd88b97052a9 | |
parent | e28e40a2733c5d9a568d1569e2d1d8461716b22d (diff) |
Don't attempt to update LLVM configured header files from a build in a
project. Thanks to Chris for pointing out this deficiency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23037 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Makefile.rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 61e683239e..9bc8d5b220 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -144,10 +144,15 @@ $(ConfigStatusScript): $(ConfigureScript) $(ConfigStatusScript) --recheck $(ConfigureScriptFLAGS) && \ $(ConfigStatusScript) +#------------------------------------------------------------------------ +# If we're buildilng LLVM, then make sure the generated headers are Up2Dt +#------------------------------------------------------------------------ +ifeq ($(LLVM_OBJ_ROOT),$(PROJ_OBJ_ROOT)) .PRECIOUS: $(FilesToConfigPATH) $(FilesToConfigPATH) : $(LLVM_OBJ_ROOT)/% : $(LLVM_SRC_ROOT)/%.in $(Echo) Regenerating $* $(Verb) cd $(LLVM_OBJ_ROOT) && $(ConfigStatusScript) $* +endif #------------------------------------------------------------------------ # Make sure the configuration makefile is up to date |