# ==++==
# 
#   
#    Copyright (c) 2002 Microsoft Corporation.  All rights reserved.
#   
#    The use and distribution terms for this software are contained in the file
#    named license.txt, which can be found in the root of this distribution.
#    By using this software in any fashion, you are agreeing to be bound by the
#    terms of this license.
#   
#    You must not remove this notice, or any other, from this software.
#   
# 
# ==--==

SYNCHRONIZE_DRAIN=1
SYNCHRONIZE_BLOCK=1

!CMDSWITCHES -I

NEWCALL_TOO             = 1

NTTARGETFILE0   = prep_target

!include $(NTMAKEENV)\sources.csc

TARGETNAME      =mscorlib
TARGETLIBNAME   =$(TARGETNAME)
TARGETPATH      =$(TARGETCORLIB)\$(TARGET_DIRECTORY)\$(DDKBUILDENV)
TARGETTYPE      =DYNLINK
NO_BROWSER_FILE =1
SOURCES         =
BUILDING_MSCORLIB = 1
REQUIRES_SETUP_PHASE = 1
INCLUDE_ASSEMBLY_ATTRIBUTES=

!ifdef LINKONLY
NTTARGETFILES   = $(NTTARGETFILES) CopyManagedPdb
!endif

CSC_SOURCE_DIR  = $(CORBASE)\src\bcl
CSC_CLASS_DIR   = $(CSC_SOURCE_DIR)\$(_OBJ_DIR)\$(TARGET_DIRECTORY)
CSC_TARGET_TYPE = DYNLINK

# Base address to load mscorlib.dll
CSC_BASE         = $(TARGETNAME)

ASSEMBLY_KEY_TYPE=ECMA
SIGN_ASSEMBLY=1

# Run comreg to export a type library (.tlb)
CSC_TYPELIB_EXPORT = 1
INCLUDES=$(INCLUDES);$(NTMAKEENV)

# Include a version stamp for Windows' Explorer's version tab.
WIN32_RESOURCE_FILE = mscorlib.rc



CSC_COMPILE_FLAGS = $(CSC_COMPILE_FLAGS) /d:_NEW_CLASSLOADER /nostdlib /nowarn:679 /nowarn:169 /d:NODEFAULTLIB /test:moduleName=CommonLanguageRuntimeLibrary  /d:_USE_NLS_PLUS_TABLE /unsafe 
# In retail, ignore warnings about unused variables.
!if "$(DDKBUILDENV)" != "checked" && "$(DDKBUILDENV)" != "fastchecked"
CSC_COMPILE_FLAGS = $(CSC_COMPILE_FLAGS) /nowarn:649
!endif

CSC_COMPILE_FLAGS = $(CSC_EXTRA_PREPROCESS_FLAGS) $(CSC_COMPILE_FLAGS)


!if "$(_TGTOS)" == "NT64"
CSC_COMPILE_FLAGS = $(CSC_COMPILE_FLAGS) /d:WIN64
!else
CSC_COMPILE_FLAGS = $(CSC_COMPILE_FLAGS) /d:WIN32
!endif

CSC_SECURITY_DB = securitydb

CSC_RESOURCE_FLAGS = \
    /res:$(TARGETPATH)\mscorlib.resources,mscorlib.resources \
    /linkres:$(TARGETPATH)\ctype.nlp,ctype.nlp \
    /linkres:$(TARGETPATH)\l_intl.nlp,l_intl.nlp \
    /linkres:$(TARGETPATH)\l_except.nlp,l_except.nlp \
    /linkres:$(TARGETPATH)\culture.nlp,culture.nlp \
    /linkres:$(TARGETPATH)\region.nlp,region.nlp \
    /linkres:$(TARGETPATH)\sortkey.nlp,sortkey.nlp \
    /linkres:$(TARGETPATH)\sorttbls.nlp,sorttbls.nlp \
    /linkres:$(TARGETPATH)\charinfo.nlp,charinfo.nlp \
    /linkres:$(TARGETPATH)\big5.nlp,big5.nlp \
    /linkres:$(TARGETPATH)\bopomofo.nlp,bopomofo.nlp \
    /linkres:$(TARGETPATH)\ksc.nlp,ksc.nlp \
    /linkres:$(TARGETPATH)\prc.nlp,prc.nlp \
    /linkres:$(TARGETPATH)\prcp.nlp,prcp.nlp \
    /linkres:$(TARGETPATH)\xjis.nlp,xjis.nlp

