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:
authorMarek Safar <marek.safar@gmail.com>2009-06-05 20:27:11 +0400
committerMarek Safar <marek.safar@gmail.com>2009-06-05 20:27:11 +0400
commit2d36f507092d8d02b642dacf11def87f27143034 (patch)
tree846d27023a936e5ca9b5c923a60848db2c826690 /mcs/class/System.Security/Makefile
parent2230659a57a2725a61f3c7ef150d9cf54b28adcf (diff)
2009-06-05 Marek Safar <marek.safar@gmail.com>
* Makefile: Fixed NET_2_0 conditional to actually handle Mono.Security dependency. svn path=/trunk/mcs/; revision=135540
Diffstat (limited to 'mcs/class/System.Security/Makefile')
-rw-r--r--mcs/class/System.Security/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/class/System.Security/Makefile b/mcs/class/System.Security/Makefile
index b43a235627a..3d55d17cf2b 100644
--- a/mcs/class/System.Security/Makefile
+++ b/mcs/class/System.Security/Makefile
@@ -13,6 +13,13 @@ LIB_MCS_FLAGS += -r:Mono.Security.dll -nowarn:414
TEST_MCS_FLAGS += -nowarn:168,183,414
endif
+VALID_PROFILE := $(filter net_1_1 net_2_0 net_2_1_raw net_4_0, $(PROFILE))
+ifndef VALID_PROFILE
+# @echo "** Warning: System.Security.dll built without parts that depend on: Mono.Security.dll "
+else
+ LIB_MCS_FLAGS += -d:SECURITY_DEP
+endif
+
EXTRA_DISTFILES = \
Test/System.Security.Cryptography.Xml/sample.pfx \
Test/System.Security.Cryptography.Xml/EncryptedXmlSample1.xml \