2010-03-04 12:57:31 +01:00
## @file
# Windows makefile for Base Tools project build.
#
2018-08-28 17:26:56 +02:00
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
2019-04-04 01:03:11 +02:00
# SPDX-License-Identifier: BSD-2-Clause-Patent
2010-03-04 12:57:31 +01:00
#
2017-02-03 07:49:47 +01:00
! I F N D E F B A S E _ T O O L S _ P A T H
! E R R O R "BASE_TOOLS_PATH is not set! Please run toolsetup.bat first!"
! E N D I F
2023-06-26 12:23:02 +02:00
SUBDIRS = $( BASE_TOOLS_PATH) \S ource\C $( BASE_TOOLS_PATH) \S ource\P ython $( BASE_TOOLS_PATH) \I mageTool $( BASE_TOOLS_PATH) \M icroTool
2010-03-04 12:57:31 +01:00
2018-10-16 17:08:46 +02:00
all : c
2010-03-04 12:57:31 +01:00
c :
2023-06-26 12:23:02 +02:00
@if defined PYTHON_COMMAND $( PYTHON_COMMAND) $( BASE_TOOLS_PATH) \S ource\C \M akefiles\N makeSubdirs.py all $( BASE_TOOLS_PATH) \S ource\C $( BASE_TOOLS_PATH) \I mageTool $( BASE_TOOLS_PATH) \M icroTool
@if not defined PYTHON_COMMAND $( PYTHON_HOME) \p ython.exe $( BASE_TOOLS_PATH) \S ource\C \M akefiles\N makeSubdirs.py all $( BASE_TOOLS_PATH) \S ource\C $( BASE_TOOLS_PATH) \I mageTool $( BASE_TOOLS_PATH) \M icroTool
2010-03-04 12:57:31 +01:00
subdirs : $( SUBDIRS )
2018-12-28 09:25:04 +01:00
@if defined PYTHON_COMMAND $( PYTHON_COMMAND) $( BASE_TOOLS_PATH) \S ource\C \M akefiles\N makeSubdirs.py all $* *
@if not defined PYTHON_COMMAND $( PYTHON_HOME) \p ython.exe $( BASE_TOOLS_PATH) \S ource\C \M akefiles\N makeSubdirs.py all $* *
2010-03-04 12:57:31 +01:00
.PHONY : clean
clean :
2018-12-28 09:25:04 +01:00
@if defined PYTHON_COMMAND $( PYTHON_COMMAND) $( BASE_TOOLS_PATH) \S ource\C \M akefiles\N makeSubdirs.py clean $( SUBDIRS)
@if not defined PYTHON_COMMAND $( PYTHON_HOME) \p ython.exe $( BASE_TOOLS_PATH) \S ource\C \M akefiles\N makeSubdirs.py clean $( SUBDIRS)
2010-03-04 12:57:31 +01:00
.PHONY : cleanall
cleanall :
2018-12-28 09:25:04 +01:00
@if defined PYTHON_COMMAND $( PYTHON_COMMAND) $( BASE_TOOLS_PATH) \S ource\C \M akefiles\N makeSubdirs.py cleanall $( SUBDIRS)
@if not defined PYTHON_COMMAND $( PYTHON_HOME) \p ython.exe $( BASE_TOOLS_PATH) \S ource\C \M akefiles\N makeSubdirs.py cleanall $( SUBDIRS)