Add AutoGen.h.obj to the list of files to link to resolve a link failure with VS 2005

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1653 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney 2006-10-04 22:51:18 +00:00
parent d41eaad28d
commit 2e4af2a18f
1 changed files with 12 additions and 0 deletions

View File

@ -517,6 +517,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<sequential>
<var name="FILE_BASENAME" value="@{FILENAME}" />
<var name="FILE_PATH" value="." />
<if>
<available type="file" file="${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>
<then>
<var name="SLINK_FLAGS" value="${SLINK_FLAGS} ${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>
</then>
</if>
<mkdir dir="${BIN_DIR}"/>
<OnDependency>
@ -788,6 +794,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<sequential>
<var name="FILE_BASENAME" value="@{FILENAME}" />
<var name="FILE_PATH" value="@{FILEPATH}" />
<if>
<available type="file" file="${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>
<then>
<var name="SLINK_FLAGS" value="${SLINK_FLAGS} ${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>
</then>
</if>
<OnDependency>
<sourcefiles>
<file list="${LIBS}"/>