* Makefile: Build the make-map.exe in Mono.Unix.Native; add /nowarn:0618 to
[mono.git] / mcs / class / Mono.Posix / Makefile
index 5fd338d15f245a819c7ea7e9955ad0b22ffecd99..8914d43621c1871859d9815205e3af5d237f543f 100644 (file)
@@ -3,21 +3,23 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = Mono.Posix.dll
-LIB_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll
+# Don't warn about [Obsolete] members, as there are now *lots* of [Obsolete]
+# members, generating volumes of output.
+LIB_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll /nowarn:0618
 TEST_MCS_FLAGS = /r:Mono.Posix.dll /r:System.dll /nowarn:0219,0618
 
 include ../../build/library.make
 
-EXTRA_DISTFILES = Mono.Unix/make-map.cs
+EXTRA_DISTFILES = Mono.Unix.Native/make-map.cs
 
-all-local: Mono.Unix/make-map.exe 
+all-local: Mono.Unix.Native/make-map.exe 
 
-Mono.Unix/make-map.exe: Mono.Unix/make-map.cs $(the_lib)
-       cp $(the_lib) Mono.Unix/
+Mono.Unix.Native/make-map.exe: Mono.Unix.Native/make-map.cs $(the_lib)
+       cp $(the_lib) Mono.Unix.Native/
 ifneq ($(PLATFORM),win32)
-       $(CSCOMPILE)  -out:Mono.Unix/make-map.exe -r:Mono.Posix.dll Mono.Unix/make-map.cs
+       $(CSCOMPILE) -debug+ -out:Mono.Unix.Native/make-map.exe -r:Mono.Posix.dll Mono.Unix.Native/make-map.cs
 else
-       $(CSCOMPILE)  -out:Mono.Unix/make-map.exe -r:Mono.Posix.dll Mono.Unix\\make-map.cs
+       $(CSCOMPILE) -debug+ -out:Mono.Unix.Native/make-map.exe -r:Mono.Posix.dll Mono.Unix.Native\\make-map.cs
 endif
 
-CLEAN_FILES = Mono.Unix/make-map.exe Mono.Unix/Mono.Posix.dll
+CLEAN_FILES = Mono.Unix.Native/make-map.exe Mono.Unix.Native/Mono.Posix.dll