aboutsummaryrefslogtreecommitdiff
path: root/project/BuildDependencies/scripts/get_mingw_env.bat
blob: b071f56ff950660b527b9462fc6222004f46db47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@ECHO OFF

SET LOC_PATH=%CD%
SET FILES=%LOC_PATH%\get_mingw_env.txt

IF NOT EXIST %TMP_PATH% md %TMP_PATH%

CALL dlextract.bat mingw_env %FILES%

cd %TMP_PATH%

del lib\libexpat.dll.a
del lib\libexpat.la
del lib\libz.dll.a

xcopy bin\* "%MINGW_INSTALL_PATH%\bin" /E /Q /I /Y
xcopy doc\* "%MINGW_INSTALL_PATH%\doc" /E /Q /I /Y
xcopy include\* "%MINGW_INSTALL_PATH%\include" /E /Q /I /Y
xcopy lib\* "%MINGW_INSTALL_PATH%\lib" /E /Q /I /Y
xcopy share\* "%MINGW_INSTALL_PATH%\share" /E /Q /I /Y
xcopy libexec\* "%MINGW_INSTALL_PATH%\libexec" /E /Q /I /Y
xcopy mingw32\* "%MINGW_INSTALL_PATH%\mingw32" /E /Q /I /Y
copy yasm-1.2.0-win32.exe "%MINGW_INSTALL_PATH%\bin\yasm.exe" /Y
copy xasm.exe "%MINGW_INSTALL_PATH%\bin\xasm.exe" /Y
copy mads.exe "%MINGW_INSTALL_PATH%\bin\mads.exe" /Y
rem copy "%MINGW_INSTALL_PATH%\bin\mingw32-make.exe" "%MINGW_INSTALL_PATH%\bin\make.exe" /Y
rem xcopy curl-7.21.0-devel-mingw32\include\curl "%CUR_PATH%\include\curl" /E /Q /I /Y
rem copy curl-7.21.0-devel-mingw32\bin\*.dll "%XBMC_PATH%\system\" /Y

cd %LOC_PATH%