3 include ..
/..
/build
/rules.make
4 export __SECURITY_BOOTSTRAP_DB
=$(topdir
)/class
/corlib
7 LIBRARY_NAME
= mscorlib.dll
8 LIB_MCS_FLAGS
= $(corlib_flags
) $(RESOURCE_FILES
:%=-resource
:%)
9 LIBRARY_USE_INTERMEDIATE_FILE
= yes
11 LIBRARY_COMPILE
= $(BOOT_COMPILE
)
12 LIBRARY_INSTALL_DIR
= $(mono_libdir
)/mono
/$(FRAMEWORK_VERSION
)
14 AOT_IN_PROFILES
= net_2_0 net_4_0
17 resources
/collation.core.bin \
18 resources
/collation.tailoring.bin \
19 resources
/collation.cjkCHS.bin \
20 resources
/collation.cjkCHT.bin \
21 resources
/collation.cjkJA.bin \
22 resources
/collation.cjkKO.bin \
23 resources
/collation.cjkKOlv2.bin
25 corlib_flags
= -unsafe
-nostdlib
26 LOCAL_MCS_FLAGS
= -nowarn
:612,618 -d
:INSIDE_CORLIB
-d
:LIBC
28 # System.IO/DirectoryInfoTest.cs needs Mono.Posix
29 TEST_MCS_FLAGS
= -debug
+ -debug
:full
-nowarn
:168,219,618,672 -unsafe
-r
:$(topdir
)/class
/lib
/$(PROFILE
)/Mono.Posix.dll
-define:MONO_DATACONVERTER_STATIC_METHODS
33 Test
/resources
/MyResources.resources \
34 Test
/resources
/MyResources.de.resources \
35 Test
/resources
/Empty.resources \
36 Test
/resources
/AFile.txt \
37 Test
/resources
/StreamTest.resources \
38 Test
/resources
/StreamTest.ja.resources \
39 Test
/resources
/bug81759.resources \
40 Test
/resources
/415628.bin \
41 Test
/resources
/Fergie.GED \
44 include $(topdir
)/build
/library.make
46 ifdef FIXME_CORLIB_CMP
48 cmplib
= $(topdir
)/class
/lib
/$(PROFILE
)/corlib_cmp.dll
49 cmppdb
= $(cmplib
:.dll
=.pdb
)
50 cmp_response
= $(depsdir
)/$(PROFILE
)_corlib_cmp.dll.response
51 cmp_makefrag
= $(depsdir
)/$(PROFILE
)_corlib_cmp.dll.makefrag
52 cmp_flags
= -r
:$(PLATFORM_CORLIB
) $(corlib_flags
)
54 EXTRA_DISTFILES
+= corlib_cmp.dll.excludes
55 CLEAN_FILES
+= $(cmplib
) $(cmp_response
) $(cmp_makefrag
) $(cmppdb
)
57 $(cmplib
): $(cmp_makefrag
) $(cmp_response
)
58 $(BOOT_COMPILE
) $(LIBRARY_FLAGS
) $(cmp_flags
) -target
:library
-out
:$@ @
$(cmp_response
)
60 $(cmp_response
): $(sourcefile
) corlib_cmp.dll.excludes
62 @
sort $(sourcefile
) corlib_cmp.dll.excludes | uniq
-u |
$(PLATFORM_CHANGE_SEPARATOR_CMD
) >$@
64 $(cmp_makefrag
): $(cmp_response
)
66 @sed
's,^,$(cmplib): ,' $< >$@
68 # Since we make corlib_cmp on demand, there isn't a real need
69 # to have full dep tracking for it. Also, the generation of this
70 # file is busted on Win32 ('sort' seems to mess up line endings),
71 # leading to a broken build.
73 # -include $(cmp_makefrag)
75 $(cmp_response
) $(cmp_makefrag
): Makefile
$(depsdir
)/.stamp