Remove error_init from native icall wrappers since managed does it. (#15943)
[mono-project.git] / mcs / build / Makefile
blob8a24d941191242c8cd9e5dcf33431733f157bdbc
1 thisdir = build
2 SUBDIRS =
3 include ../build/rules.make
5 BUILT_FILES = common/Consts.cs $(topdir)/class/lib/$(PROFILE_DIRECTORY)/Consts.cs common/sourcelink.json
7 all-local install-local test-local run-test-local csproj-local run-test-ondotnet-local uninstall-local doc-update-local: $(BUILT_FILES)
8 @:
10 clean-local:
11 -rm -f $(BUILT_FILES) deps/*
13 $(topdir)/class/lib/$(PROFILE_DIRECTORY):
14 mkdir -p $@
16 common/Consts.cs $(topdir)/class/lib/$(PROFILE_DIRECTORY)/Consts.cs: common/Consts.cs.in $(wildcard config.make) | $(topdir)/class/lib/$(PROFILE_DIRECTORY)
17 test -n '$(MONO_VERSION)'
18 test -n '$(MONO_CORLIB_VERSION)'
19 sed -e 's,@''MONO_VERSION@,$(MONO_VERSION),' -e 's,@''MONO_CORLIB_VERSION@,$(MONO_CORLIB_VERSION),' $< > $@
21 common/sourcelink.json: common/sourcelink.json.in $(wildcard config.make) | $(topdir)/class/lib/$(PROFILE_DIRECTORY)
22 sed -e 's,@mono_topdir@,$(shell cd $(topdir)/.. && pwd),' -e 's,@mono_commit_hash@,$(shell cd $(topdir)/.. && git rev-parse HEAD),' -e 's,@corefx_commit_hash@,$(shell cd $(topdir)/../external/corefx && git rev-parse HEAD),' -e 's,@corert_commit_hash@,$(shell cd $(topdir)/../external/corert && git rev-parse HEAD),' -e 's,@cecil_commit_hash@,$(shell cd $(topdir)/../external/cecil && git rev-parse HEAD),' $< > $@
24 PLATFORMS = macos linux win32 unix
25 PROFILES = \
26 build \
27 binary_reference_assemblies \
28 net_4_x \
29 xbuild_12 \
30 xbuild_14
32 COMMON_SRCS = \
33 Consts.cs.in \
34 sourcelink.json.in \
35 Locale.cs \
36 MonoTODOAttribute.cs \
37 basic-profile-check.cs \
38 SR.cs \
39 AssemblyRef.cs
41 DISTFILES = \
42 README.makefiles.md \
43 README.platforms \
44 README.configury \
45 config-default.make \
46 corcompare.make \
47 corcompare-api.xsl \
48 executable.make \
49 library.make \
50 rules.make \
51 tests.make \
52 start-compiler-server.sh \
53 $(COMMON_SRCS:%=common/%) \
54 $(PLATFORMS:%=platforms/%.make) $(PROFILES:%=profiles/%.make)
56 dist-local: dist-default