From fce126bcb19cac02e84bcb146d91c923f8421704 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Fri, 31 Dec 1999 15:39:54 +0000 Subject: Add new Release_inline builds to Win32. Standard release versions will not use inline under Win32. --- php4dll.dsp | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 74 insertions(+), 4 deletions(-) (limited to 'php4dll.dsp') diff --git a/php4dll.dsp b/php4dll.dsp index d5ca6d636e..38f5c73d99 100644 --- a/php4dll.dsp +++ b/php4dll.dsp @@ -19,6 +19,7 @@ CFG=php4dll - Win32 Debug !MESSAGE !MESSAGE "php4dll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") !MESSAGE "php4dll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "php4dll - Win32 Release_inline" (based on "Win32 (x86) Dynamic-Link Library") !MESSAGE # Begin Project @@ -81,12 +82,40 @@ LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 # ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Zend.lib resolv.lib /nologo /dll /machine:I386 /nodefaultlib:"libc.lib" /out:"Release/php4nts.dll" /libpath:"TSRM\Release" /libpath:"Zend\Release" /libpath:"..\bindlib_w32\Release" +!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "php4dll___Win32_Release_inline" +# PROP BASE Intermediate_Dir "php4dll___Win32_Release_inline" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "php4dll___Win32_Release_inline" +# PROP Intermediate_Dir "php4dll___Win32_Release_inline" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "Zend" /I "." /I "regex" /I "..\bindlib_w32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP4DLLTS_EXPORTS" /D "MSVC5" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "SAPI_EXPORTS" /D ZEND_DEBUG=0 /D "TSRM_EXPORTS" /D "WIN32" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "Zend" /I "." /I "regex" /I "..\bindlib_w32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP4DLLTS_EXPORTS" /D "MSVC5" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "SAPI_EXPORTS" /D "TSRM_EXPORTS" /D ZEND_DEBUG=0 /D "WIN32" /D "_MBCS" /D "ZEND_WIN32_FORCE_INLINE" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x40d /d "NDEBUG" +# ADD RSC /l 0x40d /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Zend.lib resolv.lib /nologo /dll /machine:I386 /nodefaultlib:"libc.lib" /out:"Release/php4nts.dll" /libpath:"TSRM\Release" /libpath:"Zend\Release" /libpath:"..\bindlib_w32\Release" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Zend.lib resolv.lib /nologo /dll /machine:I386 /nodefaultlib:"libc.lib" /out:"Release/php4nts.dll" /libpath:"TSRM\Release" /libpath:"Zend\Release" /libpath:"..\bindlib_w32\Release" + !ENDIF # Begin Target # Name "php4dll - Win32 Debug" # Name "php4dll - Win32 Release" +# Name "php4dll - Win32 Release_inline" # Begin Group "Core" # PROP Default_Filter "" @@ -131,15 +160,15 @@ SOURCE=.\ext\standard\output.c # End Source File # Begin Source File -SOURCE=.\php_realpath.c +SOURCE=.\php_content_types.c # End Source File # Begin Source File -SOURCE=.\php_content_types.c +SOURCE=.\php_ini.c # End Source File # Begin Source File -SOURCE=.\php_ini.c +SOURCE=.\php_realpath.c # End Source File # Begin Source File @@ -419,6 +448,8 @@ SOURCE=.\ext\pcre\php_pcre.c !ELSEIF "$(CFG)" == "php4dll - Win32 Release" +!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline" + !ENDIF # End Source File @@ -643,6 +674,8 @@ SOURCE=.\ext\pcre\pcrelib\chartables.c !ELSEIF "$(CFG)" == "php4dll - Win32 Release" +!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline" + !ENDIF # End Source File @@ -656,6 +689,8 @@ SOURCE=.\ext\pcre\pcrelib\get.c !ELSEIF "$(CFG)" == "php4dll - Win32 Release" +!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline" + !ENDIF # End Source File @@ -669,6 +704,8 @@ SOURCE=.\ext\pcre\pcrelib\maketables.c !ELSEIF "$(CFG)" == "php4dll - Win32 Release" +!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline" + !ENDIF # End Source File @@ -682,6 +719,8 @@ SOURCE=.\ext\pcre\pcrelib\pcre.c !ELSEIF "$(CFG)" == "php4dll - Win32 Release" +!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline" + !ENDIF # End Source File @@ -695,6 +734,8 @@ SOURCE=.\ext\pcre\pcrelib\study.c !ELSEIF "$(CFG)" == "php4dll - Win32 Release" +!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline" + !ENDIF # End Source File @@ -839,7 +880,24 @@ BuildCmds= \ InputPath=".\configuration-parser.y" BuildCmds= \ - if not"X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "%CYGWIN%\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) + +"configuration-parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline" + +# Begin Custom Build +InputPath=".\configuration-parser.y" + +BuildCmds= \ + 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 \ @@ -871,6 +929,8 @@ InputPath=.\ext\standard\parsedate.y !ELSEIF "$(CFG)" == "php4dll - Win32 Release" +!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline" + !ENDIF # End Source File @@ -902,6 +962,16 @@ InputPath=".\configuration-scanner.l" # End Custom Build +!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline" + +# 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 -- cgit v1.2.1