X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FMono.Posix%2FMakefile;h=9cde3498e4d17dde9a74721a7ad9a25052da0ec4;hb=355d2c5eca6ec320ccd4097d7f196b26a721ea94;hp=8914d43621c1871859d9815205e3af5d237f543f;hpb=e51a9b6ba1a93bc981639a706c93bee413099fd6;p=mono.git diff --git a/mcs/class/Mono.Posix/Makefile b/mcs/class/Mono.Posix/Makefile index 8914d43621c..9cde3498e4d 100644 --- a/mcs/class/Mono.Posix/Makefile +++ b/mcs/class/Mono.Posix/Makefile @@ -5,21 +5,19 @@ include ../../build/rules.make LIBRARY = Mono.Posix.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 +LIB_REFS = System +LIB_MCS_FLAGS = /unsafe /r:$(corlib) /nowarn:0618,612 +TEST_MCS_FLAGS = /unsafe /r:Mono.Posix.dll /r:System.dll /nowarn:0219,0618 -include ../../build/library.make - -EXTRA_DISTFILES = Mono.Unix.Native/make-map.cs +LIBRARY_COMPILE = $(BOOT_COMPILE) -all-local: Mono.Unix.Native/make-map.exe +include ../../build/library.make -Mono.Unix.Native/make-map.exe: Mono.Unix.Native/make-map.cs $(the_lib) - cp $(the_lib) Mono.Unix.Native/ -ifneq ($(PLATFORM),win32) - $(CSCOMPILE) -debug+ -out:Mono.Unix.Native/make-map.exe -r:Mono.Posix.dll Mono.Unix.Native/make-map.cs -else - $(CSCOMPILE) -debug+ -out:Mono.Unix.Native/make-map.exe -r:Mono.Posix.dll Mono.Unix.Native\\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 -CLEAN_FILES = Mono.Unix.Native/make-map.exe Mono.Unix.Native/Mono.Posix.dll