diff options
author | Zeev Suraski <zeev@php.net> | 2000-06-14 16:06:44 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-06-14 16:06:44 +0000 |
commit | 79f857b323cb1d80d44ee32078d6dc8b1cd02949 (patch) | |
tree | 6f2cb103278ae800af1cd6a4045a607372c61e48 /php4dll.dsp | |
parent | 34a7f94d570fbb045debc9e4953c7d7bb4f9b4b2 (diff) | |
download | php-git-79f857b323cb1d80d44ee32078d6dc8b1cd02949.tar.gz |
Thoroughly fix .dsp problems - restore custom builds
Diffstat (limited to 'php4dll.dsp')
-rw-r--r-- | php4dll.dsp | 53 |
1 files changed, 46 insertions, 7 deletions
diff --git a/php4dll.dsp b/php4dll.dsp index 0c6226f6e1..063f4e156b 100644 --- a/php4dll.dsp +++ b/php4dll.dsp @@ -124,11 +124,11 @@ LINK32=link.exe # PROP Default_Filter ""
# Begin Source File
-SOURCE=".\configuration-parser.c"
+SOURCE=".\main\configuration-parser.c"
# End Source File
# Begin Source File
-SOURCE=".\configuration-scanner.c"
+SOURCE=".\main\configuration-scanner.c"
# End Source File
# Begin Source File
@@ -231,11 +231,7 @@ SOURCE=.\main\config.w32.h # End Source File
# Begin Source File
-SOURCE=".\configuration-parser.h"
-# End Source File
-# Begin Source File
-
-SOURCE=".\configuration-parser.tab.h"
+SOURCE=".\main\configuration-parser.h"
# End Source File
# Begin Source File
@@ -1018,6 +1014,31 @@ SOURCE=.\win32\wfile.h # Begin Source File
SOURCE=".\main\configuration-parser.y"
+
+!IF "$(CFG)" == "php4dll - Win32 Debug"
+
+# 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)" == "php4dll - Win32 Release"
+
+!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline"
+
+!ENDIF
+
# End Source File
# Begin Source File
@@ -1049,6 +1070,24 @@ InputPath=.\ext\standard\parsedate.y # Begin Source File
SOURCE=".\main\configuration-scanner.l"
+
+!IF "$(CFG)" == "php4dll - Win32 Debug"
+
+# 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)" == "php4dll - Win32 Release"
+
+!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline"
+
+!ENDIF
+
# End Source File
# End Group
# Begin Group "Text Files"
|