diff options
Diffstat (limited to 'EdkNt32Pkg/Sec/SecMain_build.xml')
-rw-r--r-- | EdkNt32Pkg/Sec/SecMain_build.xml | 127 |
1 files changed, 73 insertions, 54 deletions
diff --git a/EdkNt32Pkg/Sec/SecMain_build.xml b/EdkNt32Pkg/Sec/SecMain_build.xml index b0436d385b..f318869785 100644 --- a/EdkNt32Pkg/Sec/SecMain_build.xml +++ b/EdkNt32Pkg/Sec/SecMain_build.xml @@ -24,53 +24,61 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <!-- Compile all dependency Library instances. -->
<target name="libraries">
- <ant antfile="${WORKSPACE_DIR}\MdePkg\Library\BaseLib\build.xml" inheritAll="false" target="BaseLib">
- <property name="WORKSPACE_DIR" value="${WORKSPACE_DIR}" />
- <property name="PACKAGE_DIR" value="${WORKSPACE_DIR}\MdePkg/" />
- <property name="ARCH" value="${ARCH}" />
- <property name="TARGET" value="${TARGET}" />
- <property name="PACKAGE" value="MdePkg" />
- </ant>
- <ant antfile="${WORKSPACE_DIR}\MdePkg\Library\BaseMemoryLib\build.xml" inheritAll="false" target="BaseMemoryLib">
- <property name="WORKSPACE_DIR" value="${WORKSPACE_DIR}" />
- <property name="PACKAGE_DIR" value="${WORKSPACE_DIR}\MdePkg/" />
- <property name="ARCH" value="${ARCH}" />
- <property name="TARGET" value="${TARGET}" />
- <property name="PACKAGE" value="MdePkg" />
- </ant>
- <ant antfile="${WORKSPACE_DIR}\MdePkg\Library\BasePrintLib\build.xml" inheritAll="false" target="BasePrintLib">
- <property name="WORKSPACE_DIR" value="${WORKSPACE_DIR}" />
- <property name="PACKAGE_DIR" value="${WORKSPACE_DIR}\MdePkg/" />
- <property name="ARCH" value="${ARCH}" />
- <property name="TARGET" value="${TARGET}" />
- <property name="PACKAGE" value="MdePkg" />
- </ant>
- <ant antfile="${WORKSPACE_DIR}\MdePkg\Library\BasePeCoffLib\build.xml" inheritAll="false" target="BasePeCoffLib">
- <property name="WORKSPACE_DIR" value="${WORKSPACE_DIR}" />
- <property name="PACKAGE_DIR" value="${WORKSPACE_DIR}\MdePkg/" />
- <property name="ARCH" value="${ARCH}" />
- <property name="TARGET" value="${TARGET}" />
- <property name="PACKAGE" value="MdePkg" />
- </ant>
- <ant antfile="${WORKSPACE_DIR}\MdePkg\Library\BaseReportStatusCodeLibNull\build.xml" inheritAll="false" target="BaseReportStatusCodeLibNull">
- <property name="WORKSPACE_DIR" value="${WORKSPACE_DIR}" />
- <property name="PACKAGE_DIR" value="${WORKSPACE_DIR}\MdePkg/" />
- <property name="ARCH" value="${ARCH}" />
- <property name="TARGET" value="${TARGET}" />
- <property name="PACKAGE" value="MdePkg" />
- </ant>
- <ant antfile="${WORKSPACE_DIR}\MdePkg\Library\BaseDebugLibNull\build.xml" inheritAll="false" target="BaseDebugLibNull">
- <property name="WORKSPACE_DIR" value="${WORKSPACE_DIR}" />
- <property name="PACKAGE_DIR" value="${WORKSPACE_DIR}\MdePkg/" />
- <property name="ARCH" value="${ARCH}" />
- <property name="TARGET" value="${TARGET}" />
- <property name="PACKAGE" value="MdePkg" />
- </ant>
- <Expand />
+ <GenBuild type="build">
+ <property name="ARCH" value="${ARCH}"/>
+ <property name="MODULE_GUID" value="27d67720-ea68-48ae-93da-a3a074c90e30"/>
+ <property name="MODULE_VERSION" value=""/>
+ <property name="PLATFORM" value="${PLATFORM}"/>
+ <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
+ <property name="PACKAGE_VERSION" value=""/>
+ </GenBuild>
+ <GenBuild type="build">
+ <property name="ARCH" value="${ARCH}"/>
+ <property name="MODULE_GUID" value="fd44e603-002a-4b29-9f5f-529e815b6165"/>
+ <property name="MODULE_VERSION" value=""/>
+ <property name="PLATFORM" value="${PLATFORM}"/>
+ <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
+ <property name="PACKAGE_VERSION" value=""/>
+ </GenBuild>
+ <GenBuild type="build">
+ <property name="ARCH" value="${ARCH}"/>
+ <property name="MODULE_GUID" value="a86fbfca-0183-4eeb-aa8a-762e3b7da1f3"/>
+ <property name="MODULE_VERSION" value=""/>
+ <property name="PLATFORM" value="${PLATFORM}"/>
+ <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
+ <property name="PACKAGE_VERSION" value=""/>
+ </GenBuild>
+ <GenBuild type="build">
+ <property name="ARCH" value="${ARCH}"/>
+ <property name="MODULE_GUID" value="556f5d10-7309-4af4-b80a-8196bd60946f"/>
+ <property name="MODULE_VERSION" value=""/>
+ <property name="PLATFORM" value="${PLATFORM}"/>
+ <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
+ <property name="PACKAGE_VERSION" value=""/>
+ </GenBuild>
+ <GenBuild type="build">
+ <property name="ARCH" value="${ARCH}"/>
+ <property name="MODULE_GUID" value="55c61087-7367-4546-bc32-4937c5e6aff3"/>
+ <property name="MODULE_VERSION" value=""/>
+ <property name="PLATFORM" value="${PLATFORM}"/>
+ <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
+ <property name="PACKAGE_VERSION" value=""/>
+ </GenBuild>
+ <GenBuild type="build">
+ <property name="ARCH" value="${ARCH}"/>
+ <property name="MODULE_GUID" value="9ba1d976-0624-41a3-8650-28165e8d9ae8"/>
+ <property name="MODULE_VERSION" value=""/>
+ <property name="PLATFORM" value="${PLATFORM}"/>
+ <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
+ <property name="PACKAGE_VERSION" value=""/>
+ </GenBuild>
</target>
<target name="sourcefiles">
- <Build_AUTOGEN FILENAME="AutoGen" FILEPATH=".">
+ <Build_AUTOGEN FILEEXT="c" FILENAME="AutoGen" FILEPATH=".">
<EXTRA.INC>
+ <includepath path="${WORKSPACE_DIR}"/>
+ <includepath path="${MODULE_DIR}"/>
+ <includepath path="${MODULE_DIR}\${ARCH}"/>
<includepath path="${WORKSPACE_DIR}\MdePkg\Include"/>
<includepath path="${WORKSPACE_DIR}\MdePkg\Include\${ARCH}"/>
<includepath path="${WORKSPACE_DIR}\EdkModulePkg\Include"/>
@@ -80,8 +88,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <includepath path="${DEST_DIR_DEBUG}"/>
</EXTRA.INC>
</Build_AUTOGEN>
- <Build_C_Code FILENAME="FwVol" FILEPATH=".">
+ <var name="OBJECTS" value="${OBJECTS} ${DEST_DIR_OUTPUT}/AutoGen.obj" />
+ <Build_CCode FILEEXT="c" FILENAME="FwVol" FILEPATH=".">
<EXTRA.INC>
+ <includepath path="${WORKSPACE_DIR}"/>
+ <includepath path="${MODULE_DIR}"/>
+ <includepath path="${MODULE_DIR}\${ARCH}"/>
<includepath path="${WORKSPACE_DIR}\MdePkg\Include"/>
<includepath path="${WORKSPACE_DIR}\MdePkg\Include\${ARCH}"/>
<includepath path="${WORKSPACE_DIR}\EdkModulePkg\Include"/>
@@ -90,9 +102,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <includepath path="${WORKSPACE_DIR}\EdkNt32Pkg\Include\${ARCH}"/>
<includepath path="${DEST_DIR_DEBUG}"/>
</EXTRA.INC>
- </Build_C_Code>
- <Build_C_Code FILENAME="WinNtThunk" FILEPATH=".">
+ </Build_CCode>
+ <var name="OBJECTS" value="${OBJECTS} ${DEST_DIR_OUTPUT}/FwVol.obj" />
+ <Build_CCode FILEEXT="c" FILENAME="WinNtThunk" FILEPATH=".">
<EXTRA.INC>
+ <includepath path="${WORKSPACE_DIR}"/>
+ <includepath path="${MODULE_DIR}"/>
+ <includepath path="${MODULE_DIR}\${ARCH}"/>
<includepath path="${WORKSPACE_DIR}\MdePkg\Include"/>
<includepath path="${WORKSPACE_DIR}\MdePkg\Include\${ARCH}"/>
<includepath path="${WORKSPACE_DIR}\EdkModulePkg\Include"/>
@@ -101,9 +117,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <includepath path="${WORKSPACE_DIR}\EdkNt32Pkg\Include\${ARCH}"/>
<includepath path="${DEST_DIR_DEBUG}"/>
</EXTRA.INC>
- </Build_C_Code>
- <Build_C_Code FILENAME="SecMain" FILEPATH=".">
+ </Build_CCode>
+ <var name="OBJECTS" value="${OBJECTS} ${DEST_DIR_OUTPUT}/WinNtThunk.obj" />
+ <Build_CCode FILEEXT="c" FILENAME="SecMain" FILEPATH=".">
<EXTRA.INC>
+ <includepath path="${WORKSPACE_DIR}"/>
+ <includepath path="${MODULE_DIR}"/>
+ <includepath path="${MODULE_DIR}\${ARCH}"/>
<includepath path="${WORKSPACE_DIR}\MdePkg\Include"/>
<includepath path="${WORKSPACE_DIR}\MdePkg\Include\${ARCH}"/>
<includepath path="${WORKSPACE_DIR}\EdkModulePkg\Include"/>
@@ -112,12 +132,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <includepath path="${WORKSPACE_DIR}\EdkNt32Pkg\Include\${ARCH}"/>
<includepath path="${DEST_DIR_DEBUG}"/>
</EXTRA.INC>
- </Build_C_Code>
+ </Build_CCode>
+ <var name="OBJECTS" value="${OBJECTS} ${DEST_DIR_OUTPUT}/SecMain.obj" />
</target>
<target name="sections" />
<target name="output" >
- <echo message="##Entering Output!" />
-
<OnDependency>
<sourcefiles>
<file list="${OBJECTS}"/>
@@ -128,10 +147,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. </targetfiles>
<sequential>
- <shellscript shell="cmd.exe" tmpsuffix=".cmd">
+ <shellscript shell="cmd.exe" tmpsuffix=".cmd" >
<arg line="/c"/>
<arg line="call"/>
- "${LINK}" /LIBPATH:"${env.MSVCDir}\Lib" /LIBPATH:"${env.MSVCDir}\PlatformSdk\Lib" /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG Kernel32.lib MsvcRt.lib Gdi32.lib User32.lib Winmm.lib ${OBJECTS} ${LIBS} /base:0x10000000 /out:${BIN_DIR}\SecMain.exe /pdb:${DEST_DIR_DEBUG}\SecMain.pdb
+ "${DLINK}" /LIBPATH:"${env.MSVCDir}\Lib" /LIBPATH:"${env.MSVCDir}\PlatformSdk\Lib" /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG Kernel32.lib MsvcRt.lib Gdi32.lib User32.lib Winmm.lib ${OBJECTS} ${LIBS} /base:0x10000000 /out:${BIN_DIR}\SecMain.exe /pdb:${DEST_DIR_DEBUG}\SecMain.pdb
</shellscript>
</sequential>
</OnDependency>
|