]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Sample/Tools/Source/Makefile
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / Makefile
CommitLineData
3eb9473e 1#/*++\r
2#\r
3e99020d 3# Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>\r
4b1e1121 4# This program and the accompanying materials \r
3eb9473e 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
3e99020d 47 $(EDK_TOOLS_SOURCE)\UefiHiiPack\Makefile \\r
95d675b5 48!ELSE\r
3eb9473e 49 $(EDK_TOOLS_SOURCE)\VfrCompile\makefile \\r
50 $(EDK_TOOLS_SOURCE)\StrGather\makefile \\r
3e99020d 51 $(EDK_TOOLS_SOURCE)\HiiPack\Makefile \\r
95d675b5 52!ENDIF\r
3eb9473e 53 $(EDK_TOOLS_SOURCE)\SplitFile\Makefile \\r
95d675b5 54 $(EDK_TOOLS_SOURCE)\Strip\Makefile \\r
3eb9473e 55 $(EDK_TOOLS_SOURCE)\EfiCompress\Makefile \\r
3eb9473e 56 $(EDK_TOOLS_SOURCE)\EfiRom\Makefile \\r
57 $(EDK_TOOLS_SOURCE)\GenAprioriFile\Makefile \\r
58 $(EDK_TOOLS_SOURCE)\ModifyInf\Makefile\r
59\r
3eb9473e 60#\r
61# Define default all target which calls all our makefiles. The special\r
62# bang (!) tells nmake to do the command for each out-of-date dependent.\r
63#\r
64# Create the BIN directory, which will only exist if you pull the source tree\r
65# from version control.\r
66#\r
67all : $(MAKEFILES)\r
68 -if not exist $(EDK_TOOLS_OUTPUT) mkdir $(EDK_TOOLS_OUTPUT)\r
69 !$(MAKE) -f $? TOOLCHAIN=$(TOOLCHAIN) BUILD_DIR=$(BUILD_DIR) all\r
70 \r
71#\r
72# Call all the tools makefiles with a clean target.\r
73#\r
74clean : $(MAKEFILES)\r
75 !$(MAKE) -f $? TOOLCHAIN=$(TOOLCHAIN) clean\r