[build] Change the way how mcs references are passed to compiler to always use full...
[mono.git] / mcs / tools / csharp / Makefile
1 thisdir = tools/csharp
2 SUBDIRS = 
3 mono_sourcelibs_DIR  = $(DESTDIR)$(mono_libdir)/mono-source-libs
4
5 include ../../build/rules.make
6
7 // 3021: CLS attribute not needed since assembly is not CLS compliant
8 NOWARNS = -nowarn:3021
9 LOCAL_MCS_FLAGS = -unsafe $(NOWARNS)
10 LIB_REFS = Mono.CSharp Mono.Posix Mono.Management System 
11
12 PROGRAM = csharp.exe
13
14 DISTFILES = repl.txt
15
16 CLEAN_FILES = csharp.exe *.mdb
17
18 include ../../build/executable.make
19
20 install-local: install-source
21
22 install-source:
23         -$(MKINSTALLDIRS) $(mono_sourcelibs_DIR)
24         $(INSTALL) -m 644 getline.cs $(mono_sourcelibs_DIR)
25