summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/builddef.bat6
-rw-r--r--win32/php4dllts.dsp51
2 files changed, 57 insertions, 0 deletions
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
@@ -2339,5 +2339,56 @@ SOURCE=.\php4dllts.rc
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