2 # Windows makefile for Base Tools project build.
4 # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
5 # This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 !IFNDEF BASE_TOOLS_PATH
15 !ERROR
"BASE_TOOLS_PATH is not set! Please run toolsetup.bat first!"
18 SUBDIRS
= $(BASE_TOOLS_PATH
)\Source\C
$(BASE_TOOLS_PATH
)\Source\Python
23 @if defined PYTHON_COMMAND
$(PYTHON_COMMAND
) $(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py
all $(BASE_TOOLS_PATH
)\Source\C
24 @if not defined PYTHON_COMMAND
$(PYTHON_HOME
)\python.exe
$(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py
all $(BASE_TOOLS_PATH
)\Source\C
28 @if defined PYTHON_COMMAND
$(PYTHON_COMMAND
) $(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py
all $**
29 @if not defined PYTHON_COMMAND
$(PYTHON_HOME
)\python.exe
$(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py
all $**
33 @if defined PYTHON_COMMAND
$(PYTHON_COMMAND
) $(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py
clean $(SUBDIRS
)
34 @if not defined PYTHON_COMMAND
$(PYTHON_HOME
)\python.exe
$(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py
clean $(SUBDIRS
)
38 @if defined PYTHON_COMMAND
$(PYTHON_COMMAND
) $(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py cleanall
$(SUBDIRS
)
39 @if not defined PYTHON_COMMAND
$(PYTHON_HOME
)\python.exe
$(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py cleanall
$(SUBDIRS
)