2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
REM $Id: build_exe.bat,v 1.35 2015/12/14 15:15:36 gilles Exp gilles $
|
2015-05-28 19:04:57 +02:00
|
|
|
@ECHO OFF
|
|
|
|
|
|
|
|
ECHO Building imapsync.exe
|
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
@REM the following command change current directory to the dirname of the current batch pathname
|
|
|
|
CD /D %~dp0
|
|
|
|
|
|
|
|
perl -v
|
|
|
|
IF ERRORLEVEL 1 ECHO Perl needed. Install Strawberry Perl. Get it at http://strawberryperl.com/ ^
|
|
|
|
&& PAUSE && EXIT /B 3
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
REM CALL .\install_modules.bat
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
perl ^
|
|
|
|
-mAuthen::NTLM ^
|
|
|
|
-mData::Dumper ^
|
|
|
|
-mData::Uniqid ^
|
|
|
|
-mDigest::HMAC_MD5 ^
|
|
|
|
-mDigest::HMAC_SHA1 ^
|
|
|
|
-mDigest::MD5 ^
|
|
|
|
-mFile::Copy::Recursive ^
|
|
|
|
-mFile::Spec ^
|
|
|
|
-mIO::Socket ^
|
|
|
|
-mIO::Socket::INET ^
|
|
|
|
-mIO::Socket::IP ^
|
|
|
|
-mIO::Socket::SSL ^
|
|
|
|
-mIO::Tee ^
|
|
|
|
-mMail::IMAPClient ^
|
|
|
|
-mTerm::ReadKey ^
|
|
|
|
-mTime::Local ^
|
|
|
|
-mUnicode::String ^
|
|
|
|
-mURI::Escape ^
|
2015-08-04 03:44:40 +02:00
|
|
|
-mJSON::WebToken ^
|
|
|
|
-mLWP::UserAgent ^
|
|
|
|
-mHTML::Entities ^
|
|
|
|
-mJSON ^
|
2015-12-03 18:16:32 +01:00
|
|
|
-mCrypt::OpenSSL::RSA ^
|
2016-01-22 17:52:28 +01:00
|
|
|
-mEncode::Byte ^
|
2015-05-28 19:04:57 +02:00
|
|
|
-e ''
|
|
|
|
|
|
|
|
@ECHO ON
|
2016-01-22 17:52:28 +01:00
|
|
|
DEL imapsync.exe
|
2015-05-28 19:04:57 +02:00
|
|
|
pp -o imapsync.exe ^
|
2015-12-03 18:16:32 +01:00
|
|
|
--link libeay32_.dll ^
|
|
|
|
--link zlib1_.dll ^
|
|
|
|
--link ssleay32_.dll ^
|
|
|
|
.\imapsync
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
ECHO Done building imapsync.exe
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
@REM Previous options to pp
|
|
|
|
@REM Previous options to pp
|
|
|
|
@REM --link libeay32_.dll ^
|
|
|
|
@REM --link zlib1_.dll ^
|
|
|
|
@REM --link ssleay32_.dll ^
|
|
|
|
@REM -M Mail::IMAPClient ^
|
|
|
|
@REM -M IO::Socket ^
|
|
|
|
@REM -M IO::Socket::IP ^
|
|
|
|
@REM -M IO::Socket::SSL ^
|
|
|
|
@REM -M IO::Socket::INET ^
|
|
|
|
@REM -M Digest::MD5 ^
|
|
|
|
@REM -M Digest::HMAC_MD5 ^
|
|
|
|
@REM -M Digest::HMAC_SHA1 ^
|
|
|
|
@REM -M Term::ReadKey ^
|
|
|
|
@REM -M File::Spec ^
|
|
|
|
@REM -M Authen::NTLM ^
|
|
|
|
@REM -M Time::Local ^
|
|
|
|
@REM -M URI::Escape ^
|
|
|
|
@REM -M Data::Uniqid ^
|
|
|
|
@REM -M File::Copy::Recursive ^
|
|
|
|
@REM -M IO::Tee ^
|
|
|
|
@REM -M Unicode::String ^
|
|
|
|
@REM -M JSON::WebToken ^
|
|
|
|
@REM -M LWP::UserAgent ^
|
|
|
|
@REM -M HTML::Entities ^
|
|
|
|
@REM -M JSON ^
|
2016-01-22 17:52:28 +01:00
|
|
|
@REM -M Encode::Byte ^
|
|
|
|
EXIT /B
|
2015-12-03 18:16:32 +01:00
|
|
|
|
|
|
|
-M Mail::IMAPClient ^
|
|
|
|
-M IO::Socket ^
|
|
|
|
-M IO::Socket::IP ^
|
|
|
|
-M IO::Socket::SSL ^
|
|
|
|
-M IO::Socket::INET ^
|
|
|
|
-M Digest::MD5 ^
|
|
|
|
-M Digest::HMAC_MD5 ^
|
|
|
|
-M Digest::HMAC_SHA1 ^
|
|
|
|
-M Term::ReadKey ^
|
|
|
|
-M File::Spec ^
|
|
|
|
-M Authen::NTLM ^
|
|
|
|
-M Time::Local ^
|
|
|
|
-M URI::Escape ^
|
|
|
|
-M Data::Uniqid ^
|
|
|
|
-M File::Copy::Recursive ^
|
|
|
|
-M IO::Tee ^
|
|
|
|
-M Unicode::String ^
|
|
|
|
-M JSON::WebToken ^
|
|
|
|
-M LWP::UserAgent ^
|
|
|
|
-M HTML::Entities ^
|
|
|
|
-M Crypt::OpenSSL::RSA ^
|
|
|
|
-M JSON ^
|
2016-01-22 17:52:28 +01:00
|
|
|
-M Encode::Byte ^
|