X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftools%2Fcsharp%2FMakefile;h=7451e0acee6bcbe1679ad2646c76636c77eb835f;hb=10d8c42c15345b2dd59f611c704bd659ba3bf3ef;hp=bfe1254ec87071b1115a67647379ec7cae800044;hpb=ed2181318460ad79c9f1f1eb5b9e14a7bb1ff1f9;p=mono.git diff --git a/mcs/tools/csharp/Makefile b/mcs/tools/csharp/Makefile index bfe1254ec87..7451e0acee6 100644 --- a/mcs/tools/csharp/Makefile +++ b/mcs/tools/csharp/Makefile @@ -1,13 +1,23 @@ thisdir = tools/csharp SUBDIRS = +mono_sourcelibs_DIR = $(DESTDIR)$(mono_libdir)/mono-source-libs + include ../../build/rules.make -LOCAL_MCS_FLAGS = -r:$(topdir)/class/lib/$(PROFILE)/gmcs.exe +// 3021: CLS attribute not needed since assembly is not CLS compliant +NOWARNS = -nowarn:3021 +LOCAL_MCS_FLAGS = -r:$(topdir)/class/lib/$(PROFILE)/gmcs.exe -r:$(topdir)/class/lib/$(PROFILE)/Mono.Posix.dll -r:Mono.Management.dll -unsafe $(NOWARNS) PROGRAM = $(topdir)/class/lib/$(PROFILE)/csharp.exe -DISTFILES = repl.txt csharp.exe.sources +DISTFILES = repl.txt CLEAN_FILES = csharp.exe *.mdb include ../../build/executable.make + +install-local: install-source + +install-source: + -$(MKINSTALLDIRS) $(mono_sourcelibs_DIR) + $(INSTALL) -m 644 getline.cs $(mono_sourcelibs_DIR)