diff --git a/Nt32Pkg/Sec/Makefile b/Nt32Pkg/Sec/Makefile deleted file mode 100644 index 87eb214837..0000000000 --- a/Nt32Pkg/Sec/Makefile +++ /dev/null @@ -1,91 +0,0 @@ -SOURCE_FILES = $(DEBUG_DIR)\AutoGen.c \ - $(MODULE_DIR)\Nt32Pkg\Sec\WinNtThunk.c \ - $(MODULE_DIR)\Nt32Pkg\Sec\FwVol.c \ - $(MODULE_DIR)\Nt32Pkg\Sec\SecMain.c - -INC = -I$(WORKSPACE)\Nt32Pkg\Sec \ - -I$(DEBUG_DIR) \ - -I$(WORKSPACE)\Nt32Pkg \ - -I$(WORKSPACE)\Nt32Pkg\Include \ - -I$(WORKSPACE)\MdePkg \ - -I$(WORKSPACE)\MdePkg\Include\Ia32 \ - -I$(WORKSPACE)\MdePkg\Include \ - -I$(WORKSPACE)\MdeModulePkg\Include \ - -I$(WORKSPACE)\IntelFrameworkPkg\Include - -OBJECTS = $(OUTPUT_DIR)\.\AutoGen.obj \ - $(OUTPUT_DIR)\.\WinNtThunk.obj \ - $(OUTPUT_DIR)\.\FwVol.obj \ - $(OUTPUT_DIR)\.\SecMain.obj - -LIBS = $(LIB_DIR)\BaseDebugLibNull.lib \ - $(LIB_DIR)\BasePrintLib.lib \ - $(LIB_DIR)\BaseMemoryLib.lib \ - $(LIB_DIR)\BaseLib.lib \ - $(LIB_DIR)\BasePeCoffLib.lib - -MSVS_LINK_LIBPATHS = /LIBPATH:"$(VCINSTALLDIR)\Lib" /LIBPATH:"$(VCINSTALLDIR)\PlatformSdk\Lib" -LINK_FLAGS_EXE = /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG \ - Kernel32.lib MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib -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 - -all : gen_libs $(BIN_DIR)\SecMain.exe - -$(BIN_DIR)\SecMain.exe : $(OBJECTS) - "$(DLINK)" \ - $(MSVS_LINK_LIBPATHS) \ - $(LINK_FLAGS_EXE) \ - $(OBJECTS) \ - $(LIBS) \ - /base:0x10000000 \ - /out:"$(BIN_DIR)\SecMain.exe" \ - /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 -# -$(OUTPUT_DIR)\.\AutoGen.obj : $(COMMON_DEPS) -$(OUTPUT_DIR)\.\AutoGen.obj : $(DEBUG_DIR)\AutoGen.c - "$(CC)" $(CC_FLAGS) $(INC) /Fo$@ $(DEBUG_DIR)\AutoGen.c - -$(OUTPUT_DIR)\.\WinNtThunk.obj : $(COMMON_DEPS) -$(OUTPUT_DIR)\.\WinNtThunk.obj : $(MODULE_DIR)\WinNtThunk.c - "$(CC)" $(CC_FLAGS) $(INC) /Fo$@ $(MODULE_DIR)\WinNtThunk.c - -$(OUTPUT_DIR)\.\FwVol.obj : $(COMMON_DEPS) -$(OUTPUT_DIR)\.\FwVol.obj : $(MODULE_DIR)\FwVol.c - "$(CC)" $(CC_FLAGS) $(INC) /Fo$@ $(MODULE_DIR)\FwVol.c - -$(OUTPUT_DIR)\.\SecMain.obj : $(COMMON_DEPS) -$(OUTPUT_DIR)\.\SecMain.obj : $(MODULE_DIR)\SecMain.c - "$(CC)" $(CC_FLAGS) $(INC) /Fo$@ $(MODULE_DIR)\SecMain.c - -clean: -# - @if exist $(DEBUG_DIR)\AutoGen.c del $(DEBUG_DIR)\AutoGen.c > NUL -# - @if exist $(DEBUG_DIR)\AutoGen.h del $(DEBUG_DIR)\AutoGen.h > NUL -# - @if exist $(OUTPUT_DIR)\.\*.obj del $(OUTPUT_DIR)\.\*.obj > NUL -# - @if exist $(MODULE_BUILD_DIR)\makefile del $(MODULE_BUILD_DIR)\makefile > NUL -# - @if exist $(MODULE_BUILD_DIR)\*.idb del $(MODULE_BUILD_DIR)\*.idb > NUL -# - @if exist $(MODULE_BUILD_DIR)\*.pdb del $(MODULE_BUILD_DIR)\*.pdb > NUL -# - @if exist $(BIN_DIR)\SecMain.exe del $(BIN_DIR)\SecMain.exe > NUL -# - @if exist $(BIN_DIR)\SecMain.pdb del $(BIN_DIR)\SecMain.pdb > NUL - - @rmdir /s /q $(OUTPUT_DIR) > NUL 2>&1 - -cleanall: - - @rmdir /s /q $(OUTPUT_DIR) $(DEBUG_DIR) > NUL 2>&1 - - @del /f /q *.pdb *.idb > NUL 2>&1 - - \ No newline at end of file diff --git a/Nt32Pkg/Sec/SecMain_build.xml b/Nt32Pkg/Sec/SecMain_build.xml deleted file mode 100644 index fc26a10779..0000000000 --- a/Nt32Pkg/Sec/SecMain_build.xml +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PATH ${DLINK_DPATH};%path% - "${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 MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib ${LIBS} /base:0x10000000 /out:${BIN_DIR}\SecMain.exe /pdb:${DEST_DIR_DEBUG}\SecMain.pdb - - - - - - - - -