blob: b285cb773c23810979a2abc57a7051a4107ebdc6 [file] [log] [blame]
bbahnsen878ddf12006-04-21 22:54:32 +00001<?xml version="1.0"?>
2<!--
3Copyright (c) 2006, Intel Corporation
4All rights reserved. This program and the accompanying materials
5are licensed and made available under the terms and conditions of the BSD License
6which accompanies this distribution. The full text of the license may be found at
7http://opensource.org/licenses/bsd-license.php
8
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11-->
12<project name="mdk" default="all" basedir=".">
darylm5037fa7b1f2006-04-25 22:25:54 +000013 <description>
14This is the highest-level build file.
15It can build all packages or clean up the build products.
16 </description>
bbahnsen878ddf12006-04-21 22:54:32 +000017 <property environment="env"/>
darylm5037fa7b1f2006-04-25 22:25:54 +000018 <!-- Note: this is an ordered list. The projects have dependencies between them. -->
19 <filelist
20 id="Pkg.Dirs"
21 dir="."
22 files="Tools,MdePkg,EdkModulePkg,EdkNt32Pkg"/>
23
bbahnsen7b778c82006-05-03 19:41:11 +000024 <target name="all" description="Issue a warning.">
25 <echo>
26Top-level builds may not be functional.
27Please build each package individually from its own directory.
28If you would like to try anyway, type
29ant All
30 </echo>
31 </target>
32 <target name="All" description="Build all packages.">
bbahnsen878ddf12006-04-21 22:54:32 +000033 <subant target="" inheritall="false">
darylm5037fa7b1f2006-04-25 22:25:54 +000034 <filelist refid="Pkg.Dirs"/>
bbahnsen878ddf12006-04-21 22:54:32 +000035 </subant>
36 </target>
darylm5037fa7b1f2006-04-25 22:25:54 +000037
38 <target name="clean" description="Remove compile and assembly artifacts.">
bbahnsen878ddf12006-04-21 22:54:32 +000039 <subant target="clean" inheritall="false">
darylm5037fa7b1f2006-04-25 22:25:54 +000040 <filelist refid="Pkg.Dirs"/>
bbahnsen878ddf12006-04-21 22:54:32 +000041 </subant>
42 </target>
darylm5037fa7b1f2006-04-25 22:25:54 +000043
44 <target name="distclean" description="Remove everything not in the distribution.">
darylm50327f01922006-04-25 23:24:17 +000045 <subant target="cleanall" inheritall="false">
darylm5037fa7b1f2006-04-25 22:25:54 +000046 <filelist refid="Pkg.Dirs"/>
bbahnsen878ddf12006-04-21 22:54:32 +000047 </subant>
48 </target>
49</project>