]>
Commit | Line | Data |
---|---|---|
c69f724d | 1 | ## @file\r |
2 | # Windows makefile for C tools build.\r | |
3 | #\r | |
40d841f6 LG |
4 | # Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r |
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 | |
13 | ARCH = IA32\r | |
14 | \r | |
15 | !INCLUDE Makefiles\ms.common\r | |
16 | \r | |
17 | LIBRARIES = Common\r | |
18 | APPLICATIONS = \\r | |
19 | BootSectImage \\r | |
20 | EfiLdrImage \\r | |
21 | EfiRom \\r | |
22 | GenBootSector \\r | |
23 | GenCrc32 \\r | |
24 | GenFfs \\r | |
25 | GenFv \\r | |
26 | GenFw \\r | |
27 | GenPage \\r | |
28 | GenSec \\r | |
29 | GenVtf \\r | |
30 | LzmaCompress \\r | |
31 | Split \\r | |
32 | TianoCompress \\r | |
33 | VolInfo \\r | |
34 | VfrCompile\r | |
35 | \r | |
36 | all: libs apps install\r | |
37 | \r | |
38 | libs: $(LIBRARIES)\r | |
39 | @echo.\r | |
40 | @echo ######################\r | |
41 | @echo # Build libraries\r | |
42 | @echo ######################\r | |
43 | @if not exist $(LIB_PATH) mkdir $(LIB_PATH)\r | |
44 | @Makefiles\NmakeSubdirs.bat all $**\r | |
45 | \r | |
46 | apps: $(APPLICATIONS)\r | |
47 | @echo.\r | |
48 | @echo ######################\r | |
49 | @echo # Build executables\r | |
50 | @echo ######################\r | |
51 | @if not exist $(BIN_PATH) mkdir $(BIN_PATH)\r | |
52 | @Makefiles\NmakeSubdirs.bat all $**\r | |
53 | \r | |
54 | install: $(LIB_PATH) $(BIN_PATH)\r | |
55 | @echo.\r | |
56 | @echo ######################\r | |
57 | @echo # Install to $(SYS_LIB_PATH)\r | |
58 | @echo # Install to $(SYS_BIN_PATH)\r | |
59 | @echo ######################\r | |
60 | @-xcopy $(LIB_PATH)\*.lib $(SYS_LIB_PATH) /I /D /E /F /Y > NUL 2>&1\r | |
61 | @-xcopy $(BIN_PATH)\*.exe $(SYS_BIN_PATH) /I /D /E /F /Y > NUL 2>&1\r | |
62 | \r | |
63 | .PHONY: clean\r | |
64 | clean:\r | |
65 | @Makefiles\NmakeSubdirs.bat clean $(LIBRARIES) $(APPLICATIONS)\r | |
66 | \r | |
67 | .PHONY: cleanall\r | |
68 | cleanall:\r | |
69 | @Makefiles\NmakeSubdirs.bat cleanall $(LIBRARIES) $(APPLICATIONS)\r | |
70 | @del /f /q $(BIN_PATH)\*.pdb $(BIN_PATH)\*.ilk\r | |
71 | \r | |
72 | !INCLUDE Makefiles\ms.rule\r | |
73 | \r |