[bcl] Make monolite platform specific (#4910)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 22 May 2017 16:09:44 +0000 (18:09 +0200)
committerGitHub <noreply@github.com>
Mon, 22 May 2017 16:09:44 +0000 (18:09 +0200)
commit29741a40cbdbe2cf137a28dccbae2012ffb96258
tree8d15b37d29c19e520af6e61a2c84b0d4172798dc
parenta796ce400d0ca52b0cb4ca1dbdbed2aa3b1a05b6
[bcl] Make monolite platform specific (#4910)

mscorlib.dll etc will be platform specific in the future. This also
means that we need to adapt monolite since it'll become platform
specific once we start the divergence.

monolite is essentially a repackaging of the "build" profile which
means we need to turn that profile into multi-platform profile
like net_4_x. We'll still have a symlink from build -> build-darwin
and the monolite which is downloaded or packaged in the tarball
is expanded into mcs/lib/monolite-<platform> depending on the platform
you're building on.

I had to move the get-monolite-latest target from the top-level
Makefile.am into mcs/class/Makefile so it has access to HOST_PLATFORM,
but it arguably should've been there anyway before.
Makefile.am
mcs/build/profiles/basic.make
mcs/build/profiles/build.make
mcs/class/Makefile