* ThemeClearlooks.cs, FileDialog.cs:
[mono.git] / mcs / class / Makefile
index 23c1a5d9e894fb9fd503fed6bf67e1d2b850b1f5..0b97206277844f86e7fed112cfbc75507bfaf448 100644 (file)
@@ -4,32 +4,45 @@ MONO_POSIX := Mono.Posix
 MONO_SYMBOLWRITER := Mono.CompilerServices.SymbolWriter
 
 bootstrap_dirs := \
-       corlib                                  \
+       corlib                                  \
        System                                  \
        System.XML                              \
+       Mono.Security                           \
+       System.Security                         \
+       System.Configuration                    \
        System                                  \
        $(MONO_SYMBOLWRITER)
 
+# Note that Mono.Security and System.Security aren't listed.
+# We may have to add those if 'mcs' starts using them.
 basic_SUBDIRS := corlib System System.XML System
-net_1_1_bootstrap_SUBDIRS := $(bootstrap_dirs) Mono.Security
-net_2_0_bootstrap_SUBDIRS := $(bootstrap_dirs)
 
-include ../build/rules.make
+net_1_1_bootstrap_SUBDIRS := $(bootstrap_dirs) PEAPI
+net_2_0_bootstrap_SUBDIRS := $(bootstrap_dirs) PEAPI
+
+net_1_1_java_SUBDIRS = \
+       System.Xml                                      \
+       System.Data                                     \
+       System.Drawing                                  \
+       Novell.Directory.Ldap                           \
+       System.DirectoryServices                        \
+       System.Runtime.Serialization.Formatters.Soap    \
+       System.Runtime.Remoting
 
-# 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 = \
+default_SUBDIRS := \
        corlib                          \
        System                          \
        System.XML                      \
+       Mono.Security                   \
+       System                          \
+       System.Security                 \
+       System.Configuration            \
        System                          \
        I18N                            \
        System.Drawing                  \
        System.EnterpriseServices       \
        Mono.C5                         \
-       Mono.Security                   \
        Mono.Data.Tds                   \
-       System.Security                 \
        System.Data                     \
        Mono.Data                       \
        Mono.GetOptions                 \
@@ -40,11 +53,11 @@ SUBDIRS = \
        System.Configuration.Install    \
        System.Management               \
        $(MONO_SYMBOLWRITER)            \
+       $(MONO_POSIX)                   \
        Mono.Data.SqliteClient          \
        Mono.Data.SybaseClient          \
        Mono.Data.TdsClient             \
        System.Data.OracleClient        \
-       $(MONO_POSIX)                   \
        Accessibility                   \
        Microsoft.VisualC               \
        Cscompmgd                       \
@@ -54,6 +67,7 @@ SUBDIRS = \
        PEAPI                           \
        Npgsql                          \
        ICSharpCode.SharpZipLib         \
+       Compat.ICSharpCode.SharpZipLib  \
        ByteFX.Data                     \
        Commons.Xml.Relaxng             \
        Novell.Directory.Ldap           \
@@ -66,20 +80,32 @@ SUBDIRS = \
        Microsoft.Vsa                   \
        Mono.Cairo                      \
        IBM.Data.DB2                    \
-       Microsoft.JScript       
+       Microsoft.JScript               \
+       FirebirdSql.Data.Firebird
 
-# 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 ...
-#
+net_2_0_ONLY_SUBDIRS := \
+       Microsoft.Build.Framework       \
+       Microsoft.Build.Utilities       \
+       Microsoft.Build.Engine          \
+       Microsoft.Build.Tasks
+
+net_2_0_SUBDIRS := $(default_SUBDIRS) $(net_2_0_ONLY_SUBDIRS)
+
+include ../build/rules.make
+
+SUBDIRS = $(default_SUBDIRS)
 
 # 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 = \
+       $(net_2_0_ONLY_SUBDIRS) \
+       $(BROKEN_SUBDIRS)
+
 # No new makefiles for: System.Messaging, System.Web.Mobile,
 # System.ServiceProcess
 
@@ -104,6 +130,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) $@
@@ -111,6 +138,9 @@ lib/monolite:
 $(monolite_files): lib/monolite/%: lib/basic/% lib/monolite
        cp -p $< $@
 
+$(basic_files:%=lib/basic/%):
+       cd $(topdir) && $(MAKE) profile-do--basic--all
+
 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/%)