mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Allow CYGWIN directory to be specified as via environment variable
This commit is contained in:
@@ -806,7 +806,8 @@ SOURCE=".\configuration-parser.y"
|
||||
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
|
||||
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
|
||||
|
||||
"configuration-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
$(BuildCmds)
|
||||
@@ -821,7 +822,8 @@ BuildCmds= \
|
||||
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
|
||||
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
|
||||
|
||||
"configuration-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
$(BuildCmds)
|
||||
@@ -844,7 +846,8 @@ InputPath=.\ext\standard\parsedate.y
|
||||
|
||||
"ext\standard\parsedate.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ext\standard
|
||||
bison --output=parsedate.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" parsedate.y
|
||||
if not "X%CYGWIN%"=="X" bison --output=parsedate.c -v -d -S "%CYGWIN%\share\bison.simple" parsedate.y \
|
||||
if "X%CYGWIN%"=="X" bison --output=parsedate.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" parsedate.y
|
||||
|
||||
# End Custom Build
|
||||
|
||||
|
||||
@@ -778,7 +778,8 @@ SOURCE=".\configuration-parser.y"
|
||||
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
|
||||
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
|
||||
|
||||
"configuration-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
$(BuildCmds)
|
||||
@@ -793,7 +794,8 @@ BuildCmds= \
|
||||
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
|
||||
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
|
||||
|
||||
"configuration-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
$(BuildCmds)
|
||||
@@ -816,7 +818,8 @@ InputPath=.\ext\standard\parsedate.y
|
||||
|
||||
"ext\standard\parsedate.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ext\standard
|
||||
bison --output=parsedate.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" parsedate.y
|
||||
if not "X%CYGWIN%"=="X" bison --output=parsedate.c -v -d -S "%CYGWIN%\share\bison.simple" parsedate.y \
|
||||
if "X%CYGWIN%"=="X" bison --output=parsedate.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" parsedate.y
|
||||
|
||||
# End Custom Build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user