2010-03-17 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / class / System.Data.OracleClient / Makefile
index a5192c93e73a03e34c0d7220536087e4022cc072..14ff32d89efc04f4a36e23b3f5e49762d48e698c 100644 (file)
@@ -3,14 +3,26 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = System.Data.OracleClient.dll
+ifeq (net_1_1_java, $(PROFILE))
+LIB_MCS_FLAGS = \
+    -r:rt.dll                \
+    -r:J2SE.Helpers.dll            \
+    /r:System.dll \
+    /r:System.Xml.dll /r:../../class/lib/net_1_1_java/System.Data.dll \
+    -nowarn:649 -nowarn:169 -nowarn:219 -nowarn:168 -nowarn:1595 \
+    -r:$(corlib)                \
+    -r:System.Xml.dll             \
+    /r:System.Drawing.dll
+
+else
 LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll \
        /r:System.Xml.dll /r:System.Data.dll \
        /r:System.EnterpriseServices.dll \
-       /r:System.Drawing.dll \
-       /nowarn:649 /nowarn:169
+       /r:System.Drawing.dll
+endif
 
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /nowarn:618
 
-EXTRA_DISTFILES = Test/TestOracleClient.cs
+EXTRA_DISTFILES = Test/*.cs
 
 include ../../build/library.make