Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / llvm / Makefile.am
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
8 LLVM_PATH=llvm
9
10 SUBMODULES_CONFIG_FILE = $(top_srcdir)/llvm/SUBMODULES.json
11 include $(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
17 bump-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
21 bump-branch-llvm: __bump-branch-llvm
22
23 # Bump the given submodule to its current GIT version
24 # If COMMIT is 1, commit the change
25 bump-current-llvm: __bump-current-version-llvm
26
27 clean-local:
28         $(RM) -r $(LLVM_PATH)
29
30 EXTRA_DIST=SUBMODULES.json