# The first set of ~17 files are in order of the classes
# loaded at startup. Try not to change this order. Working set
# perf degrades if done so.
RUNTIME_SOURCES = \
    system\object.cs \
    system\icloneable.cs \
    system\array.cs   \
    system\icomparable.cs \
    system\string.cs   \
    system\text\stringbuilder.cs   \
    system\exception.cs \
    system\datetime.cs \
    system\systemexception.cs \
    system\outofmemoryexception.cs \
    system\stackoverflowexception.cs \
    system\executionengineexception.cs \
    system\delegate.cs  \
    system\multicastdelegate.cs  \
    system\__filters.cs \
    system\__hresults.cs \
    system\bcldebug.cs \
    system\memberaccessexception.cs   \
    system\activator.cs   \
    system\applicationexception.cs \
    system\appdomain.cs \
    system\iappdomain.cs \
    system\iappdomainsetup.cs \
    system\appdomainattributes.cs \
    system\appdomainunloadedexception.cs \
    system\argumentexception.cs \
    system\argumentnullexception.cs \
    system\argumentoutofrangeexception.cs \
    system\argiterator.cs \
    system\arithmeticexception.cs \
    system\arraytypemismatchexception.cs \
    system\asynccallback.cs \
    system\attribute.cs \
    system\attributetargets.cs \
    system\attributeusageattribute.cs \
    system\badimageformatexception.cs \
    system\bitconverter.cs \
    system\boolean.cs \
    system\buffer.cs \
    system\byte.cs   \
    system\cannotunloadappdomainexception.cs \
    system\char.cs   \
    system\charenumerator.cs \
    system\cfgparser.cs \
    system\clscompliantattribute.cs \
    system\typeunloadedexception.cs \
    system\console.cs \
    system\contextmarshalexception.cs \
    system\convert.cs \
    system\contextboundobject.cs \
    system\contextstaticattribute.cs \
    system\currency.cs \
    system\currenttimezone.cs \
    system\dayofweek.cs \
    system\dbnull.cs \
    system\decimal.cs \
    system\defaultbinder.cs \
    system\delegateserializationholder.cs \
    system\dividebyzeroexception.cs \
    system\double.cs   \
    system\duplicatewaitobjectexception.cs   \
    system\empty.cs \
    system\enum.cs \
    system\entrypointnotfoundexception.cs \
    system\dllnotfoundexception.cs \
    system\environment.cs \
    system\eventargs.cs  \
    system\eventhandler.cs  \
    system\fieldaccessexception.cs \
    system\flagsattribute.cs \
    system\formatexception.cs \
    system\gc.cs \
    system\guid.cs   \
    system\iasyncresult.cs \
    system\icustomformatter.cs \
    system\idisposable.cs \
    system\iformatprovider.cs \
    system\iformattable.cs \
    system\indexoutofrangeexception.cs \
    system\int16.cs   \
    system\int32.cs   \
    system\int64.cs   \
    system\intptr.cs   \
    system\internal.cs \
    system\invalidcastexception.cs \
    system\invalidoperationexception.cs \
    system\invalidprogramexception.cs \
    system\iconvertible.cs \
    system\iserviceobjectprovider.cs \
    system\_localdatastore.cs   \
    system\_localdatastoremgr.cs   \
    system\marshalbyrefobject.cs \
    system\math.cs   \
    system\methodaccessexception.cs \
    system\missingfieldexception.cs \
    system\missingmemberexception.cs \
    system\missingmethodexception.cs \
    system\multicastnotsupportedexception.cs  \
    system\nonserializedattribute.cs \
    system\notfinitenumberexception.cs \
    system\notimplementedexception.cs  \
    system\notsupportedexception.cs \
    system\nullreferenceexception.cs \
    system\number.cs \
    system\objectdisposedexception.cs \
    system\obsoleteattribute.cs \
    system\oleautbinder.cs \
    system\overflowexception.cs \
    system\paramarrayattribute.cs \
    system\parsenumbers.cs \
    system\platformnotsupportedexception.cs \
    system\random.cs \
    system\rankexception.cs \
    system\resid.cs \
    system\runtimeargumenthandle.cs \
    system\runtimefieldhandle.cs \
    system\runtimemethodhandle.cs \
    system\runtimetype.cs \
    system\runtimetypehandle.cs \
    system\sbyte.cs   \
    system\serializableattribute.cs \
    system\sharedstatics.cs   \
    system\single.cs   \
    system\timespan.cs \
    system\timezone.cs \
    system\type.cs \
    system\typecode.cs \
    system\typedreference.cs \
    system\typeinitializationexception.cs \
    system\typeloadexception.cs \
    system\uint16.cs \
    system\uint32.cs \
    system\uint64.cs \
    system\uintptr.cs \
    system\unauthorizedaccessexception.cs \
    system\unityserializationholder.cs \
    system\unhandledexceptioneventargs.cs  \
    system\unhandledexceptioneventhandler.cs  \
    system\valuetype.cs \
    system\variant.cs \
    system\version.cs \
    system\void.cs \
    system\weakreference.cs \

