From 8a4e08da4f339e6e3658bbe267fb1cd0cd9d528b Mon Sep 17 00:00:00 2001 From: Shane Caraveo Date: Sun, 2 Jul 2000 17:20:38 +0000 Subject: [PATCH] fix php4dllts dsp file --- win32/php4dllts.dsp | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/win32/php4dllts.dsp b/win32/php4dllts.dsp index 991135e0f4..aedd4350cf 100644 --- a/win32/php4dllts.dsp +++ b/win32/php4dllts.dsp @@ -1018,8 +1018,40 @@ BuildCmds= \ !ELSEIF "$(CFG)" == "php4dllts - Win32 Release_TS" +# Begin Custom Build +InputPath="..\main\configuration-parser.y" + +BuildCmds= \ + cd ..\main \ + if not "X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p cfg configuration-parser.y \ + if "X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p cfg configuration-parser.y \ + + +"..\main\configuration-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"..\main\configuration-parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + !ELSEIF "$(CFG)" == "php4dllts - Win32 Release_TS_inline" +# Begin Custom Build +InputPath="..\main\configuration-parser.y" + +BuildCmds= \ + cd ..\main \ + if not "X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p cfg configuration-parser.y \ + if "X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p cfg configuration-parser.y \ + + +"..\main\configuration-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"..\main\configuration-parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + !ENDIF # End Source File @@ -1087,8 +1119,26 @@ InputPath="..\main\configuration-scanner.l" !ELSEIF "$(CFG)" == "php4dllts - Win32 Release_TS" +# Begin Custom Build +InputPath="..\main\configuration-scanner.l" + +"..\main\configuration-scanner.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + cd ..\main + flex -i -Pcfg -oconfiguration-scanner.c configuration-scanner.l + +# End Custom Build + !ELSEIF "$(CFG)" == "php4dllts - Win32 Release_TS_inline" +# Begin Custom Build +InputPath="..\main\configuration-scanner.l" + +"..\main\configuration-scanner.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + cd ..\main + flex -i -Pcfg -oconfiguration-scanner.c configuration-scanner.l + +# End Custom Build + !ENDIF # End Source File -- 2.50.1