3 include ..
/..
/build
/rules.make
6 LIBRARY_USE_INTERMEDIATE_FILE
= yes
8 # Because System.dll and System.Xml.dll have cyclic dependency we need two-pass build.
9 # 1st pass - build System.dll without System.Xml.dll reference
10 # 2nd pass - build System.dll with System.Xml.dll reference
12 LIB_MCS_FLAGS
= /r
:$(corlib
)
13 TEST_MCS_FLAGS
= /nowarn
:1595 /nowarn
:0618
15 CYCLIC_DEP
:= System.Xml.dll
16 CYCLIC_DEP_FILE
:= $(wildcard ..
/lib
/$(PROFILE
)/$(CYCLIC_DEP
))
19 System.Text.RegularExpressions
/notes.txt \
20 System.ComponentModel.Design
/Changelog \
23 ifdef USE_BOOT_COMPILE
24 LIBRARY_COMPILE
= $(BOOT_COMPILE
)
27 ifeq (net_2_0
,$(PROFILE
))
29 lib_file
:= $(wildcard ..
/lib
/net_2_0
/System.dll
)
31 MCS
= MONO_PATH
="$(topdir)/class/lib/net_2_0$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/net_2_0_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS
)
36 ifndef CYCLIC_DEP_FILE
37 # First pass: Build temporary System.dll without depending on System.Xml.dll
39 NO_SIGN_ASSEMBLY
= yes
40 all-local
: echo-warning
43 @echo
"** Warning: System.dll built without parts that depend on System.Xml.dll"
46 include ..
/..
/build
/library.make
49 LIB_MCS_FLAGS
+= /define:XML_DEP
/r
:$(CYCLIC_DEP
)
50 $(the_lib
): $(CYCLIC_DEP_FILE
)