Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2016-12-02 22:11:21 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2016-12-02 22:12:19 +0300
commit713b7fe4ae7a957b2a426c3eb0ac6e958d55f219 (patch)
tree95db4573e6a283816840a6bdbfb5d0561fcbe769 /mcs/packages
parent19261d8d5321a116b9467001da6b0521f4480997 (diff)
Fix "make dist" for roslyn assemblies
Diffstat (limited to 'mcs/packages')
-rw-r--r--mcs/packages/Makefile33
1 files changed, 20 insertions, 13 deletions
diff --git a/mcs/packages/Makefile b/mcs/packages/Makefile
index 5b3cc08cacf..6dc4b4cf670 100644
--- a/mcs/packages/Makefile
+++ b/mcs/packages/Makefile
@@ -3,23 +3,30 @@ include ../build/rules.make
ROSLYN_CSC_DIR = $(dir $(CSC_LOCATION))
+ROSLYN_FILES = \
+ $(ROSLYN_CSC_DIR)/csc.exe \
+ $(ROSLYN_CSC_DIR)/csc.rsp \
+ $(ROSLYN_CSC_DIR)/csc.exe.config \
+ $(ROSLYN_CSC_DIR)/Microsoft.CodeAnalysis.CSharp.dll \
+ $(ROSLYN_CSC_DIR)/Microsoft.CodeAnalysis.dll \
+ $(ROSLYN_CSC_DIR)/System.Collections.Immutable.dll \
+ $(ROSLYN_CSC_DIR)/System.Reflection.Metadata.dll
+
+ROSLYN_AOT_FILES = \
+ $(ROSLYN_CSC_DIR)/csc.exe$(PLATFORM_AOT_SUFFIX) \
+ $(ROSLYN_CSC_DIR)/System.Reflection.Metadata.dll$(PLATFORM_AOT_SUFFIX)
+
+DISTFILES = $(ROSLYN_FILES)
+
ifeq ($(PROFILE), $(DEFAULT_PROFILE))
TARGET_DIR = $(DESTDIR)$(mono_libdir)/mono/$(FRAMEWORK_VERSION)
-install-local:
- $(INSTALL_LIB) $(ROSLYN_CSC_DIR)/csc.exe $(TARGET_DIR)
- $(INSTALL_LIB) $(ROSLYN_CSC_DIR)/csc.rsp $(TARGET_DIR)
- $(INSTALL_LIB) $(ROSLYN_CSC_DIR)/csc.exe.config $(TARGET_DIR)
- $(INSTALL_LIB) $(ROSLYN_CSC_DIR)/Microsoft.CodeAnalysis.CSharp.dll $(TARGET_DIR)
- $(INSTALL_LIB) $(ROSLYN_CSC_DIR)/Microsoft.CodeAnalysis.dll $(TARGET_DIR)
- $(INSTALL_LIB) $(ROSLYN_CSC_DIR)/System.Collections.Immutable.dll $(TARGET_DIR)
- $(INSTALL_LIB) $(ROSLYN_CSC_DIR)/System.Reflection.Metadata.dll $(TARGET_DIR)
-
- $(INSTALL_LIB) $(ROSLYN_CSC_DIR)/csc.exe$(PLATFORM_AOT_SUFFIX) $(TARGET_DIR)
- $(INSTALL_LIB) $(ROSLYN_CSC_DIR)/System.Reflection.Metadata.dll$(PLATFORM_AOT_SUFFIX) $(TARGET_DIR)
-endif
+install-local: $(ROSLYN_FILES) $(ROSLYN_AOT_FILES)
+ $(MKINSTALLDIRS) $(TARGET_DIR)
+ $(INSTALL_LIB) $(ROSLYN_FILES) $(TARGET_DIR)
+ $(INSTALL_LIB) $(ROSLYN_AOT_FILES) $(TARGET_DIR)
+endif
dist-local: dist-default
-