CONFIGURATION_ASSEMBLIES_SOURCES= \
    system\configuration\assemblies\assemblyhash.cs \
    system\configuration\assemblies\assemblyhashalgorithm.cs \
    system\configuration\assemblies\assemblyversioncompatibility.cs \

THREADING_SOURCES = \
	system\threading\__handleprotector.cs \
    system\threading\autoresetevent.cs \
    system\threading\interlocked.cs   \
    system\threading\iobjecthandle.cs \
    system\threading\lockcookie.cs \
    system\threading\manualresetevent.cs \
    system\threading\monitor.cs \
    system\threading\mutex.cs \
    system\threading\overlapped.cs \
    system\threading\readerwriterlock.cs \
    system\threading\synchronizationlockexception.cs \
    system\threading\thread.cs \
    system\threading\threadabortexception.cs \
    system\threading\threadinterruptedexception.cs \
    system\threading\threadpool.cs \
    system\threading\threadpriority.cs \
    system\threading\threadstart.cs \
    system\threading\threadstate.cs \
    system\threading\threadstateexception.cs \
    system\threadstaticattribute.cs \
    system\threading\threadstopexception.cs \
    system\threading\timeout.cs \
    system\threading\timer.cs \
    system\threading\waithandle.cs \


SERIALIZATION_SOURCES = \
    system\runtime\serialization\deserializationeventhandler.cs \
    system\runtime\serialization\formatter.cs \
    system\runtime\serialization\formatterconverter.cs \
    system\runtime\serialization\formatterservices.cs \
    system\runtime\serialization\ideserializationcallback.cs \
    system\runtime\serialization\iformatter.cs \
    system\runtime\serialization\iformatterconverter.cs \
    system\runtime\serialization\iobjectreference.cs \
    system\runtime\serialization\iserializable.cs \
    system\runtime\serialization\iserializationsurrogate.cs \
    system\runtime\serialization\isurrogateselector.cs \
    system\runtime\serialization\objectidgenerator.cs \
    system\runtime\serialization\objectmanager.cs \
    system\runtime\serialization\memberholder.cs \
    system\runtime\serialization\serializationbinder.cs \
    system\runtime\serialization\serializationfieldinfo.cs \
    system\runtime\serialization\serializationinfo.cs \
    system\runtime\serialization\serializationinfoenumerator.cs \
    system\runtime\serialization\serializationexception.cs \
    system\runtime\serialization\streamingcontext.cs \
    system\runtime\serialization\surrogateselector.cs \
    system\runtime\serialization\valuetypefixupinfo.cs \

COLLECTIONS_SOURCES = \
    system\collections\arraylist.cs \
    system\collections\bitarray.cs \
    system\collections\caseinsensitivecomparer.cs \
    system\collections\caseinsensitivehashcodeprovider.cs \
    system\collections\collectionbase.cs \
    system\collections\comparer.cs \
    system\collections\dictionarybase.cs \
    system\collections\dictionaryentry.cs \
    system\collections\hashtable.cs \
    system\collections\icollection.cs \
    system\collections\icomparer.cs \
    system\collections\idictionary.cs \
    system\collections\idictionaryenumerator.cs \
    system\collections\ienumerable.cs \
    system\collections\ienumerator.cs \
    system\collections\ihashcodeprovider.cs \
    system\collections\ilist.cs \
    system\collections\queue.cs \
    system\collections\readonlycollectionbase.cs \
    system\collections\sortedlist.cs \
    system\collections\stack.cs \



WIN32_SOURCES = \
    microsoft\win32\fusionwrap.cs \
    microsoft\win32\win32native.cs \

DIAGNOSTICS_SOURCES = \
    system\diagnostics\assert.cs \
    system\diagnostics\assertfilter.cs \
    system\diagnostics\assertfilters.cs \
    system\diagnostics\conditionalattribute.cs \
    system\diagnostics\debugger.cs \
    system\diagnostics\debuggerattributes.cs \
    system\diagnostics\log.cs \
    system\diagnostics\logginglevels.cs \
    system\diagnostics\logswitch.cs \
    system\diagnostics\stacktrace.cs \
    system\diagnostics\stackframe.cs \

