Merge pull request #1068 from esdrubal/bug18421
[mono.git] / mcs / class / Facades / Makefile
index aad3d9ba1f28af1fba91ea333d91ccd375a3356a..ff69d5deabb525aa6413d1c6cf3ddec4deb5b0bc 100644 (file)
@@ -8,7 +8,7 @@ monotouch_SUBDIRS = System.Collections.Concurrent System.Collections System.Comp
        System.Reflection.Extensions System.Reflection.Primitives System.Reflection System.Resources.ResourceManager System.Runtime.Extensions \
        System.Runtime.InteropServices System.Runtime.InteropServices.WindowsRuntime System.Runtime.Numerics System.Runtime.Serialization.Json \
        System.Runtime.Serialization.Primitives System.Runtime.Serialization.Xml System.Runtime System.Security.Principal System.ServiceModel.Http \
-       System.ServiceModel.Primitives System.Text.Encoding.Extensions System.Text.Encoding System.Text.RegularExpressions System.Threading.Tasks.Parallel \
+       System.ServiceModel.Primitives System.ServiceModel.Security System.Text.Encoding.Extensions System.Text.Encoding System.Text.RegularExpressions System.Threading.Tasks.Parallel \
        System.Threading.Tasks System.Threading.Timer System.Threading System.Xml.ReaderWriter System.Xml.XDocument System.Xml.XmlSerializer
 
 mobile_static_SUBDIRS = $(monotouch_SUBDIRS)
@@ -19,7 +19,27 @@ monodroid_SUBDIRS = $(net_4_5_SUBDIRS)
 
 xammac_SUBDIRS = $(net_4_5_SUBDIRS)
 
-SUBDIRS = $(net_4_5_SUBDIRS)
+PROFILE_SUBDIRS = $(net_4_5_SUBDIRS)
+
+#OVERRIDE_TARGET_ALL = yes
+
+# 
+# The output directory for the facade assemblies
+#
+target_dir = $(topdir)/class/lib/$(PROFILE)/Facades
+
+#
+# Contains the expanded version of the target dll for each profile
+#
+target_libraries = $(patsubst %,$(target_dir)/%.dll,$(SUBDIRS))
+
+#
+# To build each target, go into the subdirectory
+#
+$(target_dir)/%.dll: 
+       (cd `basename $@ .dll`; $(MAKE))
+
+#all.override: $(target_libraries)
 
 include $(MCS_BUILD_DIR)/rules.make