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
)
11 -rm -f
$(BUILT_FILES
) deps
/*
13 $(topdir
)/class
/lib
/$(PROFILE_DIRECTORY
):
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
27 binary_reference_assemblies \
36 MonoTODOAttribute.cs \
37 basic-profile-check.cs \
52 $(COMMON_SRCS
:%=common
/%) \
53 $(PLATFORMS
:%=platforms
/%.make
) $(PROFILES
:%=profiles
/%.make
)
55 dist-local
: dist-default