diff options
-rw-r--r-- | win32/php4dllts.dsp | 50 |
1 files changed, 50 insertions, 0 deletions
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
|