big patch:
[mono.git] / mcs / class / System / System.build
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3 <!-- NAnt build file for System.dll -->
4
5 <project name="System" default="build">
6         <property name="debug" value="false"/>
7
8         <target name="build">
9                 <mkdir dir="../lib"/>
10                 <csc target="library" output="../lib/System.dll" debug="${debug}">
11                         <arg value="/nowarn:1595"/>
12                         <arg value="/unsafe"/>
13                         <arg value="/noconfig"/>        <!-- don't reference ms assemblies -->
14                         <arg value="/lib:../lib/"/>
15                         
16                         <!-- cor compare dies with these currently -->
17                         <!--arg value="/nostdlib"/-->   <!-- don't reference mscorlib -->
18                         <!--arg value="/r:corlib.dll"/-->
19                         <arg value="/r:System.Xml.dll"/>
20                         <sources>
21                                 <includes name="**/*.cs"/> 
22                                 <excludes name="Test/**"/>
23                                 <excludes name="System.CodeDom/Code-X-Collection.cs"/>
24                                 <excludes name="System.Net/IAuthenticationModule.cs"/>
25                                 <excludes name="System.Net/AuthenticationManager.cs"/>
26                         </sources>
27                 </csc>
28                 <copy file="../lib/System.dll" tofile="Test/System.dll"/>
29                 <nant basedir="Test" target="build"/>
30         </target>
31
32         <target name="test" depends="build">
33                 <nant basedir="Test" target="test"/>
34         </target>
35
36         <target name="clean">
37                 <nant basedir="Test" target="clean"/>
38                 <delete file="../lib/System.dll" failonerror="false"/>
39         </target>
40 </project>