X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FMono.Posix%2FMakefile;h=03af46719ff64eeaef1d6bdda535fcc89e22a38b;hb=f9fb2cff036768fe0ec03ece85dcc25518a1bf73;hp=d8c457dc113f154681a82c55ab4e57c619a95cf9;hpb=3205202c3026473946ba9a8779c98b50afbda207;p=mono.git diff --git a/mcs/class/Mono.Posix/Makefile b/mcs/class/Mono.Posix/Makefile index d8c457dc113..03af46719ff 100644 --- a/mcs/class/Mono.Posix/Makefile +++ b/mcs/class/Mono.Posix/Makefile @@ -3,18 +3,20 @@ SUBDIRS = include ../../build/rules.make LIBRARY = Mono.Posix.dll -LIB_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll -NO_TEST = yes +# 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,612 +TEST_MCS_FLAGS = /r:Mono.Posix.dll /r:System.dll /nowarn:0219,0618 -include ../../build/library.make +LIBRARY_COMPILE = $(BOOT_COMPILE) -all-local: Mono.Posix/make-map.exe +include ../../build/library.make -Mono.Posix/make-map.exe: Mono.Posix/make-map.cs ../lib/$(PROFILE)/Mono.Posix.dll - cp ../lib/$(PROFILE)/Mono.Posix.dll Mono.Posix/ -ifneq ($(PLATFORM),win32) - $(CSCOMPILE) -out:Mono.Posix/make-map.exe -r:Mono.Posix.dll Mono.Posix/make-map.cs -else - $(CSCOMPILE) -out:Mono.Posix/make-map.exe -r:Mono.Posix.dll Mono.Posix\\make-map.cs -endif +update-mappings: + cp `pkg-config --variable=Sources create-native-map` Mono.Unix.Native + cp `pkg-config --variable=Programs create-native-map` Mono.Unix.Native + mono --debug Mono.Unix.Native/create-native-map.exe \ + --library=MonoPosixHelper \ + --rename-namespace Mono.Unix.Native=Mono.Posix \ + $(the_lib) Mono.Unix.Native/NativeConvert.generated