summaryrefslogtreecommitdiff
path: root/php4dllts.dsp
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-26 19:02:59 +0000
committerZeev Suraski <zeev@php.net>1999-04-26 19:02:59 +0000
commit48de4ce0dd006fb7fe1f1362f225898fc659d86a (patch)
tree8485fa49e6951166e30da0aff937c086b1b6c7dd /php4dllts.dsp
parentb9d3a80709b718553f7ee096e539ef6b6481d5f2 (diff)
downloadphp-git-48de4ce0dd006fb7fe1f1362f225898fc659d86a.tar.gz
Somehow the rules for the configuration parser/scanners disappeared
Diffstat (limited to 'php4dllts.dsp')
-rw-r--r--php4dllts.dsp56
1 files changed, 56 insertions, 0 deletions
diff --git a/php4dllts.dsp b/php4dllts.dsp
index 4dbe174bd9..8c9da25a1c 100644
--- a/php4dllts.dsp
+++ b/php4dllts.dsp
@@ -653,6 +653,39 @@ SOURCE=.\win32\wfile.h
# Begin Source File
SOURCE=".\configuration-parser.y"
+
+!IF "$(CFG)" == "php4dllts - Win32 Debug_TS"
+
+# Begin Custom Build
+InputPath=".\configuration-parser.y"
+
+BuildCmds= \
+ bison --output=configuration-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p cfg configuration-parser.y
+
+"configuration-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ $(BuildCmds)
+
+"configuration-parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ $(BuildCmds)
+# End Custom Build
+
+!ELSEIF "$(CFG)" == "php4dllts - Win32 Release_TS"
+
+# Begin Custom Build
+InputPath=".\configuration-parser.y"
+
+BuildCmds= \
+ bison --output=configuration-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p cfg configuration-parser.y
+
+"configuration-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ $(BuildCmds)
+
+"configuration-parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ $(BuildCmds)
+# End Custom Build
+
+!ENDIF
+
# End Source File
# End Group
# Begin Group "Scanners"
@@ -661,6 +694,29 @@ SOURCE=".\configuration-parser.y"
# Begin Source File
SOURCE=".\configuration-scanner.l"
+
+!IF "$(CFG)" == "php4dllts - Win32 Debug_TS"
+
+# Begin Custom Build
+InputPath=".\configuration-scanner.l"
+
+"configuration-scanner.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ flex -i -Pcfg -oconfiguration-scanner.c configuration-scanner.l
+
+# End Custom Build
+
+!ELSEIF "$(CFG)" == "php4dllts - Win32 Release_TS"
+
+# Begin Custom Build
+InputPath=".\configuration-scanner.l"
+
+"configuration-scanner.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ flex -i -Pcfg -oconfiguration-scanner.c configuration-scanner.l
+
+# End Custom Build
+
+!ENDIF
+
# End Source File
# End Group
# End Target