Import Usb/UsbBusDxe and Usb/UsbMassStorageDxe into MdeModulePkg.
[mirror_edk2.git] / EdkNt32Pkg / Sec / SecMain_build.xml
CommitLineData
878ddf1f 1<?xml version="1.0" ?>\r
2<!--\r
3Copyright (c) 2006, Intel Corporation\r
4All rights reserved. This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11-->\r
12<project name="SecMain" default="main" basedir="." >\r
13 <!-- Apply external ANT task -->\r
14 <taskdef resource="frameworktasks.tasks" /> \r
15 <taskdef resource="cpptasks.tasks" /> \r
16 <typedef resource="cpptasks.types" /> \r
17 <taskdef resource="net/sf/antcontrib/antlib.xml" />\r
18 <property environment="env" />\r
19 <!-- All Properties --> \r
20 <property name="BASE_NAME" value="SecMain" /> \r
21 \r
22 <!-- Default target --> \r
23 <target name="main" depends="libraries, sourcefiles, sections, output" /> \r
24 <!-- Compile all dependency Library instances. --> \r
25\r
26 <target name="libraries">\r
2d527200 27 <GenBuild type="build">\r
28 <property name="ARCH" value="${ARCH}"/>\r
29 <property name="MODULE_GUID" value="27d67720-ea68-48ae-93da-a3a074c90e30"/>\r
30 <property name="MODULE_VERSION" value=""/>\r
31 <property name="PLATFORM" value="${PLATFORM}"/>\r
32 <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
33 <property name="PACKAGE_VERSION" value=""/>\r
34 </GenBuild>\r
35 <GenBuild type="build">\r
36 <property name="ARCH" value="${ARCH}"/>\r
37 <property name="MODULE_GUID" value="fd44e603-002a-4b29-9f5f-529e815b6165"/>\r
38 <property name="MODULE_VERSION" value=""/>\r
39 <property name="PLATFORM" value="${PLATFORM}"/>\r
40 <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
41 <property name="PACKAGE_VERSION" value=""/>\r
42 </GenBuild>\r
43 <GenBuild type="build">\r
44 <property name="ARCH" value="${ARCH}"/>\r
45 <property name="MODULE_GUID" value="a86fbfca-0183-4eeb-aa8a-762e3b7da1f3"/>\r
46 <property name="MODULE_VERSION" value=""/>\r
47 <property name="PLATFORM" value="${PLATFORM}"/>\r
48 <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
49 <property name="PACKAGE_VERSION" value=""/>\r
50 </GenBuild>\r
51 <GenBuild type="build">\r
52 <property name="ARCH" value="${ARCH}"/>\r
53 <property name="MODULE_GUID" value="556f5d10-7309-4af4-b80a-8196bd60946f"/>\r
54 <property name="MODULE_VERSION" value=""/>\r
55 <property name="PLATFORM" value="${PLATFORM}"/>\r
56 <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
57 <property name="PACKAGE_VERSION" value=""/>\r
58 </GenBuild>\r
59 <GenBuild type="build">\r
60 <property name="ARCH" value="${ARCH}"/>\r
2d527200 61 <property name="MODULE_GUID" value="9ba1d976-0624-41a3-8650-28165e8d9ae8"/>\r
62 <property name="MODULE_VERSION" value=""/>\r
63 <property name="PLATFORM" value="${PLATFORM}"/>\r
64 <property name="PACKAGE_GUID" value="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
65 <property name="PACKAGE_VERSION" value=""/>\r
66 </GenBuild>\r
878ddf1f 67 </target>\r
68 <target name="sourcefiles">\r
1549f516 69 <Build_Init>\r
70 <EXTRA.INC>\r
71 <includepath path="${INCLUDE_PATHS}"/>\r
72 </EXTRA.INC>\r
73 </Build_Init>\r
2d527200 74 <Build_AUTOGEN FILEEXT="c" FILENAME="AutoGen" FILEPATH=".">\r
878ddf1f 75 <EXTRA.INC>\r
bf3a7173 76 <includepath path="${INCLUDE_PATHS}"/>\r
878ddf1f 77 </EXTRA.INC>\r
78 </Build_AUTOGEN>\r
2d527200 79 <Build_CCode FILEEXT="c" FILENAME="FwVol" FILEPATH=".">\r
878ddf1f 80 <EXTRA.INC>\r
bf3a7173 81 <includepath path="${INCLUDE_PATHS}"/>\r
878ddf1f 82 </EXTRA.INC>\r
2d527200 83 </Build_CCode>\r
2d527200 84 <Build_CCode FILEEXT="c" FILENAME="WinNtThunk" FILEPATH=".">\r
878ddf1f 85 <EXTRA.INC>\r
bf3a7173 86 <includepath path="${INCLUDE_PATHS}"/>\r
878ddf1f 87 </EXTRA.INC>\r
2d527200 88 </Build_CCode>\r
2d527200 89 <Build_CCode FILEEXT="c" FILENAME="SecMain" FILEPATH=".">\r
878ddf1f 90 <EXTRA.INC>\r
bf3a7173 91 <includepath path="${INCLUDE_PATHS}"/>\r
878ddf1f 92 </EXTRA.INC>\r
2d527200 93 </Build_CCode>\r
878ddf1f 94 </target>\r
2f62848a 95\r
878ddf1f 96 <target name="sections" />\r
2f62848a 97\r
878ddf1f 98 <target name="output" >\r
956e7946 99 <if>\r
100 <available type="file" file="${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>\r
101 <then>\r
102 <var name="SLINK_FLAGS" value="${SLINK_FLAGS} ${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>\r
103 </then>\r
104 </if>\r
878ddf1f 105 <OnDependency>\r
106 <sourcefiles>\r
2f62848a 107 <fileset dir="${DEST_DIR_OUTPUT}" includes="${OBJECTS}" />\r
878ddf1f 108 <file list="${LIBS}"/>\r
109 </sourcefiles>\r
110 <targetfiles>\r
111 <file name="${BIN_DIR}\SecMain.exe"/>\r
112 </targetfiles>\r
113 \r
114 <sequential>\r
2f62848a 115 <cc userdefine="on">\r
116 <command type="SLINK" cmd="${SLINK}" family="${SLINK_FAMILY}"\r
e2c55f6b 117 outputFile="${DEST_DIR_OUTPUT}/SecMainLocal.lib" dpath="${SLINK_DPATH}">\r
2f62848a 118 \r
119 <argument value="${SLINK_FLAGS}"/>\r
120\r
121 <fileset dir="${DEST_DIR_OUTPUT}" includes="${OBJECTS}"/>\r
122 </command>\r
123 </cc>\r
e2c55f6b 124\r
2f62848a 125 <var name="LIBS" value="${LIBS} ${DEST_DIR_OUTPUT}/SecMainLocal.lib" />\r
126 \r
2d527200 127 <shellscript shell="cmd.exe" tmpsuffix=".cmd" >\r
219e2247 128 <arg line="/q"/>\r
878ddf1f 129 <arg line="/c"/>\r
130 <arg line="call"/>\r
e2c55f6b 131 PATH ${DLINK_DPATH};%path%\r
2f62848a 132 "${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
878ddf1f 133 </shellscript>\r
134 </sequential>\r
135 </OnDependency>\r
878ddf1f 136 </target>\r
2f62848a 137 \r
878ddf1f 138 <target name="clean" ></target>\r
139\r
140 <target name="cleanAll"></target>\r
141</project>\r