2005-09-20 Alexander Olk <alex.olk@googlemail.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 LIB_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll
7 TEST_MCS_FLAGS = /r:Mono.Posix.dll /r:System.dll /nowarn:0219,0618
8
9 include ../../build/library.make
10
11 EXTRA_DISTFILES = Mono.Unix/make-map.cs
12
13 all-local: Mono.Unix/make-map.exe 
14
15 Mono.Unix/make-map.exe: Mono.Unix/make-map.cs $(the_lib)
16         cp $(the_lib) Mono.Unix/
17 ifneq ($(PLATFORM),win32)
18         $(CSCOMPILE)  -out:Mono.Unix/make-map.exe -r:Mono.Posix.dll Mono.Unix/make-map.cs
19 else
20         $(CSCOMPILE)  -out:Mono.Unix/make-map.exe -r:Mono.Posix.dll Mono.Unix\\make-map.cs
21 endif
22
23 CLEAN_FILES = Mono.Unix/make-map.exe Mono.Unix/Mono.Posix.dll