summaryrefslogtreecommitdiff
path: root/tools/llvm-config/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-03-23 23:21:29 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-03-23 23:21:29 +0000
commitb195d9d365e5f960c93ddfdf10638d5d147d9f6f (patch)
treeb9e444706691bb8fc0ff717926bb4e02fc3080e7 /tools/llvm-config/Makefile
parent7e0911585ec2996837f151baab3d3fc9145a7e02 (diff)
downloadllvm-b195d9d365e5f960c93ddfdf10638d5d147d9f6f.tar.gz
llvm-b195d9d365e5f960c93ddfdf10638d5d147d9f6f.tar.bz2
llvm-b195d9d365e5f960c93ddfdf10638d5d147d9f6f.tar.xz
Update to llvm-config tool, by Erik Kidd:
1. Check for Perl and only build llvm-config if its available. 2. Add some virtual components 3. Don't depend on "standard" location for Perl, but configured location 4. Document the tool with a POD file. This version is now ready for testing by users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config/Makefile')
-rw-r--r--tools/llvm-config/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llvm-config/Makefile b/tools/llvm-config/Makefile
index c4a5407374..0fdbe829f5 100644
--- a/tools/llvm-config/Makefile
+++ b/tools/llvm-config/Makefile
@@ -9,6 +9,7 @@
LEVEL = ../..
+EXTRA_DIST = LibDeps.txt llvm-config.in.in find-cycles.pl
include $(LEVEL)/Makefile.common
@@ -32,7 +33,7 @@ LibDeps.txt: $(LEVEL)/utils/GenLibDeps.pl $(LibDir)
# don't have to process them at runtime.
FinalLibDeps.txt: find-cycles.pl # LibDeps.txt deliberately omitted.
$(Echo) "Finding cyclic dependencies between LLVM libraries."
- $(Verb) $< < $(PROJ_SRC_DIR)/LibDeps.txt > $@
+ $(Verb) $(PERL) $< < $(PROJ_SRC_DIR)/LibDeps.txt > $@
# Rerun our configure substitutions as needed.
llvm-config.in: llvm-config.in.in $(ConfigStatusScript)