[2018-06] [dist] Ensure gensources.cs is included in tarballs (#9516)
[mono-project.git] / mcs / build / Makefile
blob1dfe0e779517ebdd5e77291fd92dfe080e407814
1 thisdir = build
2 SUBDIRS =
3 include ../build/rules.make
5 BUILT_FILES = common/Consts.cs
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 common/Consts.cs: common/Consts.cs.in $(wildcard config.make)
14 test -n '$(MONO_VERSION)'
15 test -n '$(MONO_CORLIB_VERSION)'
16 sed -e 's,@''MONO_VERSION@,$(MONO_VERSION),' -e 's,@''MONO_CORLIB_VERSION@,$(MONO_CORLIB_VERSION),' $< > $@
18 PLATFORMS = darwin linux win32
19 PROFILES = \
20 basic \
21 build \
22 binary_reference_assemblies \
23 net_4_x \
24 xbuild_12 \
25 xbuild_14
27 COMMON_SRCS = \
28 Consts.cs.in \
29 Locale.cs \
30 MonoTODOAttribute.cs \
31 basic-profile-check.cs \
32 SR.cs \
33 AssemblyRef.cs
35 DISTFILES = \
36 README.makefiles.md \
37 README.platforms \
38 README.configury \
39 config-default.make \
40 corcompare.make \
41 corcompare-api.xsl \
42 executable.make \
43 gensources.sh \
44 gensources.cs \
45 library.make \
46 rules.make \
47 tests.make \
48 $(COMMON_SRCS:%=common/%) \
49 $(PLATFORMS:%=platforms/%.make) $(PROFILES:%=profiles/%.make)
51 dist-local: dist-default