diff options
author | Shane Caraveo <shane@php.net> | 2000-07-02 17:20:38 +0000 |
---|---|---|
committer | Shane Caraveo <shane@php.net> | 2000-07-02 17:20:38 +0000 |
commit | 8a4e08da4f339e6e3658bbe267fb1cd0cd9d528b (patch) | |
tree | 855fb54e4320fe7952c2d18a02e2768941bd715a | |
parent | 5fcf863579e5bccce738e108f365e90d51fa8c80 (diff) | |
download | php-git-8a4e08da4f339e6e3658bbe267fb1cd0cd9d528b.tar.gz |
fix php4dllts dsp file
-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
|