aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-02 13:29:46 +0000
committermarha <marha@users.sourceforge.net>2011-03-02 13:29:46 +0000
commitd2bdfe9f8d895ac64619f7bc2f7443ce886146e9 (patch)
treeca81fc6e4d669bcdb9cda75b76aa9ff8cafe844e /mesalib/src/mesa
parent8cb75221034e881472c2463819b71f8bf6876345 (diff)
downloadvcxsrv-d2bdfe9f8d895ac64619f7bc2f7443ce886146e9.tar.gz
vcxsrv-d2bdfe9f8d895ac64619f7bc2f7443ce886146e9.tar.bz2
vcxsrv-d2bdfe9f8d895ac64619f7bc2f7443ce886146e9.zip
Solved build problem in mesa because dependency checking in VS in not working like expected. Now build the lex and bison files in the same script.
Diffstat (limited to 'mesalib/src/mesa')
-rw-r--r--mesalib/src/mesa/program/dobison.bat13
-rw-r--r--mesalib/src/mesa/program/doflexbison.bat (renamed from mesalib/src/mesa/program/doflex.bat)6
2 files changed, 3 insertions, 16 deletions
diff --git a/mesalib/src/mesa/program/dobison.bat b/mesalib/src/mesa/program/dobison.bat
deleted file mode 100644
index 33f27a235..000000000
--- a/mesalib/src/mesa/program/dobison.bat
+++ /dev/null
@@ -1,13 +0,0 @@
-@echo off
-setlocal
-
-cd "%~dp0"
-
-set M4=..\..\..\..\tools\mhmake\m4.exe
-
-set BISON_PKGDATADIR=../../../../tools/mhmake/src/bisondata
-
-..\..\..\..\tools\mhmake\bison.exe -v -d --output=program_parse.tab.c program_parse.y
-
-endlocal
-
diff --git a/mesalib/src/mesa/program/doflex.bat b/mesalib/src/mesa/program/doflexbison.bat
index bd3ccb0e0..d54e5ac65 100644
--- a/mesalib/src/mesa/program/doflex.bat
+++ b/mesalib/src/mesa/program/doflexbison.bat
@@ -4,14 +4,14 @@ setlocal
cd "%~dp0"
set M4=..\..\..\..\tools\mhmake\m4.exe
+set BISON_PKGDATADIR=../../../../tools/mhmake/src/bisondata
set path=..\..\..\..\tools\mhmake;%path%
-copy "..\..\..\..\tools\mhmake\flex++.exe" flex.exe
+..\..\..\..\tools\mhmake\bison.exe -v -d --output=program_parse.tab.c program_parse.y
-
+copy "..\..\..\..\tools\mhmake\flex++.exe" flex.exe
flex.exe --never-interactive --outfile=lex.yy.c program_lexer.l
-
del flex.exe
endlocal