X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem%2FMakefile;h=25031265acc6825dabdb97cc1350dabdce1a4215;hb=ff49850dfc18f5991246a203184fa1e0b8a7c7ab;hp=912ae83bd9dc263fd79b5c759e8d8a1352653336;hpb=0eb394dab54d177420747de0dc2cf7c47eaaeade;p=mono.git diff --git a/mcs/class/System/Makefile b/mcs/class/System/Makefile index 912ae83bd9d..25031265acc 100644 --- a/mcs/class/System/Makefile +++ b/mcs/class/System/Makefile @@ -19,25 +19,35 @@ TEST_RESOURCES = \ Test/System/test-uri-props-manual.txt \ Test/System/test-uri-relative-props.txt -TEST_MCS_FLAGS = -r:System.Drawing.dll -r:Mono.Security.dll -r:System.Data -r:System.Xml.dll -r:System.Core.dll -nowarn:618,672,219,67,169,612 \ +TEST_MCS_FLAGS = -r:System.Drawing.dll -r:Mono.Security.dll -r:System.Data.dll -r:System.Xml.dll -r:System.Core.dll -nowarn:618,672,219,67,169,612 \ $(foreach f, $(TEST_RESOURCES), -resource:$(f),$(notdir $(f))) REFERENCE_SOURCES_FLAGS = -d:FEATURE_PAL,SYSTEM_NAMESPACE,MONO,PLATFORM_UNIX +ifndef NO_PROCESS_START +REFERENCE_SOURCES_FLAGS += -d:MONO_FEATURE_PROCESS_START +TEST_MCS_FLAGS += -d:MONO_FEATURE_PROCESS_START +endif + LIB_MCS_FLAGS = -nowarn:618 -d:CONFIGURATION_2_0 $(REFERENCE_SOURCES_FLAGS) -unsafe $(RESOURCE_FILES:%=-resource:%) -TEST_MCS_FLAGS += -r:System.Configuration +TEST_MCS_FLAGS += -r:System.Configuration.dll -RESOURCE_STRINGS = ../../../external/referencesource/System/System.txt +ifndef NO_THREAD_ABORT +REFERENCE_SOURCES_FLAGS += -d:MONO_FEATURE_THREAD_ABORT +TEST_MCS_FLAGS += -d:MONO_FEATURE_THREAD_ABORT +endif + +ifndef NO_THREAD_SUSPEND_RESUME +REFERENCE_SOURCES_FLAGS += -d:MONO_FEATURE_THREAD_SUSPEND_RESUME +TEST_MCS_FLAGS += -d:MONO_FEATURE_THREAD_SUSPEND_RESUME +endif + +TXT_RESOURCE_STRINGS = ../../../external/referencesource/System/System.txt # -# MOBILE_PROFILE needs SECURITY_DEP, except for XAMMAC +# MOBILE_PROFILE needs SECURITY_DEP # ifdef MOBILE_PROFILE -ifeq ($(PROFILE),xammac) -EXTERN_ALIAS_FLAGS = -d:MONO_SECURITY_ALIAS -d:MONO_X509_ALIAS -LIB_MCS_FLAGS += -d:INSIDE_SYSTEM -else LIB_MCS_FLAGS += -d:INSIDE_SYSTEM -d:SECURITY_DEP -endif else EXTERN_ALIAS_FLAGS = -d:MONO_SECURITY_ALIAS -d:MONO_X509_ALIAS FINAL_MCS_FLAGS = -r:System.Configuration.dll -d:CONFIGURATION_DEP @@ -63,7 +73,6 @@ endif EXTRA_DISTFILES = \ Test/test-config-file \ Test/test-config-file-net-2.0 \ - Test/System.Security.Cryptography.X509Certificates/pkits/ChangeLog \ Test/System.Security.Cryptography.X509Certificates/pkits/Makefile \ Test/System.Security.Cryptography.X509Certificates/pkits/README \ Test/System.Security.Cryptography.X509Certificates/pkits/x509build.cs \ @@ -89,7 +98,7 @@ artifacts = $(system_library_deps) \ .NOTPARALLEL: $(system_library_deps) -$(the_libdir_base)System.dll: $(system_library_deps) +$(the_libdir_base)System.dll: $(system_library_deps) ../Mono.Security/Makefile ifeq (bare/,$(intermediate)) build-bare: @@ -111,7 +120,7 @@ $(the_libdir_base)System.Xml.dll: $(bare_libdir)/System.Xml.dll: (cd ../System.XML; $(MAKE) $@) -$(the_libdir_base)Mono.Security.dll: +$(the_libdir_base)Mono.Security.dll: ../Mono.Security/Makefile (cd ../Mono.Security; $(MAKE)) $(the_libdir_base)System.Configuration.dll: