2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
[mono.git] / mcs / class / library.build
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3 <!-- NAnt build file for class libraries -->
4 <!-- Target windows builds libraries _for_ windows -->
5 <!-- Target linux builds libraries _for_ linux -->
6
7 <project name="corlib" default="linux">
8         <property name="debug" value="false"/>
9
10         <target name="windows">
11                 <nant basedir="corlib" target="windows"/>
12                 <nant basedir="System" target="build"/>
13                 <nant basedir="System.Data" target="build"/>
14                 <!--nant basedir="System.Drawing" target="build"/-->
15                 <nant basedir="System.XML" target="build"/>
16                 <!--nant basedir="System.Web" target="build"/-->
17         </target>
18
19         <target name="linux">
20                 <nant basedir="corlib" target="linux"/>
21                 <nant basedir="System" target="build"/>
22                 <!--nant basedir="System.Drawing" target="build"/-->
23                 <nant basedir="System.XML" target="build"/>
24                 <nant basedir="System.Data" target="build"/>
25                 <!--nant basedir="System.Web" target="build"/-->
26         </target>
27
28         <target name="test">
29                 <nant basedir="corlib" target="test"/>
30                 <nant basedir="System" target="test"/>
31                 <nant basedir="System.XML" target="test"/>
32         </target>
33
34         <target name="clean">
35                 <delete failonerror="false">
36                         <fileset basedir="lib">
37                                 <includes name="*.dll"/>
38                         </fileset>
39                 </delete>
40                 <nant basedir="corlib" target="clean"/>
41                 <nant basedir="System" target="clean"/>
42                 <nant basedir="System.XML" target="clean"/>
43                 <nant basedir="System.Data" target="clean"/>
44         </target>
45 </project>