DIAGNOSTICS_SYMBOLSTORE_SOURCES = \
    system\diagnostics\symbolstore\isymbinder.cs \
    system\diagnostics\symbolstore\isymdocument.cs \
    system\diagnostics\symbolstore\isymdocumentwriter.cs \
    system\diagnostics\symbolstore\isymmethod.cs \
    system\diagnostics\symbolstore\isymnamespace.cs \
    system\diagnostics\symbolstore\isymreader.cs \
    system\diagnostics\symbolstore\isymscope.cs \
    system\diagnostics\symbolstore\isymvariable.cs \
    system\diagnostics\symbolstore\isymwriter.cs \
    system\diagnostics\symbolstore\symaddresskind.cs \
    system\diagnostics\symbolstore\symdocumenttype.cs \
    system\diagnostics\symbolstore\symlanguagetype.cs \
    system\diagnostics\symbolstore\symlanguagevendor.cs \
    system\diagnostics\symbolstore\token.cs \

PERMISSIONS_SOURCES = \
    system\security\permissions\environmentpermission.cs \
    system\security\permissions\filedialogpermission.cs \
    system\security\permissions\fileiopermission.cs \
    system\security\permissions\ibuiltinpermission.cs \
    system\security\permissions\isolatedstoragepermission.cs \
    system\security\permissions\isolatedstoragefilepermission.cs \
    system\security\permissions\permissionstate.cs \
    system\security\permissions\permissionattributes.cs \
    system\security\permissions\reflectionpermission.cs \
    system\security\permissions\principalpermission.cs \
    system\security\permissions\securitypermission.cs \
    system\security\permissions\siteidentitypermission.cs \
    system\security\permissions\strongnameidentitypermission.cs \
    system\security\permissions\strongnamepublickeyblob.cs \
    system\security\permissions\uipermission.cs \
    system\security\permissions\urlidentitypermission.cs \
    system\security\permissions\zoneidentitypermission.cs \
    system\security\permissions\iunrestrictedpermission.cs \

SEC_UTIL_SOURCES = \
    system\security\util\config.cs \
    system\security\util\hex.cs \
    system\security\util\sitestring.cs \
    system\security\util\stringexpressionset.cs \
    system\security\util\tokenbasedset.cs \
    system\security\util\tokenbasedsetenumerator.cs \
    system\security\util\urlstring.cs \
    system\security\util\xmlutil.cs \


SECURITY_SOURCES = \
    system\security\attributes.cs \
    system\security\codeaccesspermission.cs \
    system\security\codeaccesssecurityengine.cs \
    system\security\ievidencefactory.cs \
    system\security\ipermission.cs \
    system\security\isecurityencodable.cs \
    system\security\isecuritypolicyencodable.cs \
    system\security\istackwalk.cs \
    system\security\framesecuritydescriptor.cs \
    system\security\permissionsetenumerator.cs \
    system\security\permissionlist.cs \
    system\security\permissionlistset.cs \
    system\security\permissionlistsetenumerator.cs \
    system\security\permissiontoken.cs \
    system\security\policymanager.cs \
    system\security\securityexception.cs \
    system\security\securitymanager.cs \
    system\security\securityruntime.cs \
    system\security\securityzone.cs \
    system\security\verificationexception.cs \


SECURITY_POLICY_SOURCES = \
    system\security\policy\allmembershipcondition.cs \
    system\security\policy\applicationdirectory.cs \
    system\security\policy\applicationdirectorymembershipcondition.cs \
    system\security\policy\codegroup.cs \
    system\security\policy\evidence.cs \
    system\security\policy\filecodegroup.cs \
    system\security\policy\firstmatchcodegroup.cs \
    system\security\policy\ibuiltinevidence.cs \
    system\security\policy\iidentitypermissionfactory.cs \
    system\security\policy\iconstantmembershipcondition.cs \
    system\security\policy\imembershipcondition.cs \
    system\security\policy\netcodegroup.cs \
    system\security\policy\permissionrequestevidence.cs \
    system\security\policy\policyexception.cs \
    system\security\policy\policylevel.cs \
    system\security\policy\policystatement.cs \
    system\security\policy\site.cs \
    system\security\policy\sitemembershipcondition.cs \
    system\security\policy\strongname.cs \
    system\security\policy\strongnamemembershipcondition.cs \
    system\security\policy\unioncodegroup.cs \
    system\security\policy\url.cs \
    system\security\policy\urlmembershipcondition.cs \
    system\security\policy\zone.cs \
    system\security\policy\zonemembershipcondition.cs \

SECURITY_PRINCIPAL_SOURCES = \
    system\security\principal\genericidentity.cs \
    system\security\principal\genericprincipal.cs \
    system\security\principal\iidentity.cs \
    system\security\principal\iprincipal.cs \
    system\security\principal\principalpolicy.cs \

