aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/doflexbison.bat
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-07 09:15:33 +0000
committermarha <marha@users.sourceforge.net>2011-03-07 09:15:33 +0000
commit874ff826dd563448cc638c4c64b4092ee9bc3518 (patch)
tree44188c52c169e852aa87ab32e52b07701df4d9f4 /xorg-server/hw/xwin/doflexbison.bat
parent83215c83294a6e1d3fb6e025b08443ab77a9da69 (diff)
downloadvcxsrv-874ff826dd563448cc638c4c64b4092ee9bc3518.tar.gz
vcxsrv-874ff826dd563448cc638c4c64b4092ee9bc3518.tar.bz2
vcxsrv-874ff826dd563448cc638c4c64b4092ee9bc3518.zip
Forgot to add in previous commit
Diffstat (limited to 'xorg-server/hw/xwin/doflexbison.bat')
-rw-r--r--xorg-server/hw/xwin/doflexbison.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/doflexbison.bat b/xorg-server/hw/xwin/doflexbison.bat
new file mode 100644
index 000000000..a29508bcb
--- /dev/null
+++ b/xorg-server/hw/xwin/doflexbison.bat
@@ -0,0 +1,18 @@
+@echo off
+setlocal
+
+cd "%~dp0"
+
+set M4=..\..\..\tools\mhmake\m4.exe
+set BISON_PKGDATADIR=../../../tools/mhmake/src/bisondata
+
+set path=..\..\..\tools\mhmake;%path%
+
+..\..\..\tools\mhmake\bison.exe -d -o%1/winprefsyacc.c winprefsyacc.y
+
+copy "..\..\..\tools\mhmake\flex++.exe" flex.exe
+flex.exe -i -o%1/winprefslex.c winprefslex.l
+del flex.exe
+
+endlocal
+