2005-05-05 Peter Bartok <pbartok@novell.com>
[mono.git] / mcs / class / Managed.Windows.Forms / Makefile
1 thisdir = class/Managed.Windows.Forms
2 include ../../build/rules.make
3
4 LIBRARY = System.Windows.Forms.dll
5 LIB_MCS_FLAGS = /unsafe \
6         /r:$(corlib) /r:System.dll /r:System.Xml.dll \
7         /r:System.Drawing.dll /r:Accessibility.dll \
8         /r:System.Data.dll /r:Mono.Posix.dll \
9         @System.Windows.Forms.dll.resources \
10         /nowarn:649 /nowarn:169 /nowarn:67 /nowarn:108 /nowarn:114 -g
11
12 RESOURCES = \
13         resources/System.Windows.Forms.resources \
14         resources/System.Windows.Forms.en.resources \
15         resources/System.Windows.Forms.de.resources
16
17 PREBUILT = $(RESOURCES:=.prebuilt)
18
19 EXTRA_DISTFILES = \
20         README System.Windows.Forms.dll.resources \
21         $(RESOURCES:.resources=.resx) $(PREBUILT) build-csproj
22
23 TEST_MCS_FLAGS = /r:System.Drawing.dll
24
25 SWF.csproj: System.Windows.Forms.dll.sources
26         ./build-csproj
27
28 include ../../build/library.make
29
30 $(the_lib): $(RESOURCES) SWF.csproj
31
32 $(RESOURCES): %.resources: %.resx
33         $(RESGEN) $< || cp $@.prebuilt $@
34
35 $(PREBUILT): %.prebuilt: %
36         cp $* $@
37
38 dist-default: $(PREBUILT)