1 thisdir = class/System.Windows.Forms
2 include ../../build/rules.make
4 LIBRARY = System.Windows.Forms.dll
6 LIB_REFS = System System.Xml System.Drawing Accessibility System.Data Mono.Posix Mono.WebBrowser System.Configuration System.Runtime.Serialization.Formatters.Soap
7 LIB_MCS_FLAGS = /unsafe \
8 @System.Windows.Forms.dll.resources \
11 ifeq (true, $(GENERATE_RESOURCES))
12 LIB_MCS_FLAGS += /define:GENERATING_RESOURCES
16 resources/keyboards.resources
18 CLEAN_FILES += $(RESX_RESOURCES)
20 CUR_RESOURCES = resources/NWSE.cur resources/NESW.cur \
21 resources/SplitterNS.cur \
22 resources/SplitterWE.cur \
26 resources/DnDCopy.cur \
27 resources/DnDLink.cur \
30 RESOURCES = $(RESX_RESOURCES) $(CUR_RESOURCES)
32 PREBUILT = $(RESX_RESOURCES:=.prebuilt)
35 resources/16_computer.png \
36 resources/32_computer.png \
37 resources/computer.png \
38 resources/16_document-open.png \
39 resources/32_document-open.png \
40 resources/document-open.png \
41 resources/16_folder.png \
42 resources/folder-new.png \
43 resources/folder.png \
44 resources/16_folder-remote.png \
45 resources/32_folder-remote.png \
46 resources/folder-remote.png \
47 resources/go-previous.png \
48 resources/go-top.png \
49 resources/22_page-magnifier.png \
50 resources/preferences-system-windows.png\
51 resources/16_printer.png \
52 resources/32_printer.png \
53 resources/text-x-generic.png \
54 resources/16_user-desktop.png \
55 resources/32_user-desktop.png \
56 resources/user-desktop.png \
57 resources/16_user-home.png \
58 resources/32_user-home.png \
59 resources/user-home.png \
60 resources/16_dialog-error.png \
61 resources/16_dialog-information.png \
62 resources/16_dialog-warning.png \
68 resources/nav_delete.png \
69 resources/nav_end.png \
70 resources/nav_first.png \
71 resources/nav_previous.png \
72 resources/nav_next.png \
73 resources/nav_plus.png \
74 resources/image-missing.png \
75 resources/image-x-generic.png \
76 resources/propertygrid-alphabetical.png \
77 resources/propertygrid-categorized.png \
78 resources/EventsTab.bmp \
79 resources/PropertiesTab.bmp \
80 resources/propertygrid-propertypages.png \
82 resources/errorProvider.ico
87 Test/resources/a.cur \
88 Test/resources/32x32.ico \
89 Test/System.Resources/compat_1_1.resx \
90 Test/System.Resources/compat_2_0.resx \
91 Test/System.Windows.Forms/bitmaps/a.png \
92 Test/simple/Program.cs \
93 Test/DummyAssembly/AnotherSerializable.cs \
94 Test/DummyAssembly/Convertable.cs \
95 Test/DummyAssembly/Properties/AssemblyInfo.cs \
98 README System.Windows.Forms.dll.resources \
99 $(RESX_RESOURCES:.resources=.resx) $(CUR_RESOURCES) $(PREBUILT) \
100 $(IMAGES_RESOURCES) \
103 TEST_LIB_REFS = System.Data System.Drawing Accessibility System System.Xml System.Runtime.Serialization.Formatters.Soap
105 -resource:Test/resources/a.cur,a.cur \
106 -resource:Test/resources/32x32.ico,32x32.ico \
110 $(CSCOMPILE) /target:library /out:$@ Test/DummyAssembly/AnotherSerializable.cs Test/DummyAssembly/Convertable.cs Test/DummyAssembly/Properties/AssemblyInfo.cs \
111 -r:$(topdir)/class/lib/$(PROFILE)/System.dll
113 test-local: DummyAssembly.dll
115 include ../../build/library.make
117 TEST_HARNESS_EXCLUDES = -exclude=Interactive,NotWorking,CAS
118 TEST_HARNESS_EXCLUDES_ONDOTNET = -exclude=Interactive,NotDotNet,CAS
120 $(the_lib): $(RESOURCES)
122 $(RESX_RESOURCES): %.resources: %.resx
123 $(RESGEN) $< || cp $@.prebuilt $@
125 $(LIBRARY): $(CUR_RESOURCES)
127 $(PREBUILT): %.prebuilt: %
130 dist-default: $(PREBUILT)
132 simple-test.exe: Test/simple/Program.cs $(topdir)/class/lib/$(PROFILE)/System.Windows.Forms.dll
133 $(CSCOMPILE) -out:$@ Test/simple/Program.cs -r:$(topdir)/class/lib/$(PROFILE)/System.Windows.Forms.dll
135 test-simple: simple-test.exe
136 $(TEST_RUNTIME) simple-test.exe