Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2018-02-05 17:51:40 +0300
committerMarek Safar <marek.safar@gmail.com>2018-02-09 07:49:44 +0300
commit71ad99f7206dd8c7e5234e22cc14138e2ed42b24 (patch)
tree0a5cebd6b1d02ece926aff773a7103f63fe12a6f /mcs/class/System.XML
parentb3d60257e57a700a61d23175ba4cb70d9c1f0f62 (diff)
[build] Narrow recursive dependencies
Diffstat (limited to 'mcs/class/System.XML')
-rw-r--r--mcs/class/System.XML/Makefile55
1 files changed, 3 insertions, 52 deletions
diff --git a/mcs/class/System.XML/Makefile b/mcs/class/System.XML/Makefile
index 59a3bae4024..3031c13c3cb 100644
--- a/mcs/class/System.XML/Makefile
+++ b/mcs/class/System.XML/Makefile
@@ -4,15 +4,6 @@ include ../../build/rules.make
LIBRARY = System.Xml.dll
-lib_file := $(wildcard ../lib/$(PROFILE)/System.Xml.dll)
-ifndef lib_file
-USE_BOOT_COMPILE = yes
-endif
-
-ifdef USE_BOOT_COMPILE
-LIBRARY_COMPILE = $(BOOT_COMPILE)
-endif
-
TXT_RESOURCE_STRINGS = \
../referencesource/System.Xml/System.Xml.txt \
../referencesource/System.Data.SqlXml/System.Xml.Utils.txt
@@ -28,15 +19,12 @@ TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169
LIBRARY_WARN_AS_ERROR = yes
-ifneq (bare/,$(intermediate))
-LIB_REFS += secxml/System
+LIB_REFS = System
+
ifndef MOBILE_PROFILE
-LIB_REFS += System.Configuration
+API_BIN_REFS += System.Configuration
LIB_MCS_FLAGS += -d:CONFIGURATION_DEP
endif
-else
-LIB_REFS += $(intermediate)System
-endif
nist_dom_files = \
ITest.cs readme.txt util.cs \
@@ -64,40 +52,3 @@ EXTRA_DISTFILES = \
$(nist_dom_files:%=Test/System.Xml/nist_dom/%)
include ../../build/library.make
-
-ifeq (bare/,$(intermediate))
-build-bare:
-else
-$(bare_libdir)/System.Xml.dll:
- $(MAKE) intermediate=bare/ $(bare_libdir)/System.Xml.dll
-endif
-
-system_xml_library_deps := \
- $(bare_libdir)/System.dll \
- $(bare_libdir)/System.Xml.dll
-
-ifndef MOBILE_PROFILE
-system_xml_library_deps += $(the_libdir_base)System.Configuration.dll
-endif
-
-artifacts = $(system_xml_library_deps) \
- $(the_libdir_base)System.Configuration.dll
-
-.NOTPARALLEL: $(artifacts)
-
-CLEAN_FILES = $(bare_libdir)/System.Xml.dll $(bare_libdir)/System.Xml.dll.pdb
-$(the_libdir_base)System.Xml.dll: $(system_xml_library_deps)
-$(bare_libdir)/System.dll:
- (cd ../System; $(MAKE) $@)
-$(bare_libdir)/System.Xml.dll: $(bare_libdir)/System.dll
-
-$(the_libdir_base)System.Configuration.dll:
- (cd ../System.Configuration; $(MAKE) $@)
-
-
-ifndef intermediate
-ifneq ($(PROFILE),basic)
-csproj-local:
- $(MAKE) csproj-local intermediate=bare/
-endif
-endif