2006-06-17 Marek Sieradzki <marek.sieradzki@gmail.com>
[mono.git] / mcs / class / Makefile
index 0c1402c9972db7fa393810dba85383265ed7b5e8..07735b0cdf958793b635db7de0d410bc8938be6c 100644 (file)
@@ -29,18 +29,15 @@ net_1_1_java_SUBDIRS = \
        System.Runtime.Serialization.Formatters.Soap    \
        System.Runtime.Remoting
 
-include ../build/rules.make
-
-# For now, Mono.Security.Win32 is built on Linux too.
-# However, it isn't tested on Linux, since it depends on a Win32 dll.
-SUBDIRS = \
+common_dirs := \
        corlib                          \
        System                          \
        System.XML                      \
        Mono.Security                   \
-       System.Configuration    \
        System                          \
        System.Security                 \
+       System.Configuration            \
+       System                          \
        I18N                            \
        System.Drawing                  \
        System.EnterpriseServices       \
@@ -51,6 +48,7 @@ SUBDIRS = \
        Mono.GetOptions                 \
        System.Web                      \
        System.Web.Services             \
+       System.Web                      \
        System.Runtime.Serialization.Formatters.Soap \
        System.Runtime.Remoting         \
        System.Configuration.Install    \
@@ -70,6 +68,7 @@ SUBDIRS = \
        PEAPI                           \
        Npgsql                          \
        ICSharpCode.SharpZipLib         \
+       Compat.ICSharpCode.SharpZipLib  \
        ByteFX.Data                     \
        Commons.Xml.Relaxng             \
        Novell.Directory.Ldap           \
@@ -82,21 +81,34 @@ SUBDIRS = \
        Microsoft.Vsa                   \
        Mono.Cairo                      \
        IBM.Data.DB2                    \
-       Microsoft.JScript               \
-       FirebirdSql.Data.Firebird
+       Microsoft.JScript
+
+default_dirs := FirebirdSql.Data.Firebird
+
+net_2_0_dirs := \
+       Microsoft.Build.Framework       \
+       Microsoft.Build.Utilities       \
+       Microsoft.Build.Engine          \
+       Microsoft.Build.Tasks           \
+       System.Transactions
 
-# Starting with Microsoft.Vsa, the libraries above weren't in the
-# Linux makefile.gnu before, but they build fine, so might as well
-# include them ...
-#
+default_SUBDIRS := $(common_dirs) $(default_dirs)
+net_2_0_SUBDIRS := $(common_dirs) $(net_2_0_dirs)
+
+include ../build/rules.make
+
+SUBDIRS = $(common_dirs) $(default_dirs) $(net_2_0_dirs)
 
 # These libraries below are either unimplemented or don't compile, but
 # I wrote makefiles for them.
 
-DIST_ONLY_SUBDIRS = \
+BROKEN_SUBDIRS = \
        Custommarshalers                \
        Mono.Globalization
 
+DIST_ONLY_SUBDIRS = \
+       $(BROKEN_SUBDIRS)
+
 # No new makefiles for: System.Messaging, System.Web.Mobile,
 # System.ServiceProcess
 
@@ -121,6 +133,7 @@ basic_files = mcs.exe mscorlib.dll System.dll System.Xml.dll
 monolite_files = $(basic_files:%=lib/monolite/%)
 
 DIST_PROFILE_DIRS = basic net_1_1_bootstrap default net_2_0_bootstrap net_2_0
+COMPAT_PROFILE_DIRS = default net_2_0
 
 lib/monolite:
        $(MKINSTALLDIRS) $@
@@ -133,4 +146,4 @@ $(basic_files:%=lib/basic/%):
 
 dist-default: $(monolite_files)
 dist-local: dist-default
-       -$(MKINSTALLDIRS) $(DIST_PROFILE_DIRS:%=$(distdir)/lib/%)
+       -$(MKINSTALLDIRS) $(DIST_PROFILE_DIRS:%=$(distdir)/lib/%) $(COMPAT_PROFILE_DIRS:%=$(distdir)/compat/%)