SECURITY_SOURCES_PRE = \
    system\security\permissionset.cs \
    system\security\namedpermissionset.cs \

ISOSTORE_SOURCES = \
    system\io\isolatedstorage\isolatedstorage.cs \
    system\io\isolatedstorage\isolatedstoragefile.cs \
    system\io\isolatedstorage\isolatedstoragefilestream.cs \
    system\io\isolatedstorage\isolatedstorageexception.cs \
    system\io\isolatedstorage\inormalizeforisolatedstorage.cs \
    system\io\isolatedstorage\__hresults.cs \

XML_SOURCES = \
    system\security\securityelement.cs \
    system\security\util\parser.cs \
    system\security\util\tokenizer.cs \
    system\security\xmlsyntaxexception.cs \

REFLECTION_SOURCES = \
    system\reflection\__filters.cs \
    system\reflection\ambiguousmatchexception.cs \
    system\reflection\assembly.cs \
    system\reflection\assemblyattributes.cs \
    system\reflection\assemblyname.cs \
    system\reflection\assemblynameproxy.cs \
    system\reflection\assemblynameflags.cs \
    system\reflection\assemblyreflectionattributes.cs \
    system\reflection\customattributeformatexception.cs \
    system\reflection\binder.cs \
    system\reflection\bindingflags.cs \
    system\reflection\callingconventions.cs \
    system\reflection\customattribute.cs \
    system\reflection\constructorinfo.cs \
    system\reflection\defaultmemberattribute.cs \
    system\reflection\eventattributes.cs \
    system\reflection\eventinfo.cs \
    system\reflection\fieldattributes.cs \
    system\reflection\fieldinfo.cs \
    system\reflection\icustomattributeprovider.cs \
    system\reflection\interfacemapping.cs \
    system\reflection\invalidfiltercriteriaexception.cs \
    system\reflection\ireflect.cs \
    system\reflection\manifestresourceinfo.cs \
    system\reflection\memberfilter.cs \
    system\reflection\memberinfo.cs \
    system\reflection\memberinfoserializationholder.cs \
    system\reflection\methodbase.cs \
    system\reflection\membertypes.cs \
    system\reflection\methodattributes.cs \
    system\reflection\methodimplattributes.cs \
    system\reflection\methodinfo.cs \
    system\reflection\methodsemanticsattributes.cs \
    system\reflection\missing.cs      \
    system\reflection\module.cs \
    system\reflection\parameterinfo.cs \
    system\reflection\parameterattributes.cs \
    system\reflection\parametermodifier.cs \
    system\reflection\pointer.cs \
    system\reflection\propertyinfo.cs \
    system\reflection\propertyattributes.cs \
    system\reflection\reflectiontypeloadexception.cs \
    system\reflection\resourceattributes.cs \
    system\reflection\runtimeconstructorinfo.cs \
    system\reflection\runtimeeventinfo.cs \
    system\reflection\runtimefieldinfo.cs \
    system\reflection\runtimemethodinfo.cs \
    system\reflection\runtimepropertyinfo.cs \
    system\reflection\strongnamekeypair.cs \
    system\reflection\targetexception.cs \
    system\reflection\targetinvocationexception.cs \
    system\reflection\targetparametercountexception.cs \
    system\reflection\typeattributes.cs \
    system\reflection\typedelegator.cs \
    system\reflection\typefilter.cs \
    system\reflection\unmanagedmarshal.cs \

REFLECTION_EMIT_SOURCES = \
    system\reflection\emit\assemblybuilder.cs \
    system\reflection\emit\assemblybuilderdata.cs \
    system\reflection\emit\assemblybuilderaccess.cs \
    system\reflection\emit\constructorbuilder.cs \
    system\reflection\emit\eventbuilder.cs \
    system\reflection\emit\eventtoken.cs \
    system\reflection\emit\fieldbuilder.cs \
    system\reflection\emit\fieldtoken.cs \
    system\reflection\emit\ilgenerator.cs \
    system\reflection\emit\label.cs \
    system\reflection\emit\localbuilder.cs \
    system\reflection\emit\methodbuilder.cs \
    system\reflection\emit\symboltype.cs \
    system\reflection\emit\symbolmethod.cs \
    system\reflection\emit\customattributebuilder.cs \
    system\reflection\emit\methodrental.cs \
    system\reflection\emit\methodtoken.cs \
    system\reflection\emit\modulebuilder.cs \
    system\reflection\emit\modulebuilderdata.cs \
    system\reflection\emit\pefilekinds.cs \
    system\reflection\emit\opcodes.cs \
    system\reflection\emit\opcode.cs \
    system\reflection\emit\opcodetype.cs \
    system\reflection\emit\stackbehaviour.cs \
    system\reflection\emit\operandtype.cs \
    system\reflection\emit\flowcontrol.cs \
    system\reflection\emit\parameterbuilder.cs \
    system\reflection\emit\parametertoken.cs \
    system\reflection\emit\propertybuilder.cs \
    system\reflection\emit\propertytoken.cs \
    system\reflection\emit\signaturehelper.cs \
    system\reflection\emit\signaturetoken.cs \
    system\reflection\emit\stringtoken.cs \
    system\reflection\emit\typebuilder.cs \
    system\reflection\emit\enumbuilder.cs \
    system\reflection\emit\typetoken.cs

