2009-01-11 Ivan N. Zlatev <contact@i-nz.net>
[mono.git] / mcs / class / Managed.Windows.Forms / Makefile
index 51583cab7f6925610ada5f1c2877d6ab1a8a9362..6a3dc50ab674ccad2374b8503e70c09967e760e8 100644 (file)
@@ -7,13 +7,19 @@ LIB_MCS_FLAGS = /unsafe \
        /r:$(corlib) /r:System.dll /r:System.Xml.dll \
        /r:System.Drawing.dll /r:Accessibility.dll \
        /r:System.Data.dll /r:Mono.Posix.dll \
+       /r:Mono.WebBrowser \
        @System.Windows.Forms.dll.resources \
-       -debug
+       -debug -nowarn:618,612,809
+
+ifeq (net_2_0, $(PROFILE))
+LIB_MCS_FLAGS += /r:System.Configuration.dll
+endif
+
+ifeq (true, $(GENERATE_RESOURCES))
+LIB_MCS_FLAGS += /define:GENERATING_RESOURCES
+endif
 
 RESX_RESOURCES = \
-       resources/System.Windows.Forms.resources \
-       resources/System.Windows.Forms.en.resources \
-       resources/System.Windows.Forms.de.resources \
        resources/keyboards.resources
 
 CUR_RESOURCES = resources/NWSE.cur resources/NESW.cur \
@@ -56,15 +62,29 @@ IMAGES_RESOURCES = \
        resources/16_user-home.png              \
        resources/32_user-home.png              \
        resources/user-home.png         \
-       resources/dialog-error.png              \
-       resources/dialog-information.png        \
-       resources/dialog-question.png           \
-       resources/dialog-warning.png            \
+       resources/16_dialog-error.png           \
+       resources/16_dialog-information.png     \
+       resources/16_dialog-warning.png         \
        resources/1-up.png                      \
        resources/2-up.png                      \
        resources/3-up.png                      \
        resources/4-up.png                      \
-       resources/6-up.png
+       resources/6-up.png                      \
+       resources/nav_delete.png                \
+       resources/nav_end.png                   \
+       resources/nav_first.png                 \
+       resources/nav_previous.png              \
+       resources/nav_next.png                  \
+       resources/nav_plus.png                  \
+       resources/image-missing.png             \
+       resources/image-x-generic.png           \
+       resources/propertygrid-alphabetical.png \
+       resources/propertygrid-categorized.png  \
+       resources/EventsTab.bmp                 \
+       resources/PropertiesTab.bmp             \
+       resources/propertygrid-propertypages.png        \
+       resources/mono.ico                      \
+       resources/errorProvider.ico
 
 
 TEST_DISTFILES = \
@@ -86,18 +106,12 @@ TEST_MCS_FLAGS = /r:System.Data.dll /r:System.Drawing.dll \
        -resource:Test/resources/32x32.ico,32x32.ico \
        -nowarn:618,612
 
-SWF.csproj: System.Windows.Forms.dll.sources System.Windows.Forms.dll.resources build-csproj
-       ./build-csproj
-
-SWF2k5.csproj: System.Windows.Forms.dll.sources System.Windows.Forms.dll.resources build-csproj2k5
-       ./build-csproj2k5
-
 include ../../build/library.make
 
-TEST_HARNESS_EXCLUDES = /exclude:Interactive,NotWorking,ValueAdd,CAS,InetAccess
-TEST_HARNESS_EXCLUDES_ONDOTNET = /exclude:Interactive,NotDotNet,CAS
+TEST_HARNESS_EXCLUDES = -exclude=Interactive,NotWorking,ValueAdd,CAS,InetAccess
+TEST_HARNESS_EXCLUDES_ONDOTNET = -exclude=Interactive,NotDotNet,CAS
 
-$(the_lib): $(RESOURCES) SWF.csproj SWF2k5.csproj
+$(the_lib): $(RESOURCES)
 
 $(RESX_RESOURCES): %.resources: %.resx
        $(RESGEN) $< || cp $@.prebuilt $@