diff options
author | Zoltan Varga <vargaz@gmail.com> | 2015-02-27 06:27:27 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2015-02-27 06:27:27 +0300 |
commit | 37983f7fc3098e23522298e721896c559d84975a (patch) | |
tree | a47084c228f21039c04712ecd628d9a80e114dc7 /mcs/class/System.Data.Linq | |
parent | 5cf4cbde3a5d18d3a2e9d8698a2f3a5798eb3152 (diff) |
[build] Add dependency information for class libraries using a LIB_REFS variable which lists the assemblies a given assembly depends on to build.
Diffstat (limited to 'mcs/class/System.Data.Linq')
-rw-r--r--[-rwxr-xr-x] | mcs/class/System.Data.Linq/Makefile | 1 | ||||
-rw-r--r-- | mcs/class/System.Data.Linq/src/DbLinq/System.Data.Linq/Makefile | 41 |
2 files changed, 22 insertions, 20 deletions
diff --git a/mcs/class/System.Data.Linq/Makefile b/mcs/class/System.Data.Linq/Makefile index 26832172d45..22a29eb482e 100755..100644 --- a/mcs/class/System.Data.Linq/Makefile +++ b/mcs/class/System.Data.Linq/Makefile @@ -3,6 +3,7 @@ SUBDIRS = include ../../build/rules.make LIBRARY = System.Data.Linq.dll +LIB_REFS = System System.Core System.Xml System.Data System.Runtime.Serialization LIB_MCS_FLAGS = \ /r:System.dll \ /r:System.Core.dll \ diff --git a/mcs/class/System.Data.Linq/src/DbLinq/System.Data.Linq/Makefile b/mcs/class/System.Data.Linq/src/DbLinq/System.Data.Linq/Makefile index a1014ce28b8..966905d59f3 100644 --- a/mcs/class/System.Data.Linq/src/DbLinq/System.Data.Linq/Makefile +++ b/mcs/class/System.Data.Linq/src/DbLinq/System.Data.Linq/Makefile @@ -1,20 +1,21 @@ -thisdir = class/System.Data.Linq
-SUBDIRS =
-include ../../build/rules.make
-
-LIBRARY = System.Data.Linq.dll
-LIB_MCS_FLAGS = \
- /r:System.dll \
- /r:System.Core.dll \
- /r:System.Data.dll \
- /r:System.Transactions.dll \
- /r:System.Xml.dll \
-
-NO_TEST = yes
-
-ifeq (2.0, $(FRAMEWORK_VERSION))
-# This is a .NET 3.5 only assembly, but built during the 2.0 build
-LIB_MCS_FLAGS += -d:NET_3_5
-endif
-
-include ../../build/library.make
+thisdir = class/System.Data.Linq +SUBDIRS = +include ../../build/rules.make + +LIBRARY = System.Data.Linq.dll +LIB_REFS = System System.Core System.Data System.Transactions System.Xml +LIB_MCS_FLAGS = \ + /r:System.dll \ + /r:System.Core.dll \ + /r:System.Data.dll \ + /r:System.Transactions.dll \ + /r:System.Xml.dll \ + +NO_TEST = yes + +ifeq (2.0, $(FRAMEWORK_VERSION)) +# This is a .NET 3.5 only assembly, but built during the 2.0 build +LIB_MCS_FLAGS += -d:NET_3_5 +endif + +include ../../build/library.make |