Fix the issue that Sec lost library build dependency

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3083 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2007-07-06 02:07:57 +00:00
parent d695558b20
commit 910f969c93
1 changed files with 13 additions and 1 deletions

View File

@ -30,7 +30,7 @@ LINK_FLAGS_EXE = /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT
CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /Od /DSTRING_ARRAY_NAME=SecMainStrings /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /Od /DSTRING_ARRAY_NAME=SecMainStrings /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm
COMMON_DEPS = $(DEBUG_DIR)\AutoGen.h COMMON_DEPS = $(DEBUG_DIR)\AutoGen.h
all : $(BIN_DIR)\SecMain.exe all : gen_libs $(BIN_DIR)\SecMain.exe
$(BIN_DIR)\SecMain.exe : $(OBJECTS) $(BIN_DIR)\SecMain.exe : $(OBJECTS)
"$(DLINK)" \ "$(DLINK)" \
@ -42,6 +42,18 @@ $(BIN_DIR)\SecMain.exe : $(OBJECTS)
/out:"$(BIN_DIR)\SecMain.exe" \ /out:"$(BIN_DIR)\SecMain.exe" \
/pdb:"$(BIN_DIR)\SecMain.pdb" /pdb:"$(BIN_DIR)\SecMain.pdb"
gen_libs:
cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BaseDebugLibNull\BaseDebugLibNull
$(MAKE) $(MAKE_FLAGS)
cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BasePrintLib\BasePrintLib
$(MAKE) $(MAKE_FLAGS)
cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BaseMemoryLib\BaseMemoryLib
$(MAKE) $(MAKE_FLAGS)
cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BaseLib\BaseLib
$(MAKE) $(MAKE_FLAGS)
cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BasePeCoffLib\BasePeCoffLib
$(MAKE) $(MAKE_FLAGS)
# #
# Individual Object Build Targets # Individual Object Build Targets
# #