In Test/System.Windows.Forms:
[mono-project.git] / mcs / class / Managed.Windows.Forms / Makefile
blob51583cab7f6925610ada5f1c2877d6ab1a8a9362
1 thisdir = class/Managed.Windows.Forms
2 include ../../build/rules.make
4 LIBRARY = System.Windows.Forms.dll
6 LIB_MCS_FLAGS = /unsafe \
7 /r:$(corlib) /r:System.dll /r:System.Xml.dll \
8 /r:System.Drawing.dll /r:Accessibility.dll \
9 /r:System.Data.dll /r:Mono.Posix.dll \
10 @System.Windows.Forms.dll.resources \
11 -debug
13 RESX_RESOURCES = \
14 resources/System.Windows.Forms.resources \
15 resources/System.Windows.Forms.en.resources \
16 resources/System.Windows.Forms.de.resources \
17 resources/keyboards.resources
19 CUR_RESOURCES = resources/NWSE.cur resources/NESW.cur \
20 resources/SplitterNS.cur \
21 resources/SplitterWE.cur \
22 resources/NWSE.cur \
23 resources/NESW.cur \
24 resources/DnDNo.cur \
25 resources/DnDCopy.cur \
26 resources/DnDLink.cur \
27 resources/DnDMove.cur
29 RESOURCES = $(RESX_RESOURCES) $(CUR_RESOURCES)
31 PREBUILT = $(RESX_RESOURCES:=.prebuilt)
33 IMAGES_RESOURCES = \
34 resources/16_computer.png \
35 resources/32_computer.png \
36 resources/computer.png \
37 resources/16_document-open.png \
38 resources/32_document-open.png \
39 resources/document-open.png \
40 resources/16_folder.png \
41 resources/folder-new.png \
42 resources/folder.png \
43 resources/16_folder-remote.png \
44 resources/32_folder-remote.png \
45 resources/folder-remote.png \
46 resources/go-previous.png \
47 resources/go-top.png \
48 resources/22_page-magnifier.png \
49 resources/preferences-system-windows.png\
50 resources/16_printer.png \
51 resources/32_printer.png \
52 resources/text-x-generic.png \
53 resources/16_user-desktop.png \
54 resources/32_user-desktop.png \
55 resources/user-desktop.png \
56 resources/16_user-home.png \
57 resources/32_user-home.png \
58 resources/user-home.png \
59 resources/dialog-error.png \
60 resources/dialog-information.png \
61 resources/dialog-question.png \
62 resources/dialog-warning.png \
63 resources/1-up.png \
64 resources/2-up.png \
65 resources/3-up.png \
66 resources/4-up.png \
67 resources/6-up.png
70 TEST_DISTFILES = \
71 M.gif \
72 Test/resources/a.cur \
73 Test/resources/32x32.ico \
74 Test/System.Resources/compat_1_1.resx \
75 Test/System.Resources/compat_2_0.resx \
76 Test/System.Windows.Forms/bitmaps/a.png
78 EXTRA_DISTFILES = \
79 README System.Windows.Forms.dll.resources \
80 $(RESX_RESOURCES:.resources=.resx) $(CUR_RESOURCES) $(PREBUILT) build-csproj build-csproj2k5 \
81 $(IMAGES_RESOURCES) \
82 $(TEST_DISTFILES)
84 TEST_MCS_FLAGS = /r:System.Data.dll /r:System.Drawing.dll \
85 -resource:Test/resources/a.cur,a.cur \
86 -resource:Test/resources/32x32.ico,32x32.ico \
87 -nowarn:618,612
89 SWF.csproj: System.Windows.Forms.dll.sources System.Windows.Forms.dll.resources build-csproj
90 ./build-csproj
92 SWF2k5.csproj: System.Windows.Forms.dll.sources System.Windows.Forms.dll.resources build-csproj2k5
93 ./build-csproj2k5
95 include ../../build/library.make
97 TEST_HARNESS_EXCLUDES = /exclude:Interactive,NotWorking,ValueAdd,CAS,InetAccess
98 TEST_HARNESS_EXCLUDES_ONDOTNET = /exclude:Interactive,NotDotNet,CAS
100 $(the_lib): $(RESOURCES) SWF.csproj SWF2k5.csproj
102 $(RESX_RESOURCES): %.resources: %.resx
103 $(RESGEN) $< || cp $@.prebuilt $@
105 $(LIBRARY): $(CUR_RESOURCES)
107 $(PREBUILT): %.prebuilt: %
108 cp $* $@
110 dist-default: $(PREBUILT)