Merge pull request #394 from directhex/master
[mono.git] / mcs / class / Managed.Windows.Forms / Makefile
index 6986bf0eaaf6f5d3f3eaca214af2b5cca1294013..4f96023a6c81750740b96816e1ad30f199d91360 100644 (file)
@@ -7,23 +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.Mozilla \
+       /r:Mono.WebBrowser \
+       /r:System.Configuration.dll \
        @System.Windows.Forms.dll.resources \
-       -debug -nowarn:618,612,809
-
-ifeq (net_2_0, $(PROFILE))
-LIB_MCS_FLAGS += /r:System.Configuration.dll
-endif
+       -nowarn:618,612,809
 
 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
+       
+CLEAN_FILES += $(RESX_RESOURCES)
 
 CUR_RESOURCES = resources/NWSE.cur resources/NESW.cur \
        resources/SplitterNS.cur \
@@ -65,12 +61,8 @@ IMAGES_RESOURCES = \
        resources/16_user-home.png              \
        resources/32_user-home.png              \
        resources/user-home.png         \
-       resources/dialog-error.png              \
        resources/16_dialog-error.png           \
-       resources/dialog-information.png        \
        resources/16_dialog-information.png     \
-       resources/dialog-question.png           \
-       resources/dialog-warning.png            \
        resources/16_dialog-warning.png         \
        resources/1-up.png                      \
        resources/2-up.png                      \
@@ -89,7 +81,9 @@ IMAGES_RESOURCES = \
        resources/propertygrid-categorized.png  \
        resources/EventsTab.bmp                 \
        resources/PropertiesTab.bmp             \
-       resources/propertygrid-propertypages.png
+       resources/propertygrid-propertypages.png        \
+       resources/mono.ico                      \
+       resources/errorProvider.ico
 
 
 TEST_DISTFILES = \
@@ -106,23 +100,17 @@ EXTRA_DISTFILES = \
        $(IMAGES_RESOURCES) \
        $(TEST_DISTFILES)
 
-TEST_MCS_FLAGS = /r:System.Data.dll /r:System.Drawing.dll \
+TEST_MCS_FLAGS = /r:System.Data.dll /r:System.Drawing.dll /r:Accessibility.dll -r:System.dll -r:System.Xml.dll \
        -resource:Test/resources/a.cur,a.cur \
        -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 /labels
-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 $@