summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-08-22 21:45:58 +0000
committerWez Furlong <wez@php.net>2003-08-22 21:45:58 +0000
commitec8a5e7b8da11245bb1341f5f370cf15820e1cd5 (patch)
tree3327743fa1fdb03543fbd1473e9d9dafcc1a6b1d /win32
parentd52172ad890b7e8f117a05da127360c30e3dbbb5 (diff)
downloadphp-git-ec8a5e7b8da11245bb1341f5f370cf15820e1cd5.tar.gz
provide general hook for exporting symbols from php4ts.dll
Diffstat (limited to 'win32')
-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