1. Removed the unnecessary #include statements and include files

2. Removed the unnecessary library and include path from MSA files


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@541 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
yshi8
2006-06-16 11:42:42 +00:00
parent 5a96e3e3fe
commit ce53a8c3b2
93 changed files with 434 additions and 659 deletions

View File

@@ -61,22 +61,22 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
</echo>
</else>
</if>
<if>
<equals arg1="${ToolChain}" arg2="msvc"/>
<then>
<if>
<equals arg1="${ToolChain}" arg2="msvc"/>
<then>
<property name="ext_static" value=".lib"/>
<property name="ext_dynamic" value=".dll"/>
<property name="ext_exe" value=".exe"/>
</then>
<elseif>
<equals arg1="${ToolChain}" arg2="gcc"/>
<then>
</then>
<elseif>
<equals arg1="${ToolChain}" arg2="gcc"/>
<then>
<property name="ext_static" value=".a"/>
<property name="ext_dynamic" value=".so"/>
<property name="ext_exe" value=""/>
</then>
</elseif>
</if>
</then>
</elseif>
</if>
</target>
<target name="Tool" depends="init">
@@ -91,10 +91,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
excludes="*.xml *.inf"/>
<includepath path="${PACKAGE_DIR}/Include"/>
<includepath path="${PACKAGE_DIR}/Include/Common"/>
<includepath path="${PACKAGE_DIR}/Include/Ia32"/>
<includepath path="${PACKAGE_DIR}/Common"/>
<libset dir="${LIB_DIR}" libs="CommonTools"/>
<libset dir="${LIB_DIR}" libs="CommonTools"/>
</cc>
</target>

View File

@@ -19,7 +19,8 @@ Abstract:
--*/
#include <WinNtInclude.h>
#include "WinNtInclude.h"
#ifndef __GNUC__
#include <windows.h>
#endif
@@ -28,11 +29,11 @@ Abstract:
#include <string.h>
#include <time.h>
#include <Base.h>
#include <UefiBaseTypes.h>
#include <CommonLib.h>
#include <EfiImage.h>
#include <EfiUtilityMsgs.c>
#include <Common/UefiBaseTypes.h>
#include <Common/EfiImage.h>
#include "CommonLib.h"
#include "EfiUtilityMsgs.c"
#define UTILITY_NAME "FwImage"