Merge pull request #394 from directhex/master
[mono.git] / mcs / class / Managed.Windows.Forms / Makefile
index 9fbb6f760d9e6ce57fd0e5c453a13e6646d05610..4f96023a6c81750740b96816e1ad30f199d91360 100644 (file)
@@ -7,13 +7,10 @@ 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
@@ -21,6 +18,8 @@ endif
 
 RESX_RESOURCES = \
        resources/keyboards.resources
+       
+CLEAN_FILES += $(RESX_RESOURCES)
 
 CUR_RESOURCES = resources/NWSE.cur resources/NESW.cur \
        resources/SplitterNS.cur \
@@ -62,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                      \
@@ -105,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
-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 $@