]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Sample/Tools/Source/Makefile
comment CpuRuntimeDxe driver to not break Nt32Pkg build
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / Makefile
CommitLineData
3eb9473e 1#/*++\r
2#\r
3# Copyright (c) 2004 - 2007, Intel Corporation \r
4# All rights reserved. This program and the accompanying materials \r
5# are licensed and made available under the terms and conditions of the BSD License \r
6# which accompanies this distribution. The full text of the license may be found at \r
7# http://opensource.org/licenses/bsd-license.php \r
8# \r
9# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11# \r
12# Module Name: makefile\r
13#\r
14# Abstract:\r
15#\r
16# This file is used to build the EFI build tools.\r
17#\r
18#--*/\r
19\r
20#\r
21# Everything depends on EDK_SOURCE. Make sure it's defined\r
22#\r
23!IFNDEF EDK_SOURCE\r
24!ERROR EDK_SOURCE environmental variable not set\r
25!ENDIF\r
26\r
27#\r
28# Define our toolchain before we include the master settings file\r
29#\r
30TOOLCHAIN = TOOLCHAIN_MSVC\r
31\r
32!INCLUDE $(BUILD_DIR)\PlatformTools.env\r
33\r
34#\r
35# Define all the makefiles we want to call\r
36#\r
37\r
38MAKEFILES = $(EDK_TOOLS_SOURCE)\Common\Makefile \\r
39 $(CUSTOMIZEDCOMPRESS_MAKEFILE) \\r
40 $(EDK_TOOLS_SOURCE)\GenCRC32Section\Makefile \\r
41 $(EDK_TOOLS_SOURCE)\GenSection\Makefile \\r
42 $(EDK_TOOLS_SOURCE)\GenDepex\Makefile \\r
43 $(EDK_TOOLS_SOURCE)\GenFfsFile\Makefile \\r
44 $(EDK_TOOLS_SOURCE)\GenFvImage\Makefile \\r
45 $(EDK_TOOLS_SOURCE)\FwImage\Makefile \\r
46 $(EDK_TOOLS_SOURCE)\ProcessDsc\makefile \\r
47 $(EDK_TOOLS_SOURCE)\GuidChk\makefile \\r
48 $(EDK_TOOLS_SOURCE)\MakeDeps\makefile \\r
49 $(EDK_TOOLS_SOURCE)\SetStamp\makefile \\r
50 $(EDK_TOOLS_SOURCE)\VfrCompile\makefile \\r
51 $(EDK_TOOLS_SOURCE)\StrGather\makefile \\r
52 $(EDK_TOOLS_SOURCE)\BootsectImage\Makefile \\r
53 $(EDK_TOOLS_SOURCE)\GenBootsector\Makefile \\r
54 $(EDK_TOOLS_SOURCE)\GenPage\Makefile \\r
55 $(EDK_TOOLS_SOURCE)\SplitFile\Makefile \\r
56 $(EDK_TOOLS_SOURCE)\EfiCompress\Makefile \\r
57 $(EDK_TOOLS_SOURCE)\EfildrImage\Makefile \\r
58 $(EDK_TOOLS_SOURCE)\EfiRom\Makefile \\r
59 $(EDK_TOOLS_SOURCE)\GenAprioriFile\Makefile \\r
60 $(EDK_TOOLS_SOURCE)\ModifyInf\Makefile\r
61\r
62\r
63\r
64#\r
65# Define default all target which calls all our makefiles. The special\r
66# bang (!) tells nmake to do the command for each out-of-date dependent.\r
67#\r
68# Create the BIN directory, which will only exist if you pull the source tree\r
69# from version control.\r
70#\r
71all : $(MAKEFILES)\r
72 -if not exist $(EDK_TOOLS_OUTPUT) mkdir $(EDK_TOOLS_OUTPUT)\r
73 !$(MAKE) -f $? TOOLCHAIN=$(TOOLCHAIN) BUILD_DIR=$(BUILD_DIR) all\r
74 \r
75#\r
76# Call all the tools makefiles with a clean target.\r
77#\r
78clean : $(MAKEFILES)\r
79 !$(MAKE) -f $? TOOLCHAIN=$(TOOLCHAIN) clean\r