Makefile.am 852 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # Conditional submodule for llvm
  3. #
  4. # make reset-llvm will checkout a version of llvm which is suitable for this version of mono
  5. # into $top_srcdir/llvm/llvm.
  6. #
  7. LLVM_PATH=llvm
  8. SUBMODULES_CONFIG_FILE = $(top_srcdir)/llvm/SUBMODULES.json
  9. include $(top_srcdir)/scripts/submodules/versions.mk
  10. $(eval $(call ValidateVersionTemplate,llvm,LLVM))
  11. # Bump the given submodule to the revision given by the REV make variable
  12. # If COMMIT is 1, commit the change
  13. bump-llvm: __bump-version-llvm
  14. # Bump the given submodule to the branch given by the BRANCH/REMOTE_BRANCH make variables
  15. # If COMMIT is 1, commit the change
  16. bump-branch-llvm: __bump-branch-llvm
  17. # Bump the given submodule to its current GIT version
  18. # If COMMIT is 1, commit the change
  19. bump-current-llvm: __bump-current-version-llvm
  20. clean-local:
  21. $(RM) -r $(LLVM_PATH)
  22. EXTRA_DIST=SUBMODULES.json