REFLECTION_CACHE_SOURCES = \
    system\reflection\cache\cacheobjtype.cs \
        system\reflection\cache\clearcacheeventargs.cs \
        system\reflection\cache\clearcachehandler.cs \
        system\reflection\cache\internalcache.cs \
        system\reflection\cache\internalcacheitem.cs \
        system\reflection\cache\typenamecache.cs \
        system\reflection\cache\typenamestruct.cs \

GLOBALIZATION_SOURCES = \
    system\globalization\calendar.cs          \
    system\globalization\calendartable.cs          \
    system\globalization\characterinfo.cs     \
    system\globalization\compareinfo.cs       \
    system\globalization\cultureinfo.cs       \
    system\globalization\culturetypes.cs      \
    system\globalization\datetimeformat.cs \
    system\globalization\datetimeparse.cs \
    system\globalization\datetimestyles.cs \
    system\globalization\datetimeformatinfo.cs \
    system\globalization\daylighttime.cs \
    system\globalization\defaultlcidmap.cs    \
    system\globalization\encodingdataitem.cs  \
    system\globalization\encodingtable.cs     \
    system\globalization\globalizationassembly.cs \
    system\globalization\gregoriancalendar.cs \
    system\globalization\gregoriancalendarhelper.cs     \
    system\globalization\hebrewcalendar.cs \
    system\globalization\hijricalendar.cs \
    system\globalization\japanesecalendar.cs     \
    system\globalization\juliancalendar.cs    \
    system\globalization\koreancalendar.cs    \
    system\globalization\namelcidinfo.cs      \
    system\globalization\regioninfo.cs        \
    system\globalization\sortkey.cs           \
    system\globalization\stringinfo.cs        \
    system\globalization\taiwancalendar.cs \
    system\globalization\textelementenumerator.cs \
    system\globalization\textinfo.cs          \
    system\globalization\thaibuddhistcalendar.cs    \
    system\globalization\numberformatinfo.cs \
    system\globalization\numberstyles.cs \
    system\globalization\unicodecategory.cs   \
    system\globalization\culturetable.cs      \
    system\globalization\regiontable.cs       \

TEXT_SOURCES = \
    system\text\asciiencoding.cs     \
    system\text\codepageencoding.cs  \
    system\text\decoder.cs           \
    system\text\encoder.cs           \
    system\text\encoding.cs          \
    system\text\surrogateencoder.cs  \
    system\text\unicodeencoding.cs   \
    system\text\utf7encoding.cs      \
    system\text\utf8encoding.cs      \

IO_SOURCES = \
    system\io\__debugoutputtextwriter.cs \
    system\io\__consolestream.cs \
    system\io\__error.cs \
    system\io\__hresults.cs \
    system\io\__unmanagedmemorystream.cs \
    system\io\binaryreader.cs \
    system\io\binarywriter.cs \
    system\io\bufferedstream.cs \
    system\io\directory.cs \
    system\io\directoryinfo.cs \
    system\io\directorynotfoundexception.cs \
    system\io\endofstreamexception.cs \
    system\io\file.cs \
    system\io\fileinfo.cs \
    system\io\fileaccess.cs \
    system\io\filemode.cs \
    system\io\fileloadexception.cs \
    system\io\filenotfoundexception.cs \
    system\io\fileshare.cs \
    system\io\filestream.cs \
    system\io\filesysteminfo.cs \
    system\io\fileattributes.cs \
    system\io\ioexception.cs \
    system\io\memorystream.cs \
    system\io\path.cs \
    system\io\pathtoolongexception.cs \
    system\io\seekorigin.cs \
    system\io\stream.cs \
    system\io\streamreader.cs \
    system\io\streamwriter.cs \
    system\io\stringreader.cs \
    system\io\stringwriter.cs \
    system\io\textreader.cs \
    system\io\textwriter.cs \

