]> granicus.if.org Git - php/commitdiff
provide general hook for exporting symbols from php4ts.dll
authorWez Furlong <wez@php.net>
Fri, 22 Aug 2003 21:45:58 +0000 (21:45 +0000)
committerWez Furlong <wez@php.net>
Fri, 22 Aug 2003 21:45:58 +0000 (21:45 +0000)
win32/builddef.bat [new file with mode: 0644]
win32/php4dllts.dsp

diff --git a/win32/builddef.bat b/win32/builddef.bat
new file mode 100644 (file)
index 0000000..78b0c70
--- /dev/null
@@ -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
index cdadf498b710ca8b804f05e1fb58e26a3e7dc3b4..3c198cc99c91d7ece4ca383c0af0c7450e8d4819 100644 (file)
@@ -2338,6 +2338,57 @@ SOURCE=.\php4dllts.rc
 # Begin Source File\r
 \r
 SOURCE=.\php4dllts.rc2\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=.\phpts.def\r
+\r
+!IF  "$(CFG)" == "php4dllts - Win32 Debug_TS"\r
+\r
+USERDEP__PHPTS="..\ext\sqlite\php_sqlite.def"  \r
+# Begin Custom Build - Generating $(InputPath)\r
+InputPath=.\phpts.def\r
+\r
+"phpts.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
+       builddef.bat > phpts.def\r
+\r
+# End Custom Build\r
+\r
+!ELSEIF  "$(CFG)" == "php4dllts - Win32 Release_TS"\r
+\r
+USERDEP__PHPTS="..\ext\sqlite\php_sqlite.def"  \r
+# Begin Custom Build - Generating $(InputPath)\r
+InputPath=.\phpts.def\r
+\r
+"phpts.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
+       builddef.bat > phpts.def\r
+\r
+# End Custom Build\r
+\r
+!ELSEIF  "$(CFG)" == "php4dllts - Win32 Release_TS_inline"\r
+\r
+USERDEP__PHPTS="..\ext\sqlite\php_sqlite.def"  \r
+# Begin Custom Build - Generating $(InputPath)\r
+InputPath=.\phpts.def\r
+\r
+"phpts.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
+       builddef.bat > phpts.def\r
+\r
+# End Custom Build\r
+\r
+!ELSEIF  "$(CFG)" == "php4dllts - Win32 Release_TSDbg"\r
+\r
+USERDEP__PHPTS="..\ext\sqlite\php_sqlite.def"  \r
+# Begin Custom Build - Generating $(InputPath)\r
+InputPath=.\phpts.def\r
+\r
+"phpts.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
+       builddef.bat > phpts.def\r
+\r
+# End Custom Build\r
+\r
+!ENDIF \r
+\r
 # End Source File\r
 # End Target\r
 # End Project\r