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 8LLVM_PATH=llvm 9 10SUBMODULES_CONFIG_FILE = $(top_srcdir)/llvm/SUBMODULES.json 11include $(top_srcdir)/scripts/submodules/versions.mk 12 13$(eval $(call ValidateVersionTemplate,llvm,LLVM)) 14 15# Bump the given submodule to the revision given by the REV make variable 16# If COMMIT is 1, commit the change 17bump-llvm: __bump-version-llvm 18 19# Bump the given submodule to the branch given by the BRANCH/REMOTE_BRANCH make variables 20# If COMMIT is 1, commit the change 21bump-branch-llvm: __bump-branch-llvm 22 23# Bump the given submodule to its current GIT version 24# If COMMIT is 1, commit the change 25bump-current-llvm: __bump-current-version-llvm 26 27clean-local: 28 $(RM) -r $(LLVM_PATH) 29 30EXTRA_DIST=SUBMODULES.json 31