Merge pull request #5313 from lambdageek/corefx-sre-fixup
[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 KEYFILE = ../mono.pub
10 LIB_MCS_FLAGS = /unsafe /nowarn:0618,612
11 TEST_MCS_FLAGS = /unsafe /nowarn:0219,0618
12 TEST_LIB_REFS = Mono.Posix System
13
14 LIBRARY_COMPILE = $(BOOT_COMPILE)
15
16 include ../../build/library.make
17
18 update-mappings:
19         cp `pkg-config --variable=Sources create-native-map` Mono.Unix.Native
20         cp `pkg-config --variable=Programs create-native-map` Mono.Unix.Native
21         mono --debug Mono.Unix.Native/create-native-map.exe \
22                 --library=MonoPosixHelper \
23                 --rename-namespace Mono.Unix.Native=Mono.Posix \
24                 $(the_lib) Mono.Unix.Native/NativeConvert.generated
25