* fixup.pl: Allow input from stdin.
[mono.git] / mcs / class / Microsoft.VisualBasic / Makefile
index 4b5df551bf27c3482eceab522ffc98ba623ffb3e..4354c4006b36b7cd95c4fe97f1760b25f229cd4f 100644 (file)
@@ -4,22 +4,23 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = Microsoft.VisualBasic.dll
-LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll @Microsoft.VisualBasic.dll.resources /unsafe
+LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Windows.Forms.dll @Microsoft.VisualBasic.dll.resources -codepage:65001
+TEST_MCS_FLAGS = -codepage:65001 -nowarn:0618 -nowarn:219 -nowarn:169
 
 LIB_MCS_FLAGS_RESOURCES = $(LIB_MCS_FLAGS) 
 
-TXT_RESOURCES = Microsoft.VisualBasic/VBUtils.resources
-RESX_RESOURCES = 
+TXT_RES = Microsoft.VisualBasic/VBUtils.resources
+#RESX_RES = 
 
-EXTRA_DISTSFILES = $(TXT_RESOURCES:.resources=.txt) $(RESX_RESOURCES:.resources=.resx)
-CLEAN_FILES = $(TXT_RESOURCES) $(RESX_RESOURCES)
+EXTRA_DISTFILES = Microsoft.VisualBasic.dll.resources $(TXT_RES:.resources=.txt) #$(RESX_RES:.resources=.resx)
+CLEAN_FILES = $(TXT_RES) #$(RESX_RES)
 
 include ../../build/library.make
 
-$(the_lib): $(TXT_RESOURCES) $(RESX_RESOURCES)
+$(the_lib): $(TXT_RES) #$(RESX_RES)
 
-$(TXT_RESOURCES): %.resources: %.txt
-       $(RESGEN) $<
+$(TXT_RES): %.resources: %.txt
+       $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`
 
-$(RESX_RESOURCES): %.resources: %.resx
-       $(RESGEN) $<
+#$(RESX_RES): %.resources: %.resx
+#      $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`