<commit_before>call "%VS100COMNTOOLS%\vsvars32.bat"

set INITIAL_DIR=%cd%
set INSTALL_DIR=%2%

cd win32
@call autogen.cmd
cd libsofia-sip-ua-static

if "%1%" == "release" (
    devenv.com libsofia_sip_ua_static.vcxproj /build "Release|Win32" || goto error
	echo F | xcopy /E /Y /I Release\libsofia_sip_ua_static.lib %INSTALL_DIR%\lib\libsofia_sip_ua.lib || goto error
) else (
    devenv.com libsofia_sip_ua_static.vcxproj /build "Debug|Win32" || goto error
	echo F | xcopy /E /Y /I Debug\libsofia_sip_ua_static.lib %INSTALL_DIR%\lib\libsofia_sip_ua.lib || goto error
)
echo F | xcopy /E /Y /I ..\pthread\pthread.lib %INSTALL_DIR%\lib\pthread.lib || goto error

echo F | xcopy /E /Y /I ..\sofia-sip\su_configure.h %INSTALL_DIR%\include\sofia-sip\su_configure.h 
cd ..\..\libsofia-sip-ua
FOR /F %%f IN ('dir *.h /b/s') DO echo F | xcopy /E /Y /I %%f %INSTALL_DIR%\include\sofia-sip\

cd %INITIAL_DIR%
echo Sofia-SIP build OK
exit /B 0

:error
cd %INITIAL_DIR%
echo Sofia-SIP build FAILED
exit /B 1<commit_msg>fix makeallvc10.bat<commit_after>call "%VS100COMNTOOLS%\vsvars32.bat"

set INITIAL_DIR=%cd%
set INSTALL_DIR=%2%

cd win32
@call autogen.cmd
cd libsofia-sip-ua-static

if "%1%" == "release" (
    msbuild.exe libsofia_sip_ua_static.sln /p:Flavor=Release;Platform=Win32 || goto error
	echo F | xcopy /E /Y /I Release\libsofia_sip_ua_static.lib %INSTALL_DIR%\lib\libsofia_sip_ua.lib || goto error
) else (
    msbuild.exe libsofia_sip_ua_static.sln /p:Flavor=Debug;Platform=Win32 || goto error
	echo F | xcopy /E /Y /I Debug\libsofia_sip_ua_static.lib %INSTALL_DIR%\lib\libsofia_sip_ua.lib || goto error
)
echo F | xcopy /E /Y /I ..\pthreads-win32\pthread.lib %INSTALL_DIR%\lib\pthread.lib || goto error

echo F | xcopy /E /Y /I ..\sofia-sip\su_configure.h %INSTALL_DIR%\include\sofia-sip\su_configure.h 
cd %INITIAL_DIR%\libsofia-sip-ua
FOR /F %%f IN ('dir *.h /b/s') DO echo F | xcopy /E /Y /I %%f %INSTALL_DIR%\include\sofia-sip\

cd %INITIAL_DIR%
echo Sofia-SIP build OK
exit /B 0

:error
cd %INITIAL_DIR%
echo Sofia-SIP build FAILED
exit /B 1
{'fraction_non_alphanumeric': 0.14383227693807898, 'fraction_numerical': 0.01657727937591419, 'mean_word_length': 3.920863309352518, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1596821', 'n_tokens_mistral': 953, 'n_tokens_neox': 898, 'n_words': 204}