Update to llvm-config tool, by Erik Kidd:
[oota-llvm.git] / utils / llvm-config / Makefile
index c4a5407374afaff86327b33b89f876cc2e409816..0fdbe829f56862841b748f9325db8b2e76fe1acf 100644 (file)
@@ -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)