diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:17:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:17:27 +0000 |
commit | f215e02bf85f68d3a6106c2a1f4f7f063f819064 (patch) | |
tree | 6bb5b92c046312c4e95ac2620b10ddf482d3fa8b /src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Makefile | |
parent | Initial commit. (diff) | |
download | virtualbox-f215e02bf85f68d3a6106c2a1f4f7f063f819064.tar.xz virtualbox-f215e02bf85f68d3a6106c2a1f4f7f063f819064.zip |
Adding upstream version 7.0.14-dfsg.upstream/7.0.14-dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Makefile')
-rw-r--r-- | src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Makefile b/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Makefile new file mode 100644 index 00000000..24c3dbd6 --- /dev/null +++ b/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Makefile @@ -0,0 +1,50 @@ +## @file +# Windows makefile for 'VfrCompile' module build. +# +# Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR> +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +!INCLUDE ..\Makefiles\ms.common + +CPPFLAGS = $(CPPFLAGS) /WX /D PCCTS_USE_NAMESPACE_STD +APPNAME = VfrCompile + +LIBS = $(LIB_PATH)\Common.lib + +OBJECTS = AParser.obj DLexerBase.obj ATokenBuffer.obj \ + EfiVfrParser.obj VfrLexer.obj VfrSyntax.obj \ + VfrFormPkg.obj VfrError.obj VfrUtilityLib.obj VfrCompiler.obj + +INC = $(INC) -I $(BASE_TOOLS_PATH)\Source\C\VfrCompile\Pccts\h + +!INCLUDE ..\Makefiles\ms.app + +VfrSyntax.cpp EfiVfrParser.cpp EfiVfrParser.h VfrParser.dlg VfrTokens.h: VfrSyntax.g + pushd . & cd Pccts & $(MAKE) & popd + antlr -CC -e3 -ck 3 -k 2 -fl VfrParser.dlg -ft VfrTokens.h -o . VfrSyntax.g +# pushd . & cd Pccts & $(MAKE) clean + +VfrLexer.cpp VfrLexer.h: VfrParser.dlg + dlg -C2 -i -CC -cl VfrLexer -o . VfrParser.dlg + +ATokenBuffer.obj: Pccts\h\ATokenBuffer.cpp + $(CXX) -c $(CPPFLAGS) $(INC) $? -Fo$@ + +DLexerBase.obj: Pccts\h\DLexerBase.cpp + $(CXX) -c $(CPPFLAGS) $(INC) $? -Fo$@ + +AParser.obj: Pccts\h\AParser.cpp + $(CXX) -c $(CPPFLAGS) $(INC) $? -Fo$@ + +EXTRA_CLEAN_OBJECTS = VfrParser.dlg EfiVfrParser.cpp EfiVfrParser.h \ + VfrLexer.cpp VfrLexer.h \ + VfrSyntax.cpp VfrTokens.h + +clean: localClean +cleanall: localClean localCleanall + +localClean: + -DEL $(EXTRA_CLEAN_OBJECTS) + +localCleanall: + pushd . & cd Pccts & $(MAKE) cleanall & popd |