]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Makefile
BaseTools: Update Makefile to ignore python tools make
[mirror_edk2.git] / BaseTools / Source / C / Makefile
index 789e06f18dfe4c8a038ce0e67bc184dc59a5c708..ac9adb287dcc599c4bf0ed533ae96f1b0ff4aaf9 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # Windows makefile for C tools build.\r
 #\r
-# Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
-ARCH = IA32\r
+HOST_ARCH = IA32\r
 \r
 !INCLUDE Makefiles\ms.common\r
 \r
 LIBRARIES = Common\r
 APPLICATIONS = \\r
-  BootSectImage \\r
+  VfrCompile \\r
+  BrotliCompress \\r
   EfiLdrImage \\r
   EfiRom \\r
   GenBootSector \\r
@@ -31,7 +32,8 @@ APPLICATIONS = \
   Split \\r
   TianoCompress \\r
   VolInfo \\r
-  VfrCompile\r
+  BootSectImage \\r
+  DevicePath\r
 \r
 all: libs apps install\r
 \r
@@ -41,7 +43,7 @@ libs: $(LIBRARIES)
        @echo # Build libraries\r
        @echo ######################\r
        @if not exist $(LIB_PATH) mkdir $(LIB_PATH)\r
-       @Makefiles\NmakeSubdirs.bat all $**\r
+       @$(PYTHON3) Makefiles\NmakeSubdirs.py all $**\r
 \r
 apps: $(APPLICATIONS)\r
        @echo.\r
@@ -49,7 +51,7 @@ apps: $(APPLICATIONS)
        @echo # Build executables\r
        @echo ######################\r
        @if not exist $(BIN_PATH) mkdir $(BIN_PATH)\r
-       @Makefiles\NmakeSubdirs.bat all $**\r
+       @$(PYTHON3) Makefiles\NmakeSubdirs.py all $**\r
 \r
 install: $(LIB_PATH) $(BIN_PATH)\r
        @echo.\r
@@ -63,12 +65,11 @@ install: $(LIB_PATH) $(BIN_PATH)
 \r
 .PHONY: clean\r
 clean:\r
-  @Makefiles\NmakeSubdirs.bat clean $(LIBRARIES) $(APPLICATIONS)\r
+  @$(PYTHON3) Makefiles\NmakeSubdirs.py clean $(LIBRARIES) $(APPLICATIONS)\r
 \r
 .PHONY: cleanall\r
 cleanall:\r
-  @Makefiles\NmakeSubdirs.bat cleanall $(LIBRARIES) $(APPLICATIONS)\r
-  @del /f /q $(BIN_PATH)\*.pdb $(BIN_PATH)\*.ilk\r
+  @$(PYTHON3) Makefiles\NmakeSubdirs.py cleanall $(LIBRARIES) $(APPLICATIONS)\r
 \r
 !INCLUDE Makefiles\ms.rule\r
 \r