projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[System*] Throw a PlatformNotSupported exception when using the managed networking...
[mono.git]
/
mcs
/
class
/
System.Data
/
Makefile
diff --git
a/mcs/class/System.Data/Makefile
b/mcs/class/System.Data/Makefile
index 39e46838503c6b687e8c230f2a78558ca3921100..e8a641299b351597bbcaaa4cfc549055fa665dbc 100644
(file)
--- a/
mcs/class/System.Data/Makefile
+++ b/
mcs/class/System.Data/Makefile
@@
-12,11
+12,17
@@
LIB_MCS_FLAGS = \
-d:MONO_PARTIAL_DATA_IMPORT \
-unsafe
-d:MONO_PARTIAL_DATA_IMPORT \
-unsafe
+ifdef NO_MONO_SECURITY
+MONO_DATA_TDS=
+else
+MONO_DATA_TDS=Mono.Data.Tds
+endif
+
ifdef MOBILE_PROFILE
ifdef MOBILE_PROFILE
-LIB_REFS +=
Mono.Data.Tds
System.Transactions
+LIB_REFS +=
$(MONO_DATA_TDS)
System.Transactions
LIB_MCS_FLAGS += -d:NO_CODEDOM -d:NO_OLEDB -d:NO_ODBC -d:NO_CONFIGURATION
else
LIB_MCS_FLAGS += -d:NO_CODEDOM -d:NO_OLEDB -d:NO_ODBC -d:NO_CONFIGURATION
else
-LIB_REFS += System.EnterpriseServices
Mono.Data.Tds
System.Configuration System.Transactions
+LIB_REFS += System.EnterpriseServices
$(MONO_DATA_TDS)
System.Configuration System.Transactions
BUILT_SOURCES = \
gen_OdbcConnection.cs \
gen_OleDbConnection.cs \
BUILT_SOURCES = \
gen_OdbcConnection.cs \
gen_OleDbConnection.cs \