mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-11-04 03:57:26 +00:00 
			
		
		
		
	https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
## @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
 |