You've already forked linux-packaging-mono
Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
@@ -23,25 +23,33 @@ TEST_MCS_FLAGS = -r:System.Drawing.dll -r:Mono.Security.dll -r:System.Data -r:Sy
|
||||
$(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
|
||||
PROFILE_ANY_MOBILE := $(filter monotouch monotouch_runtime monotouch_watch monodroid xammac mobile mobile_static, $(PROFILE))
|
||||
|
||||
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
|
||||
|
||||
RESOURCE_STRINGS = ../../../external/referencesource/System/System.txt
|
||||
|
||||
ifeq (2.1, $(FRAMEWORK_VERSION))
|
||||
LIB_MCS_FLAGS += -d:INSIDE_SYSTEM
|
||||
endif
|
||||
ifeq (monotouch, $(subst _runtime,,$(PROFILE)))
|
||||
LIB_MCS_FLAGS += -d:SECURITY_DEP
|
||||
endif
|
||||
ifeq (monotouch_watch, $(PROFILE))
|
||||
LIB_MCS_FLAGS += -d:SECURITY_DEP
|
||||
endif
|
||||
ifeq (monodroid, $(PROFILE))
|
||||
LIB_MCS_FLAGS += -d:SECURITY_DEP
|
||||
endif
|
||||
ifndef PROFILE_ANY_MOBILE
|
||||
#
|
||||
# MOBILE_PROFILE needs SECURITY_DEP
|
||||
#
|
||||
ifdef MOBILE_PROFILE
|
||||
LIB_MCS_FLAGS += -d:INSIDE_SYSTEM -d:SECURITY_DEP
|
||||
else
|
||||
EXTERN_ALIAS_FLAGS = -d:MONO_SECURITY_ALIAS -d:MONO_X509_ALIAS
|
||||
FINAL_MCS_FLAGS = -r:System.Configuration.dll -d:CONFIGURATION_DEP
|
||||
endif
|
||||
|
||||
@@ -51,7 +59,7 @@ endif
|
||||
ifeq (secxml/, $(intermediate))
|
||||
LOCAL_MCS_FLAGS = -lib:$(bare_libdir)
|
||||
LIB_REFS += System.Xml MonoSecurity=Mono.Security
|
||||
LIB_MCS_FLAGS += -d:SECURITY_DEP -d:XML_DEP -r:PrebuiltSystem=$(bare_libdir)/System.dll
|
||||
LIB_MCS_FLAGS += -d:SECURITY_DEP -d:XML_DEP -r:PrebuiltSystem=$(bare_libdir)/System.dll $(EXTERN_ALIAS_FLAGS)
|
||||
endif
|
||||
|
||||
#
|
||||
@@ -59,7 +67,7 @@ endif
|
||||
#
|
||||
ifndef intermediate
|
||||
LIB_REFS += System.Xml MonoSecurity=Mono.Security
|
||||
LIB_MCS_FLAGS += -d:SECURITY_DEP -d:XML_DEP -r:PrebuiltSystem=$(secxml_libdir)/System.dll $(FINAL_MCS_FLAGS)
|
||||
LIB_MCS_FLAGS += -d:SECURITY_DEP -d:XML_DEP -r:PrebuiltSystem=$(secxml_libdir)/System.dll $(EXTERN_ALIAS_FLAGS) $(FINAL_MCS_FLAGS)
|
||||
endif
|
||||
|
||||
EXTRA_DISTFILES = \
|
||||
@@ -80,7 +88,7 @@ system_library_deps := \
|
||||
$(the_libdir_base)Mono.Security.dll \
|
||||
$(bare_libdir)/System.dll
|
||||
|
||||
ifndef PROFILE_ANY_MOBILE
|
||||
ifndef MOBILE_PROFILE
|
||||
system_library_deps += $(the_libdir_base)System.Configuration.dll
|
||||
endif
|
||||
|
||||
@@ -91,7 +99,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:
|
||||
@@ -113,7 +121,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:
|
||||
|
Reference in New Issue
Block a user