From ec8a5e7b8da11245bb1341f5f370cf15820e1cd5 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Fri, 22 Aug 2003 21:45:58 +0000 Subject: [PATCH] provide general hook for exporting symbols from php4ts.dll --- win32/builddef.bat | 6 ++++++ win32/php4dllts.dsp | 51 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 win32/builddef.bat diff --git a/win32/builddef.bat b/win32/builddef.bat new file mode 100644 index 0000000000..78b0c706b9 --- /dev/null +++ b/win32/builddef.bat @@ -0,0 +1,6 @@ +rem Generate phpts.def file, which exports symbols from our dll that +rem are present in some of the libraries which are compiled statically +rem into PHP +rem $Id: builddef.bat,v 1.1 2003-08-22 21:45:58 wez Exp $ +@echo off +type ..\ext\sqlite\php_sqlite.def diff --git a/win32/php4dllts.dsp b/win32/php4dllts.dsp index cdadf498b7..3c198cc99c 100644 --- a/win32/php4dllts.dsp +++ b/win32/php4dllts.dsp @@ -2338,6 +2338,57 @@ SOURCE=.\php4dllts.rc # Begin Source File SOURCE=.\php4dllts.rc2 +# End Source File +# Begin Source File + +SOURCE=.\phpts.def + +!IF "$(CFG)" == "php4dllts - Win32 Debug_TS" + +USERDEP__PHPTS="..\ext\sqlite\php_sqlite.def" +# Begin Custom Build - Generating $(InputPath) +InputPath=.\phpts.def + +"phpts.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + builddef.bat > phpts.def + +# End Custom Build + +!ELSEIF "$(CFG)" == "php4dllts - Win32 Release_TS" + +USERDEP__PHPTS="..\ext\sqlite\php_sqlite.def" +# Begin Custom Build - Generating $(InputPath) +InputPath=.\phpts.def + +"phpts.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + builddef.bat > phpts.def + +# End Custom Build + +!ELSEIF "$(CFG)" == "php4dllts - Win32 Release_TS_inline" + +USERDEP__PHPTS="..\ext\sqlite\php_sqlite.def" +# Begin Custom Build - Generating $(InputPath) +InputPath=.\phpts.def + +"phpts.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + builddef.bat > phpts.def + +# End Custom Build + +!ELSEIF "$(CFG)" == "php4dllts - Win32 Release_TSDbg" + +USERDEP__PHPTS="..\ext\sqlite\php_sqlite.def" +# Begin Custom Build - Generating $(InputPath) +InputPath=.\phpts.def + +"phpts.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + builddef.bat > phpts.def + +# End Custom Build + +!ENDIF + # End Source File # End Target # End Project -- 2.49.0