Commit Graph
13 Commits
Author SHA1 Message Date
Miguel de Icaza e0e3f3cd4f [build] Staged setup for building assemblies with cyclic dependencies
This patch introduces an infrastructure to stage the builds for the core
assemblies that have cyclic dependencies.   This deals directly with
the following cycle:

    System.dll requires:
	System.Configuration.dll
	Mono.Security.dll
	System.Xml.dll

	They all require System.dll to be built

    System.Xml requires:
	System.dll
	System.Configuration.dll

    System.Security.dll requires:
	System.dll
	Mono.Security.dll
	System.Xml.dll

Principle
=========

The patch works by directing the build infrastructure to place
intermediate build steps on their own directory.  For example the
first System.dll build that only takes a dependency in mscorlib.dll is
placed not under the final directory but on a subdirectory called
"bare".

The second time that System.dll is built (after Mono.Security and
System.Xml have been built) is placed on the "secxml" directory.

The third time is the final build, and that one ends in the profile
directory.

The same principle is applied to System.Xml.

Better Dependency Tracking
==========================

To handle the multiple stages, the new Makefiles for the various
parties involved in this loop are now able to build their
dependencies.  This means that typing "make" on System.Security or
System.Xml or System will build all of the intermediate steps as
required, without needing the toplevel Makefile to perform multiple
build shots to incrementally build the result.

Bug fixes
=========

We must have regressed at some point the build of System.Xml as we
were only doing one build of it, one without System.Configuration
support.  This patch introduces back the changes to build System.Xml
in two steps.

This patch fixes the setup where we end up rebuilding System.dll and
overwriting it two times as the build progresses as a side effect
(this is what required LIBRARY_USE_INTERMEDIATE_FILE).

Details
=======

library.make:

	Introduces a new "the_libdir_base" which is the raw directory
	where the final output will go.   This points to the same location
	that libdir_base previously pointed to.

	The existing libdir_base is modified to contain an optional
	"intermediate" directory, where intermediate builds can be
	placed.

Other cycles
============

The System.Design assembly was listed as having cycles, but while this
cycle exists in theory, in practice we have not implemented any of the
code that brings the cycle in System.Windows.Forms.Design's
ImageListImageEditor and chances are, we wont any time soon.
2014-05-09 11:27:53 -04:00
garyb 75cdf6f9d8 StronglyTypedResourceBuilder implementation and tests. 2012-10-10 23:20:02 +01:00
Marek Safar 9a8e03aca0 Add missing assembly references to test targets 2012-04-05 19:00:07 +01:00
Raja R Harinath 1c79419713 * Makefile ($(build_lib)): Move cyclic dependencies onto this.
svn path=/trunk/mcs/; revision=139040
2009-07-30 09:02:30 +00:00
Marek Safar 6f667408d9 Add handling of new net_4_0 profile
svn path=/trunk/mcs/; revision=135326
2009-06-03 17:46:12 +00:00
Atsushi Eno d47c11f091 2007-10-09 Atsushi Enomoto <[email protected]>
In 2.0 System.Design.dll has cyclic dep on System.Drawing.Design.dll.


svn path=/trunk/mcs/; revision=87194
2007-10-09 16:41:51 +00:00
Atsushi Eno 0c6cff22d9 2007-10-02 Atsushi Enomoto <[email protected]>
* Makefile : added -r:System.Xml.dll
	* System.Design.dll.sources : added couple more of new .NET 2.0 types.

	* DesignerDataParameter.cs, DesignerDataRelationship.cs,
	  DesignerDataSchemaClass.cs, DesignerDataStoredProcedure.cs,
	  DesignerDataTable.cs, DesignerDataTableBase.cs, DesignerDataView.cs,
	  IDataEnvironment.cs, IDesignerDataSchema.cs, QueryBuilderMode.cs:
	  new stubs and implementations.

	* TypedDataSetGenerator.cs, MethodSignatureGenerator.cs,
	  TypedDataSetGeneratorException.cs, ParameterGenerationOption.cs,
	  TypedDataSetSchemaImporterExtension.cs :
	  new stubs and implementations.

	* StronglyTypedResourceBuilder.cs : new stub.


svn path=/trunk/mcs/; revision=86734
2007-10-02 07:29:48 +00:00
Atsushi Eno 705e17a400 2007-09-28 Atsushi Enomoto <[email protected]>
* Makefile : removed NO_TEST.
	* System.Design.dll.sources : added DesignerActionService.cs,
	  ComponentActionsType.cs, DesignerActionListsChangedType.cs,
	  DesignerActionListsChangedEventArgs.cs and
	  DesignerActionListsChangedEventHandler.cs.
	* System.Design_test.dll.sources : new.

	* DesignerActionService.cs : new stub.
	* ComponentActionsType.cs,
	  DesignerActionListsChangedType.cs,
	  DesignerActionListsChangedEventArgs.cs,
	  DesignerActionListsChangedEventHandler.cs : new implementations.
	* DesignerActionListCollection.cs : [ComVisible].
	* DesignerActionItem.cs,
	  DesignerActionMethodItem.cs,
	  DesignerActionPropertyItem.cs,
	  DesignerActionTextItem.cs : fixed protected .ctor() and made
	  base fields private. Properties is implemented.

	* DesignerActionListsChangedEventArgsTest.cs,
	  DesignerActionMethodItemTest.cs,
	  DesignerActionPropertyItemTest.cs : new tests.


svn path=/trunk/mcs/; revision=86554
2007-09-28 08:42:30 +00:00
Chris Toshok 9fd17cf8a2 2006-01-22 Chris Toshok <[email protected]>
* System.Design.dll.sources: add in all the stubbed/partially
	implemented stuff.

	* Makefile (LIB_MCS_FLAGS): in the 2.0 case include a reference to
	System.Configuration.dll.


svn path=/trunk/mcs/; revision=55905
2006-01-22 18:02:04 +00:00
Miguel de Icaza b0f15ee596 Bring a wave of decency to these Makefiles
svn path=/trunk/mcs/; revision=47762
2005-07-27 17:44:56 +00:00
Gert Driesen 40766886ac * Makefile: added reference to System.Data assembly
* System.Design.dll.sources: added new stubbed classes

svn path=/trunk/mcs/; revision=29293
2004-06-11 09:16:27 +00:00
Gert Driesen 48cbabfa38 * Makefile: add reference to Accessibility assembly, needed
to check CLS compliance
* Assembly/AssemblyInfo.cs: System.Design is CLS Compliant

svn path=/trunk/mcs/; revision=27448
2004-05-15 14:18:01 +00:00
Gonzalo Paniagua Javier 3f761fefe4 New build system from Peter Williams ([email protected])
svn path=/trunk/mcs/; revision=16195
2003-07-14 11:38:40 +00:00