]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Makefile
BaseTools: Use absolute import in Scripts
[mirror_edk2.git] / BaseTools / Makefile
CommitLineData
c69f724d 1## @file\r
2# Windows makefile for Base Tools project build.\r
3#\r
8a399fab 4# Copyright (c) 2007 - 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
13\r
8a399fab
LG
14!IFNDEF BASE_TOOLS_PATH\r
15!ERROR "BASE_TOOLS_PATH is not set! Please run toolsetup.bat first!"\r
16!ENDIF\r
17\r
18SUBDIRS = $(BASE_TOOLS_PATH)\Source\C $(BASE_TOOLS_PATH)\Source\Python\r
c69f724d 19\r
20all: c python\r
21\r
22c :\r
8a399fab 23 @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $(BASE_TOOLS_PATH)\Source\C\r
c69f724d 24\r
25python:\r
8a399fab 26 @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $(BASE_TOOLS_PATH)\Source\Python\r
c69f724d 27\r
28subdirs: $(SUBDIRS)\r
8a399fab 29 @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $**\r
c69f724d 30\r
31.PHONY: clean\r
32clean:\r
8a399fab 33 @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat clean $(SUBDIRS)\r
c69f724d 34\r
35.PHONY: cleanall\r
36cleanall:\r
8a399fab 37 @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat cleanall $(SUBDIRS)\r
c69f724d 38\r