No longer needed. Use USER_DEFINED module type instead.
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 27 Jul 2007 01:51:31 +0000 (01:51 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 27 Jul 2007 01:51:31 +0000 (01:51 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3464 6f19259b-4bc3-4df7-8a09-765794883524

Nt32Pkg/Sec/Makefile [deleted file]
Nt32Pkg/Sec/SecMain_build.xml [deleted file]

diff --git a/Nt32Pkg/Sec/Makefile b/Nt32Pkg/Sec/Makefile
deleted file mode 100644 (file)
index 87eb214..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-SOURCE_FILES = $(DEBUG_DIR)\AutoGen.c                 \\r
-               $(MODULE_DIR)\Nt32Pkg\Sec\WinNtThunk.c \\r
-               $(MODULE_DIR)\Nt32Pkg\Sec\FwVol.c      \\r
-               $(MODULE_DIR)\Nt32Pkg\Sec\SecMain.c\r
-               \r
-INC = -I$(WORKSPACE)\Nt32Pkg\Sec            \\r
-      -I$(DEBUG_DIR)                        \\r
-      -I$(WORKSPACE)\Nt32Pkg                \\r
-      -I$(WORKSPACE)\Nt32Pkg\Include        \\r
-      -I$(WORKSPACE)\MdePkg                 \\r
-      -I$(WORKSPACE)\MdePkg\Include\Ia32    \\r
-      -I$(WORKSPACE)\MdePkg\Include         \\r
-      -I$(WORKSPACE)\MdeModulePkg\Include   \\r
-      -I$(WORKSPACE)\IntelFrameworkPkg\Include\r
-\r
-OBJECTS = $(OUTPUT_DIR)\.\AutoGen.obj       \\r
-          $(OUTPUT_DIR)\.\WinNtThunk.obj    \\r
-          $(OUTPUT_DIR)\.\FwVol.obj         \\r
-          $(OUTPUT_DIR)\.\SecMain.obj\r
-          \r
-LIBS = $(LIB_DIR)\BaseDebugLibNull.lib      \\r
-       $(LIB_DIR)\BasePrintLib.lib          \\r
-       $(LIB_DIR)\BaseMemoryLib.lib         \\r
-       $(LIB_DIR)\BaseLib.lib               \\r
-       $(LIB_DIR)\BasePeCoffLib.lib \r
-\r
-MSVS_LINK_LIBPATHS =  /LIBPATH:"$(VCINSTALLDIR)\Lib" /LIBPATH:"$(VCINSTALLDIR)\PlatformSdk\Lib"\r
-LINK_FLAGS_EXE = /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG \\r
-                 Kernel32.lib MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib\r
-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\r
-COMMON_DEPS = $(DEBUG_DIR)\AutoGen.h\r
-\r
-all : gen_libs $(BIN_DIR)\SecMain.exe\r
-\r
-$(BIN_DIR)\SecMain.exe : $(OBJECTS)\r
-  "$(DLINK)"                        \\r
-    $(MSVS_LINK_LIBPATHS)           \\r
-    $(LINK_FLAGS_EXE)               \\r
-    $(OBJECTS)                      \\r
-    $(LIBS)                         \\r
-    /base:0x10000000                \\r
-    /out:"$(BIN_DIR)\SecMain.exe"   \\r
-    /pdb:"$(BIN_DIR)\SecMain.pdb"\r
-    \r
-gen_libs:\r
-       cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BaseDebugLibNull\BaseDebugLibNull\r
-       $(MAKE) $(MAKE_FLAGS)\r
-       cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BasePrintLib\BasePrintLib\r
-       $(MAKE) $(MAKE_FLAGS)\r
-       cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BaseMemoryLib\BaseMemoryLib\r
-       $(MAKE) $(MAKE_FLAGS)\r
-       cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BaseLib\BaseLib\r
-       $(MAKE) $(MAKE_FLAGS)\r
-       cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BasePeCoffLib\BasePeCoffLib\r
-       $(MAKE) $(MAKE_FLAGS)\r
-  \r
-#\r
-# Individual Object Build Targets\r
-#\r
-$(OUTPUT_DIR)\.\AutoGen.obj : $(COMMON_DEPS)\r
-$(OUTPUT_DIR)\.\AutoGen.obj : $(DEBUG_DIR)\AutoGen.c\r
-       "$(CC)" $(CC_FLAGS) $(INC) /Fo$@ $(DEBUG_DIR)\AutoGen.c\r
-\r
-$(OUTPUT_DIR)\.\WinNtThunk.obj : $(COMMON_DEPS)\r
-$(OUTPUT_DIR)\.\WinNtThunk.obj : $(MODULE_DIR)\WinNtThunk.c\r
-       "$(CC)" $(CC_FLAGS) $(INC) /Fo$@ $(MODULE_DIR)\WinNtThunk.c\r
-\r
-$(OUTPUT_DIR)\.\FwVol.obj : $(COMMON_DEPS)\r
-$(OUTPUT_DIR)\.\FwVol.obj : $(MODULE_DIR)\FwVol.c\r
-       "$(CC)" $(CC_FLAGS) $(INC) /Fo$@ $(MODULE_DIR)\FwVol.c\r
-       \r
-$(OUTPUT_DIR)\.\SecMain.obj : $(COMMON_DEPS)\r
-$(OUTPUT_DIR)\.\SecMain.obj : $(MODULE_DIR)\SecMain.c\r
-       "$(CC)" $(CC_FLAGS) $(INC) /Fo$@ $(MODULE_DIR)\SecMain.c\r
-       \r
-clean:\r
-#  - @if exist $(DEBUG_DIR)\AutoGen.c del $(DEBUG_DIR)\AutoGen.c > NUL\r
-#  - @if exist $(DEBUG_DIR)\AutoGen.h del $(DEBUG_DIR)\AutoGen.h > NUL\r
-#  - @if exist $(OUTPUT_DIR)\.\*.obj del $(OUTPUT_DIR)\.\*.obj > NUL\r
-#  - @if exist $(MODULE_BUILD_DIR)\makefile del $(MODULE_BUILD_DIR)\makefile > NUL\r
-#  - @if exist $(MODULE_BUILD_DIR)\*.idb del $(MODULE_BUILD_DIR)\*.idb > NUL\r
-#  - @if exist $(MODULE_BUILD_DIR)\*.pdb del $(MODULE_BUILD_DIR)\*.pdb > NUL\r
-#  - @if exist $(BIN_DIR)\SecMain.exe del $(BIN_DIR)\SecMain.exe > NUL\r
-#  - @if exist $(BIN_DIR)\SecMain.pdb del $(BIN_DIR)\SecMain.pdb > NUL\r
-  - @rmdir /s /q $(OUTPUT_DIR) > NUL 2>&1\r
-  \r
-cleanall:\r
-  - @rmdir /s /q $(OUTPUT_DIR) $(DEBUG_DIR) > NUL 2>&1\r
-       - @del /f /q *.pdb *.idb > NUL 2>&1\r
-  \r
-  
\ No newline at end of file
diff --git a/Nt32Pkg/Sec/SecMain_build.xml b/Nt32Pkg/Sec/SecMain_build.xml
deleted file mode 100644 (file)
index fc26a10..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-<?xml version="1.0" ?>\r
-<!--\r
-Copyright (c) 2006, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
--->\r
-<project name="SecMain" default="main" basedir="." >\r
-  <!-- Apply external ANT task -->\r
-  <taskdef resource="frameworktasks.tasks" /> \r
-  <taskdef resource="cpptasks.tasks" /> \r
-  <typedef resource="cpptasks.types" /> \r
-  <taskdef resource="net/sf/antcontrib/antlib.xml" />\r
-  <property environment="env" />\r
-  <!-- All Properties --> \r
-  <property name="BASE_NAME" value="SecMain" /> \r
-  \r
-  <!-- Default target --> \r
-  <target name="main" depends="libraries, sourcefiles, sections, output" /> \r
-  <!-- Compile all dependency Library instances. --> \r
-\r
-  <target name="libraries">\r
-    <GenBuild type="build">\r
-      <property name="ARCH" value="${ARCH}"/>\r
-      <property name="MODULE_GUID" value="27d67720-ea68-48ae-93da-a3a074c90e30"/>\r
-      <property name="MODULE_VERSION" value=""/>\r
-      <property name="PLATFORM" value="${PLATFORM}"/>\r
-      <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
-      <property name="PACKAGE_VERSION" value=""/>\r
-    </GenBuild>\r
-    <GenBuild type="build">\r
-      <property name="ARCH" value="${ARCH}"/>\r
-      <property name="MODULE_GUID" value="fd44e603-002a-4b29-9f5f-529e815b6165"/>\r
-      <property name="MODULE_VERSION" value=""/>\r
-      <property name="PLATFORM" value="${PLATFORM}"/>\r
-      <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
-      <property name="PACKAGE_VERSION" value=""/>\r
-    </GenBuild>\r
-    <GenBuild type="build">\r
-      <property name="ARCH" value="${ARCH}"/>\r
-      <property name="MODULE_GUID" value="a86fbfca-0183-4eeb-aa8a-762e3b7da1f3"/>\r
-      <property name="MODULE_VERSION" value=""/>\r
-      <property name="PLATFORM" value="${PLATFORM}"/>\r
-      <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
-      <property name="PACKAGE_VERSION" value=""/>\r
-    </GenBuild>\r
-    <GenBuild type="build">\r
-      <property name="ARCH" value="${ARCH}"/>\r
-      <property name="MODULE_GUID" value="556f5d10-7309-4af4-b80a-8196bd60946f"/>\r
-      <property name="MODULE_VERSION" value=""/>\r
-      <property name="PLATFORM" value="${PLATFORM}"/>\r
-      <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
-      <property name="PACKAGE_VERSION" value=""/>\r
-    </GenBuild>\r
-    <GenBuild type="build">\r
-      <property name="ARCH" value="${ARCH}"/>\r
-      <property name="MODULE_GUID" value="9ba1d976-0624-41a3-8650-28165e8d9ae8"/>\r
-      <property name="MODULE_VERSION" value=""/>\r
-      <property name="PLATFORM" value="${PLATFORM}"/>\r
-      <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
-      <property name="PACKAGE_VERSION" value=""/>\r
-    </GenBuild>\r
-  </target>\r
-  <target name="sourcefiles">\r
-      <Build_Init>\r
-        <EXTRA.INC>\r
-          <includepath path="${INCLUDE_PATHS}"/>\r
-        </EXTRA.INC>\r
-      </Build_Init>\r
-      <Build_AUTOGEN FILEEXT="c" FILENAME="AutoGen" FILEPATH=".">\r
-         <EXTRA.INC>\r
-            <includepath path="${INCLUDE_PATHS}"/>\r
-         </EXTRA.INC>\r
-       </Build_AUTOGEN>\r
-      <Build_CCode FILEEXT="c" FILENAME="FwVol" FILEPATH=".">\r
-         <EXTRA.INC>\r
-            <includepath path="${INCLUDE_PATHS}"/>\r
-         </EXTRA.INC>\r
-      </Build_CCode>\r
-      <Build_CCode FILEEXT="c" FILENAME="WinNtThunk" FILEPATH=".">\r
-         <EXTRA.INC>\r
-            <includepath path="${INCLUDE_PATHS}"/>\r
-         </EXTRA.INC>\r
-      </Build_CCode>\r
-      <Build_CCode FILEEXT="c" FILENAME="SecMain" FILEPATH=".">\r
-         <EXTRA.INC>\r
-            <includepath path="${INCLUDE_PATHS}"/>\r
-         </EXTRA.INC>\r
-      </Build_CCode>\r
-    </target>\r
-\r
-    <target name="sections" />\r
-\r
-    <target name="output" >\r
-      <if>\r
-        <available type="file" file="${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>\r
-        <then>\r
-          <var name="SLINK_FLAGS" value="${SLINK_FLAGS} ${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>\r
-        </then>\r
-      </if>\r
-      <OnDependency>\r
-        <sourcefiles>\r
-          <fileset dir="${DEST_DIR_OUTPUT}" includes="${OBJECTS}" />\r
-          <file list="${LIBS}"/>\r
-        </sourcefiles>\r
-        <targetfiles>\r
-          <file name="${BIN_DIR}\SecMain.exe"/>\r
-        </targetfiles>\r
-        \r
-        <sequential>\r
-          <cc userdefine="on">\r
-            <command type="SLINK" cmd="${SLINK}" family="${SLINK_FAMILY}"\r
-                outputFile="${DEST_DIR_OUTPUT}/SecMainLocal.lib" dpath="${SLINK_DPATH}">\r
-                \r
-              <argument value="${SLINK_FLAGS}"/>\r
-\r
-              <fileset dir="${DEST_DIR_OUTPUT}" includes="${OBJECTS}"/>\r
-            </command>\r
-          </cc>\r
-\r
-          <var name="LIBS" value="${LIBS} ${DEST_DIR_OUTPUT}/SecMainLocal.lib" />\r
-         \r
-          <shellscript shell="cmd.exe" tmpsuffix=".cmd" >\r
-            <arg line="/q"/>\r
-            <arg line="/c"/>\r
-            <arg line="call"/>\r
-            PATH ${DLINK_DPATH};%path%\r
-            "${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\r
-          </shellscript>\r
-        </sequential>\r
-      </OnDependency>\r
-  </target>\r
-  \r
-  <target name="clean" ></target>\r
-\r
-  <target name="cleanAll"></target>\r
-</project>\r