]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Makefile
BaseTools: expression can use single in instead of 3 API calls.
[mirror_edk2.git] / BaseTools / Makefile
index a16f57732c263ee7b95b3f574688789c57af797c..3736d85f5f413a02225a35b9b35278f3f46c52b4 100644 (file)
@@ -1,22 +1,38 @@
-
-SUBDIRS = Source\C Source\Python
-
-all: c python
-
-c :
-       @Source\C\Makefiles\NmakeSubdirs.bat all Source\C
-
-python:
-       @Source\C\Makefiles\NmakeSubdirs.bat all Source\Python
-
-subdirs: $(SUBDIRS)
-       @Source\C\Makefiles\NmakeSubdirs.bat all $**
-
-.PHONY: clean
-clean:
-       @Source\C\Makefiles\NmakeSubdirs.bat clean $(SUBDIRS)
-
-.PHONY: cleanall
-cleanall:
-       @Source\C\Makefiles\NmakeSubdirs.bat cleanall $(SUBDIRS)
-
+## @file\r
+# Windows makefile for Base Tools project build.\r
+#\r
+# Copyright (c) 2007 - 2017, 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
+# http://opensource.org/licenses/bsd-license.php\r
+#\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
+\r
+!IFNDEF BASE_TOOLS_PATH\r
+!ERROR "BASE_TOOLS_PATH is not set! Please run toolsetup.bat first!"\r
+!ENDIF\r
+\r
+SUBDIRS = $(BASE_TOOLS_PATH)\Source\C $(BASE_TOOLS_PATH)\Source\Python\r
+\r
+all: c python\r
+\r
+c :\r
+  @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $(BASE_TOOLS_PATH)\Source\C\r
+\r
+python:\r
+  @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $(BASE_TOOLS_PATH)\Source\Python\r
+\r
+subdirs: $(SUBDIRS)\r
+  @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $**\r
+\r
+.PHONY: clean\r
+clean:\r
+  @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat clean $(SUBDIRS)\r
+\r
+.PHONY: cleanall\r
+cleanall:\r
+  @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat cleanall $(SUBDIRS)\r
+\r