878ddf1f |
1 | <?xml version="1.0"?>\r |
2 | <!--\r |
3 | Copyright (c) 2006, Intel Corporation\r |
4 | All rights reserved. This program and the accompanying materials\r |
5 | are licensed and made available under the terms and conditions of the BSD License\r |
6 | which accompanies this distribution. The full text of the license may be found at\r |
7 | http://opensource.org/licenses/bsd-license.php\r |
8 | \r |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r |
11 | -->\r |
12 | <project name="mdk" default="all" basedir=".">\r |
7fa7b1fe |
13 | <description>\r |
14 | This is the highest-level build file.\r |
15 | It can build all packages or clean up the build products.\r |
16 | </description>\r |
878ddf1f |
17 | <property environment="env"/>\r |
7fa7b1fe |
18 | <!-- Note: this is an ordered list. The projects have dependencies between them. -->\r |
19 | <filelist\r |
20 | id="Pkg.Dirs"\r |
21 | dir="."\r |
22 | files="Tools,MdePkg,EdkModulePkg,EdkNt32Pkg"/>\r |
23 | \r |
7b778c8e |
24 | <target name="all" description="Issue a warning.">\r |
25 | <echo>\r |
26 | Top-level builds may not be functional.\r |
27 | Please build each package individually from its own directory.\r |
28 | If you would like to try anyway, type\r |
29 | ant All\r |
30 | </echo>\r |
31 | </target>\r |
32 | <target name="All" description="Build all packages.">\r |
878ddf1f |
33 | <subant target="" inheritall="false">\r |
7fa7b1fe |
34 | <filelist refid="Pkg.Dirs"/>\r |
878ddf1f |
35 | </subant>\r |
36 | </target>\r |
7fa7b1fe |
37 | \r |
38 | <target name="clean" description="Remove compile and assembly artifacts.">\r |
878ddf1f |
39 | <subant target="clean" inheritall="false">\r |
7fa7b1fe |
40 | <filelist refid="Pkg.Dirs"/>\r |
878ddf1f |
41 | </subant>\r |
42 | </target>\r |
7fa7b1fe |
43 | \r |
9e792382 |
44 | <target name="cleanall" description="Remove everything not in the distribution.">\r |
27f01922 |
45 | <subant target="cleanall" inheritall="false">\r |
7fa7b1fe |
46 | <filelist refid="Pkg.Dirs"/>\r |
878ddf1f |
47 | </subant>\r |
48 | </target>\r |
49 | </project>\r |