Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2003-07-14 15:38:40 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2003-07-14 15:38:40 +0400
commit3f761fefe47213af1301315e2aca06a792d706cc (patch)
tree64e4512476c90c3fc6207a30cfb9f883a6c72ca1 /mcs/class/Mono.Data.DB2Client
parentf6574c38ac9619e9a69b60ce39288c38ff1aa5e7 (diff)
New build system from Peter Williams (peter@newton.cx)
svn path=/trunk/mcs/; revision=16195
Diffstat (limited to 'mcs/class/Mono.Data.DB2Client')
-rw-r--r--mcs/class/Mono.Data.DB2Client/Makefile17
-rwxr-xr-xmcs/class/Mono.Data.DB2Client/Mono.Data.DB2Client.build44
-rw-r--r--mcs/class/Mono.Data.DB2Client/makefile.gnu12
3 files changed, 17 insertions, 56 deletions
diff --git a/mcs/class/Mono.Data.DB2Client/Makefile b/mcs/class/Mono.Data.DB2Client/Makefile
new file mode 100644
index 00000000000..dec895f9d4e
--- /dev/null
+++ b/mcs/class/Mono.Data.DB2Client/Makefile
@@ -0,0 +1,17 @@
+thisdir = class/Mono.Data.DB2Client
+SUBDIRS =
+include ../../build/rules.make
+
+LIBRARY = Mono.Data.DB2Client.dll
+LIB_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll \
+ /r:System.Xml.dll /r:System.Data.dll
+NO_TEST = yes
+
+EXTRA_DISTFILES = \
+ Test/TestDB2Conn/App.ico \
+ Test/TestDB2Conn/AssemblyInfo.cs \
+ Test/TestDB2Conn/ChangeLog \
+ Test/TestDB2Conn/TestDB2Conn.cs
+
+include ../../build/library.make
+
diff --git a/mcs/class/Mono.Data.DB2Client/Mono.Data.DB2Client.build b/mcs/class/Mono.Data.DB2Client/Mono.Data.DB2Client.build
deleted file mode 100755
index 9d8794bd161..00000000000
--- a/mcs/class/Mono.Data.DB2Client/Mono.Data.DB2Client.build
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-
-<!-- NAnt build file for Mono.Data.DB2Client.dll -->
-
-<project name="Mono.Data.DB2Client" default="build">
- <property name="debug" value="false"/>
-
- <target name="build">
- <csc target="library" output="../lib/Mono.Data.DB2Client.dll" debug="${debug}">
- <arg value="/nowarn:1595"/>
- <arg value="/nowarn:0067"/>
- <arg value="/nowarn:0109"/>
- <arg value="/nowarn:0169"/>
- <arg value="/nowarn:0649"/>
- <arg value="/unsafe"/>
- <arg value="/noconfig"/>
- <arg value="/r:System.dll"/>
- <arg value="/r:System.Xml.dll"/>
- <arg value="/r:System.Data.dll"/>
- <sources>
- <includes name="**/*.cs"/>
- <excludes name="Test/**"/>
- </sources>
- <references>
- <includes name="../lib/corlib.dll"/>
- <includes name="../lib/System.dll"/>
- <includes name="../lib/System.Xml.dll"/>
- <includes name="../lib/System.Data.dll"/>
- </references>
- </csc>
- <copy file="../lib/System.Data.dll" tofile="Test/System.Data.dll"/>
- <copy file="../lib/Mono.Data.DB2Client.dll" tofile="Test/Mono.Data.DB2Client.dll"/>
- <copy file="../lib/Mono.Data.DB2Client.dll" tofile="Mono.Data.DB2Client/Mono.Data.DB2Client.dll"/>
- <copy file="../lib/Mono.Data.DB2Client.dll" tofile="../System.Data/Test/Mono.Data.DB2Client.dll"/>
- </target>
- <target name="test" depends="build">
- <nant basedir="Test" target="test"/>
- </target>
- <target name="clean">
- <delete file="Test/System.Data.dll" failonerror="false"/>
- <delete file="../lib/Mono.Data.DB2Client.dll" failonerror="false"/>
- <delete file="Test/Mono.Data.DB2Client.dll" failonerror="false"/>
- </target>
-</project>
diff --git a/mcs/class/Mono.Data.DB2Client/makefile.gnu b/mcs/class/Mono.Data.DB2Client/makefile.gnu
deleted file mode 100644
index 68dbbb684f2..00000000000
--- a/mcs/class/Mono.Data.DB2Client/makefile.gnu
+++ /dev/null
@@ -1,12 +0,0 @@
-topdir = ../..
-
-LIBRARY = $(topdir)/class/lib/Mono.Data.DB2Client.dll
-
-LIB_LIST = list
-LIB_FLAGS = --unsafe -r corlib -r System -r System.Xml -r System.Data
-
-SOURCES_INCLUDE=*.cs
-
-export MONO_PATH_PREFIX = $(topdir)/class/lib:
-
-include $(topdir)/class/library.make