summary refs log tree commit diff stats
path: root/win32/dep-extract-x86.bat
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-11 19:46:46 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-11 19:46:46 +0200
commit1ea726a91809340451c7a05ede34e7be00ba7863 (patch)
tree936bb6fce5c26b3876a7324ec82ee0bb232875d7 /win32/dep-extract-x86.bat
parentd81619cca95831e2fd444d71cd078201f3db0e39 (diff)
parent9d9c24c8d347aa44efbd63e8f8c8dfb5b3cddedb (diff)
Merge branch 'wdk'
Diffstat (limited to 'win32/dep-extract-x86.bat')
-rw-r--r--win32/dep-extract-x86.bat26
1 files changed, 26 insertions, 0 deletions
diff --git a/win32/dep-extract-x86.bat b/win32/dep-extract-x86.bat
new file mode 100644
index 00000000..db087587
--- /dev/null
+++ b/win32/dep-extract-x86.bat
@@ -0,0 +1,26 @@
+@echo off

+set PATH=%PATH%;%PROGRAMW6432%\7-Zip;c:\mozilla-build\gendef

+

+cd Win32

+::obs 7z x -y *.rpm

+::obs 7z x *.cpio

+::obs del *.cpio

+::obs xcopy /q /s /i usr\i686-w64-mingw32\sys-root\mingw\* .

+::obs rmdir /q /s usr

+::obs set OPATH=%PATH%

+::obs set PATH=%PATH%;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE

+::obs cd lib

+::obs for %%A in (..\bin\*.dll) do (

+::obs 	gendef %%A

+::obs 	lib /nologo /machine:x86 /def:%%~nA.def

+::obs )

+::obs cd ..

+::obs set PATH=%OPATH%

+7z x -y *.zip

+7z x -y *.7z

+::obs copy /y ..\build\glibconfig-x86.h lib\glib-2.0\include\glibconfig.h

+cd share\locale

+del /q /s atk10.mo

+del /q /s gettext-tools.mo

+del /q /s gettext-runtime.mo

+pause