Sync EDKII BaseTools to BaseTools project r1913.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10193 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1,44 +1,56 @@
|
||||
!INCLUDE ..\Makefiles\ms.common
|
||||
|
||||
CPPFLAGS = $(CPPFLAGS) /WX /D PCCTS_USE_NAMESPACE_STD /D VFREXP_DEBUG
|
||||
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
|
||||
## @file
|
||||
# Windows makefile for 'VfrCompile' module build.
|
||||
#
|
||||
# Copyright (c) 2008 - 2010, Intel Corporation<BR>
|
||||
# All rights reserved. This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
# which accompanies this distribution. The full text of the license may be found at
|
||||
# http://opensource.org/licenses/bsd-license.php
|
||||
#
|
||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#
|
||||
!INCLUDE ..\Makefiles\ms.common
|
||||
|
||||
CPPFLAGS = $(CPPFLAGS) /WX /D PCCTS_USE_NAMESPACE_STD /D VFREXP_DEBUG
|
||||
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
|
||||
|
Reference in New Issue
Block a user