1 assembly = System.Windows.Controls.Data
3 if INCLUDE_BROWSER_MANAGED_CODE
4 assemblysl = ../lib/2.1/$(assembly).dll
7 if INCLUDE_DESKTOP_MANAGED_CODE
8 assemblydesktop = ../lib/moonlight/$(assembly).dll
11 assemblies = $(assemblysl) $(assemblydesktop)
13 noinst_DATA = $(assemblies)
15 CSCFLAGS = /codepage:65001 -d:NET_1_1 -d:NET_2_0 -debug+ -noconfig -r:System -r:System.Core -r:System.Windows -d:AGCLR -unsafe
17 GMCS = gmcs $(CSCFLAGS) -lib:../lib/moonlight
18 SMCS = MONO_PATH="../lib/2.1:$$MONO_PATH" mono --runtime=moonlight --security=temporary-smcs-hack ../lib/2.1/smcs.exe $(CSCFLAGS)
19 GACUTIL = gacutil /gacdir $(DESTDIR)$(prefix)/lib /root $(DESTDIR)$(prefix)/lib
20 monoloc = `pkg-config --variable=libdir mono`/mono/moonlight
22 MSSDKCONTROLS=$(srcdir)/../Microsoft.SilverlightControls/SDKControls/Data/src
24 system_windows_controls_data_sources = \
25 $(srcdir)/../System.Windows/Assembly/MonoTODOAttribute.cs \
26 $(srcdir)/../Consts.cs \
27 $(MSSDKCONTROLS)/Extensions.cs \
28 $(MSSDKCONTROLS)/DoubleUtil.cs \
29 $(MSSDKCONTROLS)/Resource.Designer.cs \
30 $(MSSDKCONTROLS)/VisualStates.cs \
31 $(MSSDKCONTROLS)/Properties/AssemblyInfo.cs \
32 $(MSSDKCONTROLS)/CollectionView/CollectionViewError.cs \
33 $(MSSDKCONTROLS)/CollectionView/CurrentChangingEventArgs.cs \
34 $(MSSDKCONTROLS)/CollectionView/GroupDescription.cs \
35 $(MSSDKCONTROLS)/CollectionView/ICollectionView.cs \
36 $(MSSDKCONTROLS)/CollectionView/ListCollectionView.cs \
37 $(MSSDKCONTROLS)/CollectionView/ReadOnlyObservableCollection.cs \
38 $(MSSDKCONTROLS)/CollectionView/SortDescriptionCollection.cs \
39 $(MSSDKCONTROLS)/CollectionView/SortDescription.cs \
40 $(MSSDKCONTROLS)/CollectionView/SortFieldComparer.cs \
41 $(MSSDKCONTROLS)/DataGrid/DataGridAutoGeneratingColumnEventArgs.cs \
42 $(MSSDKCONTROLS)/DataGrid/DataGridBeginningEditEventArgs.cs \
43 $(MSSDKCONTROLS)/DataGrid/DataGridBoundColumn.cs \
44 $(MSSDKCONTROLS)/DataGrid/DataGridCellCollection.cs \
45 $(MSSDKCONTROLS)/DataGrid/DataGridCellCoordinates.cs \
46 $(MSSDKCONTROLS)/DataGrid/DataGridCell.cs \
47 $(MSSDKCONTROLS)/DataGrid/DataGridCellEventArgs.cs \
48 $(MSSDKCONTROLS)/DataGrid/DataGridCellsPresenter.cs \
49 $(MSSDKCONTROLS)/DataGrid/DataGridCheckBoxColumn.cs \
50 $(MSSDKCONTROLS)/DataGrid/DataGridColumnCollection.cs \
51 $(MSSDKCONTROLS)/DataGrid/DataGridColumn.cs \
52 $(MSSDKCONTROLS)/DataGrid/DataGridColumnEventArgs.cs \
53 $(MSSDKCONTROLS)/DataGrid/DataGridColumnHeadersPresenter.cs \
54 $(MSSDKCONTROLS)/DataGrid/DataGridColumnHeader.xaml.cs \
55 $(MSSDKCONTROLS)/DataGrid/DataGridColumnReorderingEventArgs.cs \
56 $(MSSDKCONTROLS)/DataGrid/DataGridColumns.cs \
57 $(MSSDKCONTROLS)/DataGrid/DataGridDataConnection.cs \
58 $(MSSDKCONTROLS)/DataGrid/DataGridDetailsPresenter.cs \
59 $(MSSDKCONTROLS)/DataGrid/DataGridDisplayData.cs \
60 $(MSSDKCONTROLS)/DataGrid/DataGridEndingEditEventArgs.cs \
61 $(MSSDKCONTROLS)/DataGrid/DataGridEnumerations.cs \
62 $(MSSDKCONTROLS)/DataGrid/DataGridError.cs \
63 $(MSSDKCONTROLS)/DataGrid/DataGridFillerColumn.cs \
64 $(MSSDKCONTROLS)/DataGrid/DataGridFrozenGrid.cs \
65 $(MSSDKCONTROLS)/DataGrid/DataGridLengthConverter.cs \
66 $(MSSDKCONTROLS)/DataGrid/DataGridLength.cs \
67 $(MSSDKCONTROLS)/DataGrid/DataGridPreparingCellForEditEventArgs.cs \
68 $(MSSDKCONTROLS)/DataGrid/DataGridRowDetailsEventArgs.cs \
69 $(MSSDKCONTROLS)/DataGrid/DataGridRowEventArgs.cs \
70 $(MSSDKCONTROLS)/DataGrid/DataGridRowHeader.xaml.cs \
71 $(MSSDKCONTROLS)/DataGrid/DataGridRows.cs \
72 $(MSSDKCONTROLS)/DataGrid/DataGridRowsPresenter.cs \
73 $(MSSDKCONTROLS)/DataGrid/DataGridRow.xaml.cs \
74 $(MSSDKCONTROLS)/DataGrid/DataGridSelectedItemsCollection.cs \
75 $(MSSDKCONTROLS)/DataGrid/DataGridTemplateColumn.cs \
76 $(MSSDKCONTROLS)/DataGrid/DataGridTextColumn.cs \
77 $(MSSDKCONTROLS)/DataGrid/DataGridValueConverter.cs \
78 $(MSSDKCONTROLS)/DataGrid/DataGrid.xaml.cs \
79 $(MSSDKCONTROLS)/DataGrid/IEditableCollection.cs \
80 $(MSSDKCONTROLS)/DataGrid/IndexToValueTable.cs \
81 $(MSSDKCONTROLS)/DataGrid/KeyboardHelper.cs \
82 $(MSSDKCONTROLS)/DataGrid/Range.cs \
83 $(MSSDKCONTROLS)/DataGrid/ResourceHelper.cs \
84 $(MSSDKCONTROLS)/DataGrid/TestHooks/DataGridCellInternalTestHook.cs \
85 $(MSSDKCONTROLS)/DataGrid/TestHooks/DataGridInternalTestHook.cs \
86 $(MSSDKCONTROLS)/DataGrid/TestHooks/DataGridRowInternalTestHook.cs \
87 $(MSSDKCONTROLS)/DataGrid/TypeHelper.cs \
88 $(MSSDKCONTROLS)/DataGrid/Automation/DataGridAutomationPeer.cs \
89 $(MSSDKCONTROLS)/DataGrid/Automation/DataGridCellAutomationPeer.cs \
90 $(MSSDKCONTROLS)/DataGrid/Automation/DataGridColumnHeaderAutomationPeer.cs \
91 $(MSSDKCONTROLS)/DataGrid/Automation/DataGridColumnHeadersPresenterAutomationPeer.cs \
92 $(MSSDKCONTROLS)/DataGrid/Automation/DataGridDetailsPresenterAutomationPeer.cs \
93 $(MSSDKCONTROLS)/DataGrid/Automation/DataGridItemAutomationPeer.cs \
94 $(MSSDKCONTROLS)/DataGrid/Automation/DataGridRowAutomationPeer.cs \
95 $(MSSDKCONTROLS)/DataGrid/Automation/DataGridRowHeaderAutomationPeer.cs \
96 $(MSSDKCONTROLS)/DataGrid/Automation/DataGridRowsPresenterAutomationPeer.cs
98 EXTRA_DIST = $(system_windows_controls_data_sources) \
101 System.Windows.Controls.Resource.resources: $(MSSDKCONTROLS)/Resource.resx
102 resgen2 $(MSSDKCONTROLS)/Resource.resx System.Windows.Controls.Resource.resources
104 $(assembly).g.resources: $(MSSDKCONTROLS)/themes/generic.xaml
105 mono $(top_builddir)/tools/respack/respack.exe $@ $(MSSDKCONTROLS)/themes/generic.xaml,themes/generic.xaml
108 -res:$(MSSDKCONTROLS)/DataGrid/DataGridTextColumn.xaml,System.Windows.Controls.DataGrid.DataGridTextColumn.xaml \
109 -res:$(assembly).g.resources \
110 -res:System.Windows.Controls.Resource.resources
112 $(assemblysl): $(system_windows_controls_data_sources) Makefile $(top_builddir)/class/lib/2.1/System.Windows.dll $(assembly).g.resources System.Windows.Controls.Resource.resources
113 $(SMCS) -target:library -out:$@ $(system_windows_controls_data_sources) -d:NET_2_1 -r:$(top_builddir)/class/lib/2.1/System.Windows.dll -r:System.Net -keyfile:$(srcdir)/../winfx3.pub -delaysign+ $(RESOURCES)
114 sn -q -R $@ $(srcdir)/../mono.snk
116 $(assemblydesktop): $(system_windows_controls_data_sources) Makefile $(top_builddir)/class/lib/moonlight/System.Windows.dll
117 $(GMCS) -target:library -out:$@ $(system_windows_controls_data_sources) -keyfile:$(srcdir)/../mono.snk
120 -rm -rf $(assemblies)
124 if INCLUDE_BROWSER_MANAGED_CODE
130 if INCLUDE_DESKTOP_MANAGED_CODE
132 $(GACUTIL) /i $(assemblydesktop) /f /package moonlight
137 install-data-local: install-sl install-desktop
140 $(GACUTIL) /u $(assembly)