2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
[mono.git] / mcs / class / Mono.Data.PostgreSqlClient / Mono.Data.PostgreSqlClient.build
1 <?xml version="1.0" encoding="iso-8859-1"?>\r
2 \r
3 <!-- NAnt build file for Mono.Data.PostgreSqlClient.dll -->\r
4 \r
5 <project name="Mono.Data.PostgreSqlClient" default="build">\r
6         <property name="debug" value="false"/>\r
7 \r
8         <target name="build">\r
9                 <csc target="library" output="../lib/Mono.Data.PostgreSqlClient.dll" debug="${debug}">\r
10                         <arg value="/nowarn:1595"/>\r
11                         <arg value="/nowarn:0067"/>\r
12                         <arg value="/nowarn:0109"/>\r
13                         <arg value="/nowarn:0169"/>\r
14                         <arg value="/nowarn:0649"/>\r
15                         <arg value="/unsafe"/>\r
16                         <arg value="/noconfig"/>\r
17                         <arg value="/r:System.dll"/>\r
18                         <arg value="/r:System.Xml.dll"/>\r
19                         <arg value="/r:System.Data.dll"/>\r
20                         <sources>\r
21                                 <includes name="**/*.cs"/> \r
22                                 <excludes name="Test/**"/>\r
23                                 \r
24                         </sources>\r
25                         <references>\r
26                                 <includes name="../lib/corlib.dll"/>\r
27                                 <includes name="../lib/System.dll"/>\r
28                                 <includes name="../lib/System.Xml.dll"/>\r
29                                 <includes name="../lib/System.Data.dll"/>\r
30                         </references>\r
31                 </csc>\r
32                 <copy file="../lib/System.Data.dll" tofile="Test/System.Data.dll"/>\r
33                 <copy file="../lib/Mono.Data.PostgreSqlClient.dll" tofile="Test/Mono.Data.PostgreSqlClient.dll"/>\r
34                 <copy file="../lib/Mono.Data.PostgreSqlClient.dll" tofile="Mono.Data.PostgreSqlClient.dll"/>\r
35                 <copy file="../lib/Mono.Data.PostgreSqlClient.dll" tofile="../System.Data/Test/Mono.Data.PostgreSqlClient.dll"/>\r
36         </target>\r
37         <target name="test" depends="build">\r
38                 <nant basedir="Test" target="test"/>\r
39         </target>\r
40         <target name="clean">\r
41                 <delete file="Test/System.Data.dll" failonerror="false"/>\r
42                 <delete file="../lib/Mono.Data.PostgreSqlClient.dll" failonerror="false"/>\r
43                 <delete file="Test/Mono.Data.PostgreSqlClient.dll" failonerror="false"/>\r
44 \r
45         </target>\r
46 </project>\r