COMPILER_SERVICES_SOURCES = \
    system\runtime\compilerservices\accessedthroughpropertyattribute.cs \
    system\runtime\compilerservices\assemblyattributesgohere.cs \
    system\runtime\compilerservices\callingconvention.cs \
    system\runtime\compilerservices\runtimehelpers.cs \
    system\runtime\compilerservices\customconstantattribute.cs \
    system\runtime\compilerservices\datetimeconstantattribute.cs \
    system\runtime\compilerservices\discardableattribute.cs \
    system\runtime\compilerservices\decimalconstantattribute.cs \
    system\runtime\compilerservices\compilationrelaxations.cs \
    system\runtime\compilerservices\compilerglobalscopeattribute.cs \
    system\runtime\compilerservices\indexernameattribute.cs \
    system\runtime\compilerservices\isvolatile.cs \
    system\runtime\compilerservices\methodimplattribute.cs \
    system\runtime\compilerservices\requiredattributeattribute.cs \

INTEROP_SOURCES = \
    system\runtime\interopservices\arraywithoffset.cs \
    system\runtime\interopservices\attributes.cs \
    system\runtime\interopservices\callingconvention.cs \
    system\runtime\interopservices\charset.cs \
    system\runtime\interopservices\comexception.cs \
    system\runtime\interopservices\externalexception.cs \
    system\runtime\interopservices\gchandle.cs \
    system\runtime\interopservices\handleref.cs \
    system\runtime\interopservices\icustommarshaler.cs \
    system\runtime\interopservices\invalidolevarianttypeexception.cs \
    system\runtime\interopservices\layoutkind.cs \
    system\runtime\interopservices\marshal.cs \
    system\runtime\interopservices\marshaldirectiveexception.cs \
    system\runtime\interopservices\pinvokemap.cs \
    system\runtime\interopservices\runtimeenvironment.cs \
    system\runtime\interopservices\sehexception.cs \



INTEROP_EXPANDO_SOURCES = \
    system\runtime\interopservices\expando\iexpando.cs \

RESOURCES_SOURCES = \
    system\resources\__fastresourcecomparer.cs \
    system\resources\iresourcereader.cs \
    system\resources\iresourcewriter.cs \
    system\resources\missingmanifestresourceexception.cs \
    system\resources\neutralresourceslanguageattribute.cs \
    system\resources\resourcemanager.cs \
    system\resources\resourcereader.cs  \
    system\resources\resourceset.cs     \
    system\resources\resourcewriter.cs  \
    system\resources\runtimeresourceset.cs \
    system\resources\satellitecontractversionattribute.cs

REMOTING_SOURCES = \
    system\runtime\remoting\__hresults.cs \
    system\runtime\remoting\activationservices.cs \
    system\runtime\remoting\asyncresult.cs \
    system\runtime\remoting\callcontext.cs \
    system\runtime\remoting\channelservices.cs \
    system\runtime\remoting\channelsinkstacks.cs \
    system\runtime\remoting\clientsponsor.cs \
    system\runtime\remoting\configuration.cs \
    system\runtime\remoting\context.cs \
    system\runtime\remoting\contextproperty.cs \
    system\runtime\remoting\crosscontextchannel.cs \
    system\runtime\remoting\crossappdomainchannel.cs \
    system\runtime\remoting\dispatchchannelsink.cs \
    system\runtime\remoting\dynamicpropertyholder.cs \
    system\runtime\remoting\header.cs \
    system\runtime\remoting\headerhandler.cs \
    system\runtime\remoting\iactivator.cs \
    system\runtime\remoting\ichannel.cs \
    system\runtime\remoting\icontributeclientcontextsink.cs \
    system\runtime\remoting\icontributedynamicsink.cs \
    system\runtime\remoting\icontributeenvoysink.cs \
    system\runtime\remoting\icontributeobjectsink.cs \
    system\runtime\remoting\icontributeservercontextsink.cs \
    system\runtime\remoting\idynamicmessagesink.cs \
    system\runtime\remoting\identity.cs \
    system\runtime\remoting\identityholder.cs \
    system\runtime\remoting\iinternalmessage.cs \
    system\runtime\remoting\ilease.cs \
    system\runtime\remoting\isponsor.cs \
    system\runtime\remoting\imessage.cs \
    system\runtime\remoting\imessagectrl.cs \
    system\runtime\remoting\imessagesink.cs \
    system\runtime\remoting\imethodmessage.cs \
    system\runtime\remoting\iremotingformatter.cs \
    system\runtime\remoting\lease.cs \
    system\runtime\remoting\leasemanager.cs \
    system\runtime\remoting\leasestate.cs \
    system\runtime\remoting\lifetimeservices.cs \
    system\runtime\remoting\message.cs \
    system\runtime\remoting\messagesmuggler.cs \
    system\runtime\remoting\objecthandle.cs \
    system\runtime\remoting\objref.cs \
    system\runtime\remoting\onewayattribute.cs \
    system\runtime\remoting\proxyattribute.cs \
    system\runtime\remoting\realproxy.cs \
    system\runtime\remoting\redirectionproxy.cs \
    system\runtime\remoting\remotingattributes.cs \
    system\runtime\remoting\remotingconfigparser.cs \
    system\runtime\remoting\remotingconfiguration.cs \
    system\runtime\remoting\remotingexception.cs \
    system\runtime\remoting\remotingproxy.cs \
    system\runtime\remoting\remotingservices.cs \
    system\runtime\remoting\remotingsurrogateselector.cs \
    system\runtime\remoting\serveridentity.cs \
    system\runtime\remoting\soap.cs \
    system\runtime\remoting\soapinteroptypes.cs \
    system\runtime\remoting\stackbuildersink.cs \
    system\runtime\remoting\synchronizeddispatch.cs \
    system\runtime\remoting\__transparentproxy.cs \
    system\runtime\remoting\terminatorsinks.cs \
    system\runtime\remoting\trackingservices.cs \
    system\runtime\remoting\urlattribute.cs


