2009-09-25 Marek Safar <marek.safar@gmail.com>
[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_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll /nowarn:0618,612
9 TEST_MCS_FLAGS = /r:Mono.Posix.dll /r:System.dll /nowarn:0219,0618
10
11 ifeq (net_4_0, $(PROFILE))
12 USE_BOOT_COMBILE = yes
13 LIBRARY_COMPILE = $(BOOT_COMPILE)
14 endif
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