-
-
Save rolfbjarne/c806e52cb1fa81d3198ae8dea07edfba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 060d003236c9723460d2999f0e11e5696e7b734e | |
Author: Rolf Bjarne Kvinge <[email protected]> | |
Date: Mon Aug 1 18:57:42 2016 +0200 | |
[msbuild] Install mdbs. | |
diff --git a/msbuild/Makefile b/msbuild/Makefile | |
index aa715e4..a549351 100644 | |
--- a/msbuild/Makefile | |
+++ b/msbuild/Makefile | |
@@ -250,12 +250,15 @@ $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mono/Xamarin.iOS/FrameworkList.xml: Xamari | |
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mono/2.1/%: Xamarin.ObjcBinding.Tasks/% | $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mono/2.1 | |
$(Q) install -m 644 $< $@ | |
+ if test -e $<.mdb; then cp $<.mdb [email protected]; fi | |
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mono/2.1/%: Xamarin.iOS.Tasks.Core/% | $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mono/2.1 | |
$(Q) install -m 644 $< $@ | |
+ if test -e $<.mdb; then cp $<.mdb [email protected]; fi | |
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mono/2.1/%.dll: encrypted/%.dll | $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mono/2.1 | |
$(Q) install -m 644 $< $@ | |
+ if test -e $<.mdb; then cp $<.mdb [email protected]; fi | |
## | |
## XW | |
@@ -272,9 +275,11 @@ $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/WatchOS/FrameworkList.xml: Xamarin | |
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/WatchOS/%: Xamarin.iOS.Tasks.Core/% | $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/WatchOS | |
$(Q) install -m 644 $< $@ | |
+ if test -e $<.mdb; then cp $<.mdb [email protected]; fi | |
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/WatchOS/%.dll: encrypted/%.dll | $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/WatchOS | |
$(Q) install -m 644 $< $@ | |
+ if test -e $<.mdb; then cp $<.mdb [email protected]; fi | |
## | |
## Xamarin.TVOS | |
@@ -291,9 +296,11 @@ $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/TVOS/FrameworkList.xml: Xamarin.iO | |
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/TVOS/%: Xamarin.iOS.Tasks.Core/% | $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/TVOS | |
$(Q) install -m 644 $< $@ | |
+ if test -e $<.mdb; then cp $<.mdb [email protected]; fi | |
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/TVOS/%.dll: encrypted/%.dll | $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/TVOS | |
$(Q) install -m 644 $< $@ | |
+ if test -e $<.mdb; then cp $<.mdb [email protected]; fi | |
## | |
## XM ## | |
@@ -320,9 +327,11 @@ $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/etc/mono/4.5/machine.config: $(TOP)/t | |
$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/msbuild/%: Xamarin.Mac.Tasks/% | $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/msbuild | |
$(Q) install -m 644 $< $@ | |
+ if test -e $<.mdb; then cp $<.mdb [email protected]; fi | |
$(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/msbuild/%.dll: encrypted/%.dll | $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/msbuild | |
$(Q) install -m 644 $< $@ | |
+ if test -e $<.mdb; then cp $<.mdb [email protected]; fi | |
## | |
## Common targets ## | |
@@ -369,11 +378,11 @@ pecrypt: .pecrypt-link | |
# Xamarin.MacDev.dll comes from maciostools | |
# Newtonsoft.Json.dll comes from a NuGet | |
$(foreach dll,$(sort $(MSBUILD_REFERENCE_ASSEMBLIES)),unencrypted/$(notdir $(dll)).dll): .build-stamp | unencrypted | |
- $(Q) cp Xamarin.MacDev.Tasks.Core/bin/$(CONFIG)/$(notdir $@) $@ | |
+ $(Q) cp Xamarin.MacDev.Tasks.Core/bin/$(CONFIG)/$(notdir $@)* $(dir $@) | |
define unencrypt | |
unencrypted/$(1).dll: $(1)/bin/$(CONFIG)/$(1).dll | unencrypted | |
- $$(Q) cp $$< $$@ | |
+ $$(Q) cp $$<* $$(dir $$@) | |
endef | |
# Create the rules to copy all the dlls into the 'unencrypted' directory. | |
@@ -381,6 +390,7 @@ $(foreach dll,$(sort $(MSBUILD_TASK_ASSEMBLIES)),$(eval $(call unencrypt,$(dll)) | |
encrypted/%.dll: unencrypted/%.dll pecrypt | encrypted | |
$(Q) ./pecrypt $@ default $< | |
+ if test -e $<.mdb; then cp $<.mdb [email protected]; fi | |
@echo "Encrypted $(notdir $@)" | |
# this is a directory-creating target. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment