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>2018-02-05 17:51:40 +0300
committerMarek Safar <marek.safar@gmail.com>2018-02-09 07:49:44 +0300
commit71ad99f7206dd8c7e5234e22cc14138e2ed42b24 (patch)
tree0a5cebd6b1d02ece926aff773a7103f63fe12a6f /mcs/class/System.ServiceModel.Activation
parentb3d60257e57a700a61d23175ba4cb70d9c1f0f62 (diff)
[build] Narrow recursive dependencies
Diffstat (limited to 'mcs/class/System.ServiceModel.Activation')
-rw-r--r--mcs/class/System.ServiceModel.Activation/Makefile11
-rw-r--r--mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation.dll.sources2
-rw-r--r--mcs/class/System.ServiceModel.Activation/System.ServiceModel/ServiceHostingEnvironment.cs40
3 files changed, 42 insertions, 11 deletions
diff --git a/mcs/class/System.ServiceModel.Activation/Makefile b/mcs/class/System.ServiceModel.Activation/Makefile
index e8c0e953fd2..26249a02ac8 100644
--- a/mcs/class/System.ServiceModel.Activation/Makefile
+++ b/mcs/class/System.ServiceModel.Activation/Makefile
@@ -4,20 +4,11 @@ include ../../build/rules.make
LIBRARY = System.ServiceModel.Activation.dll
-LIB_REFS = System.Core System plainservice/System.ServiceModel
+LIB_REFS = System.Core System System.ServiceModel
KEYFILE = ../winfx.pub
LIB_MCS_FLAGS =
TEST_MCS_FLAGS =
TEST_LIB_REFS = System System.Core
-servicemodel = $(the_libdir_base)plainservice/System.ServiceModel.dll
-
include ../../build/library.make
-
-$(the_libdir_base)$(LIBRARY): $(servicemodel)
-
-$(servicemodel):
- (cd ../System.ServiceModel; $(MAKE) $@)
-
-.NOTPARALLEL: $(servicemodel)
diff --git a/mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation.dll.sources b/mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation.dll.sources
index 1d17a9ee4a4..2399d041586 100644
--- a/mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation.dll.sources
+++ b/mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation.dll.sources
@@ -2,5 +2,5 @@
../../build/common/MonoTODOAttribute.cs
Assembly/AssemblyInfo.cs
-../System.ServiceModel/System.ServiceModel/ServiceHostingEnvironment.cs
+System.ServiceModel/ServiceHostingEnvironment.cs
../System.ServiceModel/System.ServiceModel.Activation/ServiceHostFactory.cs
diff --git a/mcs/class/System.ServiceModel.Activation/System.ServiceModel/ServiceHostingEnvironment.cs b/mcs/class/System.ServiceModel.Activation/System.ServiceModel/ServiceHostingEnvironment.cs
new file mode 100644
index 00000000000..504bf354646
--- /dev/null
+++ b/mcs/class/System.ServiceModel.Activation/System.ServiceModel/ServiceHostingEnvironment.cs
@@ -0,0 +1,40 @@
+//
+// ServiceHostingEnvironment.cs
+//
+// Author:
+// Ankit Jain <jankit@novell.com>
+//
+// Copyright (C) 2006 Novell, Inc. http://www.novell.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+namespace System.ServiceModel {
+
+ [System.Runtime.CompilerServices.TypeForwardedFrom (Consts.AssemblySystemServiceModel_3_0)]
+ public static class ServiceHostingEnvironment
+ {
+ public static bool AspNetCompatibilityEnabled { get; internal set; }
+
+ public static void EnsureServiceAvailable (string virtualPath)
+ {
+ }
+ }
+} \ No newline at end of file