diff options
author | Ludovic Henry <ludovic@xamarin.com> | 2017-05-12 02:19:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-12 02:19:09 +0300 |
commit | 5250b855e543b604cb7d923470c4ef2cd83a6a64 (patch) | |
tree | b115b31731586567187e533991d06bf4dd277c26 /mcs/class/System.Web.Extensions | |
parent | 3f779475e3fc982e312212d5dbbd86515eddfc0c (diff) |
[mcs] Add platform specific files (#4837)
* [mcs] Rework %-recursive target to explicitely list subdirectories
* [mcs] Rename PLATFORM to BUILD_PLATFORM
* [mcs] Add platform specific files
This is to support adding corefx platform specific files. To do that, we now support `mcs/class/corlib/linux_net_4_x_corlib.dll.sources` for example, on top of `mcs/class/corlib/net_4_x_corlib.dll.sources` and `mcs/class/corlib/corlib.dll.sources`.
The 3 platforms that are supported are: `linux`, `darwin` and `win32`.
* [mcs] Build cross-platform bcl in separate folder
Diffstat (limited to 'mcs/class/System.Web.Extensions')
-rw-r--r-- | mcs/class/System.Web.Extensions/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Web.Extensions/Makefile b/mcs/class/System.Web.Extensions/Makefile index dc21bcf31c1..9660692d0db 100644 --- a/mcs/class/System.Web.Extensions/Makefile +++ b/mcs/class/System.Web.Extensions/Makefile @@ -86,7 +86,7 @@ $(STANDALONE_TEST_ASSEMBLY): $(the_assembly) Test/standalone-tests/Consts.cs $(CSCOMPILE) $(STANDALONE_TEST_MCS_FLAGS) -out:$@ -target:library @System.Web.Extensions_standalone_test.dll.sources Test/standalone-tests/Consts.cs: Test/standalone-tests/Consts.cs.in -ifeq ($(PLATFORM), win32) +ifeq ($(BUILD_PLATFORM), win32) @sed 's,@SystemWebExtensionsClassDir@,$(shell cygpath -a -m .),' $< > $@ else @sed 's,@SystemWebExtensionsClassDir@,$(shell pwd),' $< > $@ |