Merge pull request #2819 from BrzVlad/fix-major-log
[mono.git] / mcs / class / Mono.Posix / Makefile
1 thisdir = class/Mono.Posix
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = Mono.Posix.dll
6 # Don't warn about [Obsolete] members, as there are now *lots* of [Obsolete]
7 # members, generating volumes of output.
8 LIB_REFS = System
9 LIB_MCS_FLAGS = /unsafe /nowarn:0618,612
10 TEST_MCS_FLAGS = /unsafe /nowarn:0219,0618
11 TEST_LIB_REFS = Mono.Posix System
12
13 LIBRARY_COMPILE = $(BOOT_COMPILE)
14
15 include ../../build/library.make
16
17 update-mappings:
18         cp `pkg-config --variable=Sources create-native-map` Mono.Unix.Native
19         cp `pkg-config --variable=Programs create-native-map` Mono.Unix.Native
20         mono --debug Mono.Unix.Native/create-native-map.exe \
21                 --library=MonoPosixHelper \
22                 --rename-namespace Mono.Unix.Native=Mono.Posix \
23                 $(the_lib) Mono.Unix.Native/NativeConvert.generated
24