New and improved comment.
[oota-llvm.git] / Makefile
index 35fa00fb93c152b0ba62d03a096a448fc668d969..590fab1222c61620f1e514cab16f8fde05db5a78 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -102,6 +102,11 @@ endif
 ifeq ($(LLVM_CROSS_COMPILING),1)
 all:: cross-compile-build-tools
 
+install:: $(DESTDIR)$(PROJ_bindir)
+       $(Echo) Installing llvm-config-host
+       $(Verb) $(ProgInstall) $(BuildLLVMToolDir)/llvm-config \
+         $(DESTDIR)$(PROJ_bindir)/llvm-config-host
+
 clean::
        $(Verb) rm -rf BuildTools
 
@@ -175,11 +180,18 @@ all-local:: clean-diagnostics
 endif
 
 #------------------------------------------------------------------------
-# Make sure the generated headers are up-to-date. This must be kept in
-# sync with the AC_CONFIG_HEADER invocations in autoconf/configure.ac
+# Make sure the generated files are up-to-date. This must be kept in
+# sync with the AC_CONFIG_HEADER and AC_CONFIG_FILE invocations in
+# autoconf/configure.ac.
+# Note that Makefile.config is covered by its own separate rule
+# in Makefile.rules where it can be reused by sub-projects.
 #------------------------------------------------------------------------
 FilesToConfig := \
+  bindings/ocaml/llvm/META.llvm \
+  docs/doxygen.cfg \
+  llvm.spec \
   include/llvm/Config/config.h \
+  include/llvm/Config/llvm-config.h \
   include/llvm/Config/Targets.def \
   include/llvm/Config/AsmPrinters.def \
   include/llvm/Config/AsmParsers.def \