BaseTools: Add DevicePath support for PCD values
[mirror_edk2.git] / BaseTools / Source / C / Makefile
CommitLineData
c69f724d 1## @file\r
2# Windows makefile for C tools build.\r
3#\r
7dbc50bd 4# Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
40d841f6 5# This program and the accompanying materials\r
c69f724d 6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
9#\r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12#\r
a9f6e0a4 13HOST_ARCH = IA32\r
c69f724d 14\r
15!INCLUDE Makefiles\ms.common\r
16\r
17LIBRARIES = Common\r
18APPLICATIONS = \\r
19 BootSectImage \\r
87d97b6a 20 BrotliCompress \\r
c69f724d 21 EfiLdrImage \\r
22 EfiRom \\r
23 GenBootSector \\r
24 GenCrc32 \\r
25 GenFfs \\r
26 GenFv \\r
27 GenFw \\r
28 GenPage \\r
29 GenSec \\r
30 GenVtf \\r
31 LzmaCompress \\r
32 Split \\r
33 TianoCompress \\r
34 VolInfo \\r
7dbc50bd
YZ
35 VfrCompile \\r
36 DevicePath\r
c69f724d 37\r
38all: libs apps install\r
39\r
40libs: $(LIBRARIES)\r
41 @echo.\r
42 @echo ######################\r
43 @echo # Build libraries\r
44 @echo ######################\r
45 @if not exist $(LIB_PATH) mkdir $(LIB_PATH)\r
46 @Makefiles\NmakeSubdirs.bat all $**\r
47\r
48apps: $(APPLICATIONS)\r
49 @echo.\r
50 @echo ######################\r
51 @echo # Build executables\r
52 @echo ######################\r
53 @if not exist $(BIN_PATH) mkdir $(BIN_PATH)\r
54 @Makefiles\NmakeSubdirs.bat all $**\r
55\r
56install: $(LIB_PATH) $(BIN_PATH)\r
57 @echo.\r
58 @echo ######################\r
59 @echo # Install to $(SYS_LIB_PATH)\r
60 @echo # Install to $(SYS_BIN_PATH)\r
61 @echo ######################\r
62 @-xcopy $(LIB_PATH)\*.lib $(SYS_LIB_PATH) /I /D /E /F /Y > NUL 2>&1\r
63 @-xcopy $(BIN_PATH)\*.exe $(SYS_BIN_PATH) /I /D /E /F /Y > NUL 2>&1\r
64b2609f 64 @-xcopy $(BIN_PATH)\*.bat $(SYS_BIN_PATH) /I /D /E /F /Y > NUL 2>&1\r
c69f724d 65\r
66.PHONY: clean\r
67clean:\r
68 @Makefiles\NmakeSubdirs.bat clean $(LIBRARIES) $(APPLICATIONS)\r
69\r
70.PHONY: cleanall\r
71cleanall:\r
72 @Makefiles\NmakeSubdirs.bat cleanall $(LIBRARIES) $(APPLICATIONS)\r
c69f724d 73\r
74!INCLUDE Makefiles\ms.rule\r
75\r