[build] Fixes Mono.Security dependency
[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 /r:$(corlib) /nowarn:0618,612
10 TEST_MCS_FLAGS = /unsafe /r:Mono.Posix.dll /r:System.dll /nowarn:0219,0618
11
12 LIBRARY_COMPILE = $(BOOT_COMPILE)
13
14 include ../../build/library.make
15
16 update-mappings:
17         cp `pkg-config --variable=Sources create-native-map` Mono.Unix.Native
18         cp `pkg-config --variable=Programs create-native-map` Mono.Unix.Native
19         mono --debug Mono.Unix.Native/create-native-map.exe \
20                 --library=MonoPosixHelper \
21                 --rename-namespace Mono.Unix.Native=Mono.Posix \
22                 $(the_lib) Mono.Unix.Native/NativeConvert.generated
23