mirror of https://github.com/acidanthera/audk.git
Change to new XML Schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@679 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2d52720093
commit
5d863867e9
68
build.xml
68
build.xml
|
@ -10,40 +10,46 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
-->
|
-->
|
||||||
<project name="mdk" default="all" basedir=".">
|
<project name="mdk" default="all" basedir=".">
|
||||||
<description>
|
<!-- Apply external ANT tasks -->
|
||||||
This is the highest-level build file.
|
<taskdef resource="net/sf/antcontrib/antlib.xml" />
|
||||||
It can build all packages or clean up the build products.
|
<taskdef resource="GenBuild.tasks" />
|
||||||
</description>
|
|
||||||
<property environment="env"/>
|
<property environment="env" />
|
||||||
<!-- Note: this is an ordered list. The projects have dependencies between them. -->
|
|
||||||
<filelist
|
<property name="WORKSPACE_DIR" value="${env.WORKSPACE}" />
|
||||||
id="Pkg.Dirs"
|
|
||||||
dir="."
|
<!--property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml" /-->
|
||||||
files="Tools,MdePkg,EdkModulePkg,EdkNt32Pkg"/>
|
|
||||||
|
<import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml" />
|
||||||
<target name="all" description="Issue a warning.">
|
|
||||||
<echo>
|
<target name="all" depends="init, build" />
|
||||||
Top-level builds may not be functional.
|
|
||||||
Please build each package individually from its own directory.
|
<target name="init">
|
||||||
If you would like to try anyway, type
|
<if>
|
||||||
ant All
|
<not>
|
||||||
</echo>
|
<isset property="env.WORKSPACE" />
|
||||||
|
</not>
|
||||||
|
<then>
|
||||||
|
<fail message="WORKSPACE environmental variable not set." />
|
||||||
|
</then>
|
||||||
|
</if>
|
||||||
|
<!--
|
||||||
|
<ToolChainSetup confPath="${WORKSPACE_DIR}/Tools/Conf" />
|
||||||
|
-->
|
||||||
</target>
|
</target>
|
||||||
<target name="All" description="Build all packages.">
|
|
||||||
<subant target="" inheritall="false">
|
<target name="build">
|
||||||
<filelist refid="Pkg.Dirs"/>
|
<FrameworkBuild />
|
||||||
</subant>
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="clean" description="Remove compile and assembly artifacts.">
|
<target name="clean" depends="init">
|
||||||
<subant target="clean" inheritall="false">
|
<echo message="Clean all intermidiate files. " />
|
||||||
<filelist refid="Pkg.Dirs"/>
|
<FrameworkBuild type="clean" />
|
||||||
</subant>
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="cleanall" description="Remove everything not in the distribution.">
|
<target name="cleanall" depends="init">
|
||||||
<subant target="cleanall" inheritall="false">
|
<echo message="Clean all generated files. " />
|
||||||
<filelist refid="Pkg.Dirs"/>
|
<FrameworkBuild type="cleanall" />
|
||||||
</subant>
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -106,7 +106,7 @@ echo.
|
||||||
@REM Java Programs can use it.
|
@REM Java Programs can use it.
|
||||||
@REM It needs the XMLBEANS libraries in order to compile.
|
@REM It needs the XMLBEANS libraries in order to compile.
|
||||||
@REM
|
@REM
|
||||||
set CLASSPATH=%XMLBEANS_HOME%\lib\jsr173_1.0_api.jar;%XMLBEANS_HOME%\lib\xbean.jar
|
set CLASSPATH=.;%XMLBEANS_HOME%\lib\jsr173_1.0_api.jar;%XMLBEANS_HOME%\lib\xbean.jar
|
||||||
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean_xpath.jar;%XMLBEANS_HOME%\lib\xmlpublic.jar
|
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean_xpath.jar;%XMLBEANS_HOME%\lib\xmlpublic.jar
|
||||||
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\saxon8.jar;%XMLBEANS_HOME%\lib\resolver.jar
|
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\saxon8.jar;%XMLBEANS_HOME%\lib\resolver.jar
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue