summary refs log tree commit diff stats
path: root/ext/libxml-wdk/win32
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-08-07 09:34:18 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-08-07 09:34:18 +0200
commit518271bd4cb92dcd4d760317395729806ac38e77 (patch)
treec3397165e23bdde819017437a8d2d07a45920b38 /ext/libxml-wdk/win32
parent08ce6280df217b0a9673c2b91b5400bea45387c9 (diff)
add libxml-wdk support files
Diffstat (limited to 'ext/libxml-wdk/win32')
-rw-r--r--ext/libxml-wdk/win32/build-x64.bat17
-rw-r--r--ext/libxml-wdk/win32/build-x86.bat16
2 files changed, 33 insertions, 0 deletions
diff --git a/ext/libxml-wdk/win32/build-x64.bat b/ext/libxml-wdk/win32/build-x64.bat
new file mode 100644
index 00000000..1e579259
--- /dev/null
+++ b/ext/libxml-wdk/win32/build-x64.bat
@@ -0,0 +1,17 @@
+@echo off
+set WDK_ROOT=c:\WinDDK\7600.16385.1
+set INCLUDE=%WDK_ROOT%\inc\api;%WDK_ROOT%\inc\crt
+set LIB=%WDK_ROOT%\lib\wnet\amd64;%WDK_ROOT%\lib\Crt\amd64
+set PATH=%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\VC\bin\amd64;%PROGRAMFILES(X86)%\Microsoft SDKs\Windows\v7.0A\Bin\x64;%SystemRoot%\SysWOW64
+set X64=1
+cscript configure.js compiler=msvc iconv=no iso8859x=yes
+nmake /nologo /f Makefile.msvc clean
+nmake /nologo /f Makefile.msvc
+rmdir /q /s bin
+rmdir /q /s include
+rmdir /q /s lib
+nmake /nologo /f Makefile.msvc install
+mv lib\libxml2.dll bin
+set PATH=%PATH%;%PROGRAMW6432%\7-Zip
+7z a "LibXML-WDK 2.7.8-x64.7z" bin include lib
+pause
diff --git a/ext/libxml-wdk/win32/build-x86.bat b/ext/libxml-wdk/win32/build-x86.bat
new file mode 100644
index 00000000..e9f243d8
--- /dev/null
+++ b/ext/libxml-wdk/win32/build-x86.bat
@@ -0,0 +1,16 @@
+@echo off
+set WDK_ROOT=c:\WinDDK\7600.16385.1
+set INCLUDE=%WDK_ROOT%\inc\api;%WDK_ROOT%\inc\crt
+set LIB=%WDK_ROOT%\lib\wxp\i386;%WDK_ROOT%\lib\Crt\i386
+set PATH=%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\VC\bin;%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\Common7\IDE;%PROGRAMFILES(X86)%\Microsoft SDKs\Windows\v7.0A\Bin;%SystemRoot%\system32
+cscript configure.js compiler=msvc iconv=no iso8859x=yes
+nmake /nologo /f Makefile.msvc clean
+nmake /nologo /f Makefile.msvc
+rmdir /q /s bin
+rmdir /q /s include
+rmdir /q /s lib
+nmake /nologo /f Makefile.msvc install
+mv lib\libxml2.dll bin
+set PATH=%PATH%;%PROGRAMW6432%\7-Zip
+7z a "LibXML-WDK 2.7.8 x86.7z" bin include lib
+pause