]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Sample/Tools/Source/Makefile
1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
[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
3eb9473e 20#\r
21# Define our toolchain before we include the master settings file\r
22#\r
23TOOLCHAIN = TOOLCHAIN_MSVC\r
24\r
25!INCLUDE $(BUILD_DIR)\PlatformTools.env\r
26\r
27#\r
28# Define all the makefiles we want to call\r
29#\r
30\r
31MAKEFILES = $(EDK_TOOLS_SOURCE)\Common\Makefile \\r
32 $(CUSTOMIZEDCOMPRESS_MAKEFILE) \\r
33 $(EDK_TOOLS_SOURCE)\GenCRC32Section\Makefile \\r
34 $(EDK_TOOLS_SOURCE)\GenSection\Makefile \\r
35 $(EDK_TOOLS_SOURCE)\GenDepex\Makefile \\r
36 $(EDK_TOOLS_SOURCE)\GenFfsFile\Makefile \\r
37 $(EDK_TOOLS_SOURCE)\GenFvImage\Makefile \\r
95d675b5 38 $(EDK_TOOLS_SOURCE)\GenTEImage\makefile \\r
3eb9473e 39 $(EDK_TOOLS_SOURCE)\FwImage\Makefile \\r
40 $(EDK_TOOLS_SOURCE)\ProcessDsc\makefile \\r
41 $(EDK_TOOLS_SOURCE)\GuidChk\makefile \\r
42 $(EDK_TOOLS_SOURCE)\MakeDeps\makefile \\r
43 $(EDK_TOOLS_SOURCE)\SetStamp\makefile \\r
95d675b5 44!IF "$(EFI_SPECIFICATION_VERSION)" >= "0x0002000A"\r
45 $(EDK_TOOLS_SOURCE)\UefiVfrCompile\makefile \\r
46 $(EDK_TOOLS_SOURCE)\UefiStrGather\makefile \\r
47!ELSE\r
3eb9473e 48 $(EDK_TOOLS_SOURCE)\VfrCompile\makefile \\r
49 $(EDK_TOOLS_SOURCE)\StrGather\makefile \\r
95d675b5 50!ENDIF\r
3eb9473e 51 $(EDK_TOOLS_SOURCE)\SplitFile\Makefile \\r
95d675b5 52 $(EDK_TOOLS_SOURCE)\Strip\Makefile \\r
3eb9473e 53 $(EDK_TOOLS_SOURCE)\EfiCompress\Makefile \\r
3eb9473e 54 $(EDK_TOOLS_SOURCE)\EfiRom\Makefile \\r
55 $(EDK_TOOLS_SOURCE)\GenAprioriFile\Makefile \\r
56 $(EDK_TOOLS_SOURCE)\ModifyInf\Makefile\r
57\r
3eb9473e 58#\r
59# Define default all target which calls all our makefiles. The special\r
60# bang (!) tells nmake to do the command for each out-of-date dependent.\r
61#\r
62# Create the BIN directory, which will only exist if you pull the source tree\r
63# from version control.\r
64#\r
65all : $(MAKEFILES)\r
66 -if not exist $(EDK_TOOLS_OUTPUT) mkdir $(EDK_TOOLS_OUTPUT)\r
67 !$(MAKE) -f $? TOOLCHAIN=$(TOOLCHAIN) BUILD_DIR=$(BUILD_DIR) all\r
68 \r
69#\r
70# Call all the tools makefiles with a clean target.\r
71#\r
72clean : $(MAKEFILES)\r
73 !$(MAKE) -f $? TOOLCHAIN=$(TOOLCHAIN) clean\r