Check In tool source code based on Build tool project revision r1655.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8964 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4
2009-07-17 09:10:31 +00:00
parent 577e30cdb4
commit 30fdf1140b
532 changed files with 231447 additions and 32 deletions

View File

@@ -0,0 +1,44 @@
!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