Skip to content

Commit

Permalink
X
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Baulig committed Oct 31, 2018
1 parent 6dbf040 commit c4202ba
Show file tree
Hide file tree
Showing 21 changed files with 157 additions and 64 deletions.
24 changes: 19 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1801,6 +1801,9 @@ AC_TRY_COMPILE([

AM_CONDITIONAL(ENABLE_GSS, test x$enable_gss = xyes)

# `target_ios=yes` does not detect watch devices and fails when cross-compiling
AC_MONO_APPLE_TARGET(TARGET_OS_IPHONE, [mono_native_platform_ios=yes])

if test x$host_win32 = xno; then
dnl *************************************
dnl *** Checks for time capabilities ***
Expand Down Expand Up @@ -3015,11 +3018,14 @@ if test x$host_win32 = xno; then
AC_CHECK_TYPES([struct flock64], [AC_DEFINE(HAVE_FLOCK64, 1, struct flock64)], , [#include <fcntl.h>])
fi

if test x$mono_native_platform_ios = xno; then
AC_CHECK_FUNC(stat64, [AC_DEFINE(HAVE_STAT64, 1, [stat64])])
fi

AC_CHECK_FUNC(lseek64, [AC_DEFINE(HAVE_LSEEK64, 1, [lseek64])])
AC_CHECK_FUNC(mmap64, [AC_DEFINE(HAVE_MMAP64, 1, [mmap64])])
AC_CHECK_FUNC(ftruncate64, [AC_DEFINE(HAVE_FTRUNCATE64, 1, [ftruncate64])])
AC_CHECK_FUNC(posix_fadvise64, [AC_DEFINE(HAVE_POSIX_FADVISE64, 1, [posix_fadvise64])])
AC_CHECK_FUNC(stat64, [AC_DEFINE(HAVE_STAT64, 1, [stat64])])
AC_CHECK_DECL(pipe2, [AC_DEFINE(HAVE_PIPE2, 1, [pipe2])])
AC_CHECK_FUNC(getmntinfo, [AC_DEFINE(HAVE_GETMNTINFO, 1, [getmntinfo])], [], [[#include <unistd.h>]])
AC_CHECK_FUNC(strcpy_s, [AC_DEFINE(HAVE_STRCPY_S, 1, [strcpy_s])])
Expand Down Expand Up @@ -5515,9 +5521,6 @@ fi
# to verify that it's the correct version of it.
#

# `target_ios=yes` does not detect watch devices and fails when cross-compiling
AC_MONO_APPLE_TARGET(TARGET_OS_IPHONE, [mono_native_platform_ios=yes])

sed_version_pattern='[[0-9]]\{1,2\}\(\.[[0-9]]\{1,2\}\)'
if test x$target_osx = xyes; then
sed_remove_mac_version_pattern="s/-mmacosx-version-min=$sed_version_pattern//g"
Expand Down Expand Up @@ -5606,8 +5609,18 @@ elif test x$mono_native_platform_ios = xyes; then
grep_find_ios_version_pattern="-m$mono_native_ios_target-version-min=$sed_version_pattern"

mono_native_compat_version=`echo $CC | grep -o -e $grep_find_ios_version_pattern`

if test x$with_bitcode = xyes; then
mono_native_ldflags="-framework CoreFoundation -framework Foundation -no-undefined -fatal_warnings"
MONO_NATIVE_LIBADD="../mini/$LIBMONO_LA"
else
mono_native_ldflags="-framework CoreFoundation -framework Foundation -fatal_warnings"
fi

if test x$enable_gss = xyes; then
mono_native_ldflags="$mono_native_ldflags -framework GSS"
fi

mono_native_ldflags="-framework CoreFoundation -framework Foundation -no-undefined -fatal_warnings"
MONO_NATIVE_CC=`echo $CC | sed -e $sed_remove_ios_version_pattern`
MONO_NATIVE_CXX=`echo $CXX | sed -e $sed_remove_ios_version_pattern`
MONO_NATIVE_CPPFLAGS=`echo $CPPFLAGS | sed -e $sed_remove_ios_version_pattern`
Expand Down Expand Up @@ -5666,6 +5679,7 @@ AC_SUBST(MONO_NATIVE_LDFLAGS)
AC_SUBST(MONO_NATIVE_COMPAT_LDFLAGS)
AC_SUBST(MONO_NATIVE_UNIFIED_LDFLAGS)
AC_SUBST(MONO_NATIVE_LIBRARY_NAME)
AC_SUBST(MONO_NATIVE_LIBADD)

AM_CONDITIONAL(MONO_NATIVE, test x$mono_native = xyes)
AM_CONDITIONAL(MONO_NATIVE_COMPAT, test x$mono_native_compat = xyes)
Expand Down
2 changes: 1 addition & 1 deletion external/corefx
Submodule corefx updated 66 files
+3 −0 src/Common/src/CoreLib/System/CurrentSystemTimeZone.cs
+2 −0 src/Common/src/CoreLib/System/DateTime.cs
+2 −0 src/Common/src/CoreLib/System/DateTimeOffset.cs
+3 −3 src/Common/src/CoreLib/System/Globalization/DateTimeFormat.cs
+16 −5 src/Common/src/CoreLib/System/Globalization/DateTimeFormatInfo.cs
+1 −1 src/Common/src/CoreLib/System/Globalization/DateTimeParse.cs
+2 −0 src/Common/src/CoreLib/System/IO/FileLoadException.cs
+2 −0 src/Common/src/CoreLib/System/IO/IOException.cs
+22 −0 src/Common/src/CoreLib/System/IO/MemoryStream.cs
+26 −0 src/Common/src/CoreLib/System/IO/StreamReader.cs
+26 −0 src/Common/src/CoreLib/System/IO/TextReader.cs
+4 −0 src/Common/src/CoreLib/System/IO/UnmanagedMemoryStream.cs
+1 −1 src/Common/src/CoreLib/System/Reflection/Binder.cs
+18 −1 src/Common/src/CoreLib/System/Text/Encoding.cs
+3 −1 src/Common/src/CoreLib/System/Text/EncodingNLS.cs
+23 −0 src/Common/src/CoreLib/System/Text/Latin1Encoding.cs
+1 −1 src/Common/src/CoreLib/System/TimeZone.cs
+4 −0 src/Common/src/CoreLib/System/TimeZoneInfo.cs
+18 −20 src/Native/Unix/Common/pal_utilities.h
+11 −11 src/Native/Unix/System.Native/CMakeLists.txt
+39 −37 src/Native/Unix/System.Native/pal_console.c
+3 −3 src/Native/Unix/System.Native/pal_console.h
+28 −23 src/Native/Unix/System.Native/pal_mount.c
+2 −2 src/Native/Unix/System.Native/pal_mount.h
+26 −23 src/Native/Unix/System.Native/pal_networkchange.c
+5 −3 src/Native/Unix/System.Native/pal_networkchange.h
+105 −97 src/Native/Unix/System.Native/pal_process.c
+14 −16 src/Native/Unix/System.Native/pal_process.h
+7 −7 src/Native/Unix/System.Native/pal_runtimeinformation.c
+4 −4 src/Native/Unix/System.Native/pal_runtimeinformation.h
+5 −5 src/Native/Unix/System.Native/pal_string.c
+14 −14 src/Native/Unix/System.Native/pal_uid.c
+4 −4 src/Native/Unix/System.Native/pal_uid.h
+8 −0 src/System.Collections/tests/Generic/Comparers/EqualityComparer.Generic.Tests.cs
+2 −0 src/System.IO/tests/MemoryStream/MemoryStream.ConstructorTests.cs
+1 −0 src/System.IO/tests/MemoryStream/MemoryStreamTests.netcoreapp.cs
+1 −4 src/System.Net.Sockets/src/System/Net/Sockets/UnixDomainSocketEndPoint.Unix.cs
+1 −4 src/System.Net.Sockets/src/System/Net/Sockets/UnixDomainSocketEndPoint.cs
+249 −47 src/System.Reflection.Extensions/tests/RuntimeReflectionExtensionTests.cs
+1 −0 src/System.Reflection/tests/Configurations.props
+3 −2 src/System.Reflection/tests/ConstructorInfoTests.cs
+10 −0 src/System.Reflection/tests/FieldInfoTests.cs
+22 −12 src/System.Reflection/tests/GetTypeTests.cs
+229 −7 src/System.Reflection/tests/MemberInfoTests.cs
+0 −0 src/System.Reflection/tests/MemberInfoTests.netcoreapp.cs
+131 −0 src/System.Reflection/tests/ParameterInfoTests.cs
+2 −0 src/System.Reflection/tests/PropertyInfoTests.cs
+13 −7 src/System.Reflection/tests/System.Reflection.Tests.csproj
+59 −29 src/System.Reflection/tests/TypeInfoTests.cs
+13 −0 src/System.Reflection/tests/TypeInfoTests.netcoreapp.cs
+8 −0 src/System.Runtime.Extensions/tests/System/BitConverterArray.cs
+8 −0 src/System.Runtime.Extensions/tests/System/BitConverterSpan.cs
+66 −37 src/System.Runtime/tests/System.Runtime.Tests.csproj
+0 −249 src/System.Runtime/tests/System/Reflection/ConstructorInfoTests.cs
+0 −60 src/System.Runtime/tests/System/Reflection/EventInfoTests.cs
+0 −65 src/System.Runtime/tests/System/Reflection/FieldInfoTests.cs
+0 −256 src/System.Runtime/tests/System/Reflection/MemberInfoTests.cs
+0 −1 src/System.Runtime/tests/System/Reflection/ModuleTests.cs
+0 −181 src/System.Runtime/tests/System/Reflection/ParameterInfoTests.cs
+0 −85 src/System.Runtime/tests/System/Reflection/PropertyInfoTests.cs
+0 −206 src/System.Runtime/tests/System/Reflection/RuntimeReflectionExtensionsTests.cs
+0 −263 src/System.Runtime/tests/System/Reflection/TypeInfoTests.cs
+2 −2 src/System.Runtime/tests/System/Reflection/TypeTests.Get.CornerCases.cs
+4 −0 ...Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509Certificate.cs
+43 −1 src/System.Threading.Tasks/tests/CancellationTokenTests.cs
+4 −0 src/System.Threading/tests/ThreadLocalTests.cs
14 changes: 1 addition & 13 deletions mcs/build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ thisdir = build
SUBDIRS =
include ../build/rules.make

BUILT_FILES = common/Consts.cs common/MonoNativeConfig.cs
BUILT_FILES = common/Consts.cs

all-local install-local test-local run-test-local csproj-local run-test-ondotnet-local uninstall-local doc-update-local: $(BUILT_FILES)
@:
Expand All @@ -15,18 +15,6 @@ common/Consts.cs: common/Consts.cs.in $(wildcard config.make)
test -n '$(MONO_CORLIB_VERSION)'
sed -e 's,@''MONO_VERSION@,$(MONO_VERSION),' -e 's,@''MONO_CORLIB_VERSION@,$(MONO_CORLIB_VERSION),' $< > $@

#
# This is only used by corlib/Test/Mono/NativePlatformTest.cs, to ensure that we're using the correct native library.
# The test is disabled on all Windows platforms.
#
common/MonoNativeConfig.cs: common/MonoNativeConfig.cs.in $(wildcard config.make)
test -n '$(MONO_NATIVE_SUPPORTED)'
sed -e 's,@''MONO_NATIVE_SUPPORTED@,$(MONO_NATIVE_SUPPORTED),' \
-e 's,@''MONO_NATIVE_USING_COMPAT@,$(MONO_NATIVE_USING_COMPAT),' \
-e 's,@''MONO_NATIVE_PLATFORM_TYPE@,$(MONO_NATIVE_PLATFORM_TYPE),' \
-e 's,@''MONO_NATIVE_PLATFORM@,$(MONO_NATIVE_PLATFORM),' \
$< > $@

PLATFORMS = macos linux win32 unix
PROFILES = \
basic \
Expand Down
1 change: 0 additions & 1 deletion mcs/build/common/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/Consts.cs
/MonoNativeConfig.cs
10 changes: 0 additions & 10 deletions mcs/build/common/MonoNativeConfig.cs.in

This file was deleted.

2 changes: 1 addition & 1 deletion mcs/class/System/Test/System.Net/HttpWebRequestTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
using System.Text;
using System.Threading;
using System.Reflection;
using Mono.Security.Authenticode;
// using Mono.Security.Authenticode;
using System.Runtime.ExceptionServices;

using MonoTests.Helpers;
Expand Down
2 changes: 2 additions & 0 deletions mcs/class/System/monotouch_System.dll.exclude.sources
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
corefx/Unix/Interop.cs
corefx/Unix/Interop.Read.cs
1 change: 1 addition & 0 deletions mcs/class/System/monotouch_tv_System.dll.exclude.sources
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include monotouch_System.dll.exclude.sources
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#include monotouch_System.dll.exclude.sources
#include common_networking.sources
#include appletls.sources
27 changes: 27 additions & 0 deletions mcs/class/corlib/Mono/MonoNativePlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

namespace Mono
Expand All @@ -36,5 +38,30 @@ public static MonoNativePlatformType GetPlatformType ()
{
return (MonoNativePlatformType)mono_native_get_platform_type ();
}

[MethodImpl (MethodImplOptions.InternalCall)]
extern static int IncrementInternalCounter ();

[DllImport ("System.Native")]
extern static int mono_native_is_initialized ();

[DllImport ("System.Native")]
extern static int mono_native_initialize ();

public static void Initialize ()
{
mono_native_initialize ();
}

public static bool IsInitialized ()
{
return mono_native_is_initialized () != 0;
}

internal static int TestInternalCounter ()
{
// Atomically increments internal counter, for testing purposes only.
return IncrementInternalCounter ();
}
}
}
53 changes: 43 additions & 10 deletions mcs/class/corlib/Test/Mono/NativePlatformTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using System.Runtime.InteropServices;
using System.Reflection;
using NUnit.Framework;
using Mono;

Expand All @@ -8,21 +8,54 @@ namespace MonoTests.Mono
[TestFixture]
public class NativePlatformTest
{
[TestFixtureSetUp]
public void SetUp ()
[Test]
public void PlatformType ()
{
if (!MonoNativeConfig.IsSupported)
Assert.Ignore ("Mono.Native is not supported on this platform.");
var type = MonoNativePlatform.GetPlatformType ();
Assert.That ((int)type, Is.GreaterThan (0), "platform type");
}

[Test]
public void Test ()
public void TestInitialize ()
{
var type = MonoNativePlatform.GetPlatformType ();
Assert.That ((int)type, Is.GreaterThan (0), "platform type");
MonoNativePlatform.Initialize ();
var initialized = MonoNativePlatform.IsInitialized ();
Assert.IsTrue (initialized, "MonoNativePlatform.IsInitialized()");
}

[Test]
public void TestReflectionInitialize ()
{
var asm = typeof (string).Assembly;
var type = asm.GetType ("Mono.MonoNativePlatform");
Assert.IsNotNull (type, "MonoNativePlatform");

var method = type.GetMethod ("Initialize", BindingFlags.Static | BindingFlags.Public);
Assert.IsNotNull (method, "MonoNativePlatform.Initialize");

var method2 = type.GetMethod ("IsInitialized", BindingFlags.Static | BindingFlags.Public);
Assert.IsNotNull (method2, "MonoNativePlatform.IsInitialized");

method.Invoke (null, null);

var result = (bool)method2.Invoke (null, null);
Assert.IsTrue (result, "MonoNativePlatform.IsInitialized()");
}

[Test]
public void TestInternalCounter ()
{
MonoNativePlatform.Initialize ();

var asm = typeof (string).Assembly;
var type = asm.GetType ("Mono.MonoNativePlatform");
Assert.IsNotNull (type, "MonoNativePlatform");

var method = type.GetMethod ("TestInternalCounter", BindingFlags.Static | BindingFlags.NonPublic);
Assert.IsNotNull (method, "MonoNativePlatform.TestInternalCounter");
var result = method.Invoke (null, null);

var usingCompat = (type & MonoNativePlatformType.MONO_NATIVE_PLATFORM_TYPE_COMPAT) != 0;
Assert.AreEqual (MonoNativeConfig.UsingCompat, usingCompat, "using compatibility layer");
Assert.That (result, Is.GreaterThan (0), "MonoNativePlatform.TestInternalCounter()");
}
}
}
4 changes: 3 additions & 1 deletion mcs/class/corlib/Test/System.Text/UTF8EncodingTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

using AssertType = NUnit.Framework.Assert;

using MonoTests.Helpers;
// using MonoTests.Helpers;

namespace MonoTests.System.Text
{
Expand Down Expand Up @@ -1041,6 +1041,7 @@ public void FallbackDefaultEncodingUTF8 ()
AssertType.AreEqual ('\uFFFD', b.GetNextChar (), "#4");
}

#if FIXME
[Test]
[Category ("MobileNotWorking")]
public void Bug415628 ()
Expand All @@ -1051,6 +1052,7 @@ public void Bug415628 ()
Encoding.UTF8.GetString(buf);
}
}
#endif

[Test]
[ExpectedException (typeof (ArgumentException))]
Expand Down
2 changes: 2 additions & 0 deletions mcs/class/corlib/corlib.dll.sources
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Mono/CertificateImportFlags.cs
Mono/DependencyInjector.cs
Mono/ISystemCertificateProvider.cs
Mono/ISystemDependencyProvider.cs
Mono/MonoNativePlatform.cs
Mono/MonoNativePlatformType.cs
Mono/Runtime.cs
Mono/RuntimeHandles.cs
Mono/RuntimeMarshal.cs
Expand Down
1 change: 0 additions & 1 deletion mcs/class/corlib/corlib_test.dll.sources
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Microsoft.Win32/RegistryKeyTest.cs
../../../build/common/MonoNativeConfig.cs
Mono/DataConvertTest.cs
../Mono/DataConverter.cs
Mono/NativePlatformTest.cs
Expand Down
2 changes: 0 additions & 2 deletions mcs/class/corlib/monotouch_corlib.dll.sources
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ CommonCrypto/RijndaelManaged.cs
CommonCrypto/RNGCryptoServiceProvider.cryptor.cs
CommonCrypto/RC4CommonCrypto.cs
CoreFoundation/CFHelpers.cs
Mono/MonoNativePlatform.cs
Mono/MonoNativePlatformType.cs
System.Text/EncodingHelper.MonoTouch.cs
System/Environment.iOS.cs
System/Guid.MonoTouch.cs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
../../../build/common/MonoNativeConfig.cs
Mono/NativePlatformTest.cs
../Mono/MonoNativePlatform.cs
../Mono/MonoNativePlatformType.cs
Expand Down
3 changes: 0 additions & 3 deletions mcs/class/corlib/unix_net_4_x_corlib.dll.sources
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#include net_4_x_corlib.dll.sources

Mono/MonoNativePlatform.cs
Mono/MonoNativePlatformType.cs

../../../external/corefx/src/Common/src/CoreLib/Interop/Unix/System.Native/Interop.GetRandomBytes.cs
../../../external/corefx/src/Common/src/CoreLib/Interop/Unix/Interop.Libraries.cs
6 changes: 3 additions & 3 deletions mono/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ native_dirs = native
endif

if CROSS_COMPILING
SUBDIRS = $(btls_dirs) $(native_dirs) eglib arch utils cil $(sgen_dirs) metadata mini dis profiler
SUBDIRS = $(btls_dirs) eglib arch utils cil $(sgen_dirs) metadata mini dis profiler $(native_dirs)
else
if INSTALL_MONOTOUCH
SUBDIRS = $(btls_dirs) $(native_dirs) eglib arch utils $(sgen_dirs) metadata mini profiler
SUBDIRS = $(btls_dirs) eglib arch utils $(sgen_dirs) metadata mini profiler $(native_dirs)

monotouch-do-build:
@list='$(SUBDIRS)'; for subdir in $$list; do \
Expand All @@ -40,7 +40,7 @@ monotouch-do-clean:
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
done;
else
SUBDIRS = $(btls_dirs) $(native_dirs) eglib arch utils cil $(sgen_dirs) metadata mini dis tests unit-tests benchmark profiler
SUBDIRS = $(btls_dirs) eglib arch utils cil $(sgen_dirs) metadata mini dis tests unit-tests benchmark profiler $(native_dirs)
endif
endif
DIST_SUBDIRS = btls native eglib arch utils cil $(sgen_dirs) metadata mini dis tests unit-tests benchmark profiler
30 changes: 18 additions & 12 deletions mono/native/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,17 @@ common_sources = \

macos_sources = $(unix_sources)

ios_sources =
ios_sources = \
pal-icalls.h \
pal-icalls.c \
../../external/corefx/src/Native/Unix/System.Native/pal_io.c \
../../external/corefx/src/Native/Unix/System.Native/pal_io.h \
../../external/corefx/src/Native/Unix/System.Native/pal_networking.c \
../../external/corefx/src/Native/Unix/System.Native/pal_networking.h \
../../external/corefx/src/Native/Unix/System.Native/pal_tcpstate.c \
../../external/corefx/src/Native/Unix/System.Native/pal_tcpstate.h \
../../external/corefx/src/Native/Unix/System.Native/pal_random.c \
../../external/corefx/src/Native/Unix/System.Native/pal_random.h

linux_sources = $(unix_sources)

Expand All @@ -58,24 +68,19 @@ gss_sources = \

if ENABLE_GSS
macos_sources += $(gss_sources)

ios_sources += $(gss_sources)
endif

EXTRA_libmono_native_la_SOURCES = $(common_sources) $(macos_sources) $(ios_sources) $(linux_sources) $(unix_sources) $(gss_sources)

if MONO_NATIVE_PLATFORM_MACOS
if MONO_NATIVE_COMPAT
BCL_PROFILE = xammac
else
BCL_PROFILE = net_4_x
endif
platform_sources = $(macos_sources)
else
if MONO_NATIVE_PLATFORM_IOS
BCL_PROFILE = monotouch
platform_sources = $(ios_sources)
else
if MONO_NATIVE_PLATFORM_LINUX
BCL_PROFILE = net_4_x
platform_sources = $(linux_sources)
endif
endif
Expand All @@ -92,21 +97,22 @@ libmono_native_la_CFLAGS = $(MONO_NATIVE_CFLAGS) $(common_cflags)

libmono_native_la_LDFLAGS = $(MONO_NATIVE_LDFLAGS)

libmono_native_la_LIBADD = $(MONO_NATIVE_LIBADD)

libmono_native_compat_la_SOURCES = $(common_sources) $(platform_sources) platform-type-compat.c

libmono_native_compat_la_CFLAGS = $(MONO_NATIVE_COMPAT_CFLAGS) $(common_cflags)

libmono_native_compat_la_LDFLAGS = $(MONO_NATIVE_COMPAT_LDFLAGS)

libmono_native_compat_la_LIBADD = $(MONO_NATIVE_LIBADD)

libmono_native_unified_la_SOURCES = $(common_sources) $(platform_sources) platform-type-unified.c

libmono_native_unified_la_CFLAGS = $(MONO_NATIVE_UNIFIED_CFLAGS) $(common_cflags)

libmono_native_unified_la_LDFLAGS = $(MONO_NATIVE_UNIFIED_LDFLAGS)

MONO = ../../runtime/mono-wrapper
BCL_BUILD_DIR = ../../mcs/class
BCL_OUTPUT_DIR = $(BCL_BUILD_DIR)/lib/$(BCL_PROFILE)
libmono_native_unified_la_LIBADD = $(MONO_NATIVE_LIBADD)

bcs_libs = mscorlib.dll System.dll

Loading

0 comments on commit c4202ba

Please sign in to comment.