SERIALIZATION_FORMATTERS_SOURCES = \
    system\runtime\serialization\formatters\commonenums.cs \
    system\runtime\serialization\formatters\isoapmessage.cs \
    system\runtime\serialization\formatters\ifieldinfo.cs \
    system\runtime\serialization\formatters\sertrace.cs \
    system\runtime\serialization\formatters\soapmessage.cs \
    system\runtime\serialization\formatters\soapfault.cs

SERIALIZATION_FORMATTERS_BINARY_SOURCES = \
    system\runtime\serialization\formatters\binary\binaryenums.cs \
    system\runtime\serialization\formatters\binary\binaryformatter.cs \
    system\runtime\serialization\formatters\binary\binaryparser.cs \
    system\runtime\serialization\formatters\binary\binaryformatterwriter.cs \
    system\runtime\serialization\formatters\binary\binarycommonclasses.cs \
    system\runtime\serialization\formatters\binary\binaryutilclasses.cs \
    system\runtime\serialization\formatters\binary\binaryobjectreader.cs \
    system\runtime\serialization\formatters\binary\binaryobjectwriter.cs \
    system\runtime\serialization\formatters\binary\binaryconverter.cs \
    system\runtime\serialization\formatters\binary\binaryobjectinfo.cs \
    system\runtime\serialization\formatters\binary\binarymethodmessage.cs


CSC_SOURCES  =    \
     $(RUNTIME_SOURCES)       \
     $(THREADING_SOURCES)  \
     $(COLLECTIONS_SOURCES)   \
     $(DIAGNOSTICS_SOURCES)   \
     $(DIAGNOSTICS_SYMBOLSTORE_SOURCES)   \
     $(REFLECTION_SOURCES)    \
     $(SERIALIZATION_SOURCES) \
     $(GLOBALIZATION_SOURCES) \
     $(TEXT_SOURCES) \
     $(RESOURCES_SOURCES) \
     $(WIN32_SOURCES) \
     $(SEC_UTIL_SOURCES) \
     $(SECURITY_POLICY_SOURCES) \
     $(SECURITY_PRINCIPAL_SOURCES) \
     $(STREAM_SOURCES) \
     $(COMPILERSERVICES_SOURCES) \
     $(INTEROP_SOURCES) \
     $(INTEROP_EXPANDO_SOURCES) \
     $(IO_SOURCES) \
     $(COMPILER_SERVICES_SOURCES) \
     $(COMPILER_SERVICES_CSHARP_SOURCES) \
     $(SECURITY_SOURCES_PRE) \
     $(XML_SOURCES) \
     $(PERMISSIONS_SOURCES) \
     $(SECURITY_SOURCES) \
     $(REMOTING_SOURCES) \
     $(ISOSTORE_SOURCES) \
     $(SERIALIZATION_FORMATTERS_SOURCES) \
     $(SERIALIZATION_FORMATTERS_BINARY_SOURCES) \
     $(REFLECTION_EMIT_SOURCES) \
     $(REFLECTION_CACHE_SOURCES) \
     $(CONFIGURATION_ASSEMBLIES_SOURCES) \

