| 1 | :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|---|
| 2 | ::
|
|---|
| 3 | :: Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|---|
| 4 | :: All rights reserved.
|
|---|
| 5 | :: Contact: Nokia Corporation (qt-info@nokia.com)
|
|---|
| 6 | ::
|
|---|
| 7 | :: This file is part of the tools applications of the Qt Toolkit.
|
|---|
| 8 | ::
|
|---|
| 9 | :: $QT_BEGIN_LICENSE:LGPL$
|
|---|
| 10 | :: Commercial Usage
|
|---|
| 11 | :: Licensees holding valid Qt Commercial licenses may use this file in
|
|---|
| 12 | :: accordance with the Qt Commercial License Agreement provided with the
|
|---|
| 13 | :: Software or, alternatively, in accordance with the terms contained in
|
|---|
| 14 | :: a written agreement between you and Nokia.
|
|---|
| 15 | ::
|
|---|
| 16 | :: GNU Lesser General Public License Usage
|
|---|
| 17 | :: Alternatively, this file may be used under the terms of the GNU Lesser
|
|---|
| 18 | :: General Public License version 2.1 as published by the Free Software
|
|---|
| 19 | :: Foundation and appearing in the file LICENSE.LGPL included in the
|
|---|
| 20 | :: packaging of this file. Please review the following information to
|
|---|
| 21 | :: ensure the GNU Lesser General Public License version 2.1 requirements
|
|---|
| 22 | :: will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|---|
| 23 | ::
|
|---|
| 24 | :: In addition, as a special exception, Nokia gives you certain additional
|
|---|
| 25 | :: rights. These rights are described in the Nokia Qt LGPL Exception
|
|---|
| 26 | :: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|---|
| 27 | ::
|
|---|
| 28 | :: GNU General Public License Usage
|
|---|
| 29 | :: Alternatively, this file may be used under the terms of the GNU
|
|---|
| 30 | :: General Public License version 3.0 as published by the Free Software
|
|---|
| 31 | :: Foundation and appearing in the file LICENSE.GPL included in the
|
|---|
| 32 | :: packaging of this file. Please review the following information to
|
|---|
| 33 | :: ensure the GNU General Public License version 3.0 requirements will be
|
|---|
| 34 | :: met: http://www.gnu.org/copyleft/gpl.html.
|
|---|
| 35 | ::
|
|---|
| 36 | :: If you have questions regarding the use of this file, please contact
|
|---|
| 37 | :: Nokia at qt-info@nokia.com.
|
|---|
| 38 | :: $QT_END_LICENSE$
|
|---|
| 39 | ::
|
|---|
| 40 | :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|---|
| 41 | call :%1 %2
|
|---|
| 42 | goto END
|
|---|
| 43 |
|
|---|
| 44 | :setglobals
|
|---|
| 45 | set IWMAKE_PARSESECTION=1
|
|---|
| 46 | set IWMAKE_MINGWPATH=c:\MinGW\bin
|
|---|
| 47 | set IWMAKE_STARTDIR=%CD%
|
|---|
| 48 | set IWMAKE_NSISCONF=%IWMAKE_SCRIPTDIR%\nsis\config.nsh
|
|---|
| 49 | set IWMAKE_ROOT=c:\package
|
|---|
| 50 | set IWMAKE_OUTDIR=%IWMAKE_ROOT%
|
|---|
| 51 | set IWMAKE_SRCDIR=%IWMAKE_ROOT%
|
|---|
| 52 | set IWMAKE_EXTRACTDEST=%IWMAKE_ROOT%
|
|---|
| 53 | set IWMAKE_NSISPATH=%PROGRAMFILES%\NSIS
|
|---|
| 54 | call %IWMAKE_SCRIPTDIR%\batch\log.bat fileAbs "%IWMAKE_STARTDIR%\log.txt"
|
|---|
| 55 | goto :eof
|
|---|
| 56 |
|
|---|
| 57 | :signPath
|
|---|
| 58 | set IWMAKE_SIGNPATH=%~1
|
|---|
| 59 | goto :eof
|
|---|
| 60 |
|
|---|
| 61 | :wgetPath
|
|---|
| 62 | set IWMAKE_WGET=%~1
|
|---|
| 63 | goto :eof
|
|---|
| 64 |
|
|---|
| 65 | :wgetDir
|
|---|
| 66 | set IWMAKE_WGET=%IWMAKE_ROOT%\%~1
|
|---|
| 67 | goto :eof
|
|---|
| 68 |
|
|---|
| 69 | :NSISPath
|
|---|
| 70 | set IWMAKE_NSISPATH=%~1
|
|---|
| 71 | goto :eof
|
|---|
| 72 |
|
|---|
| 73 | :PerlPath
|
|---|
| 74 | set IWMAKE_PERLPATH=%~1
|
|---|
| 75 | goto :eof
|
|---|
| 76 |
|
|---|
| 77 | :MinGWPath
|
|---|
| 78 | set IWMAKE_MINGWPATH=%~1
|
|---|
| 79 | goto :eof
|
|---|
| 80 |
|
|---|
| 81 | :unzipApp
|
|---|
| 82 | set IWMAKE_UNZIPAPP=%~1
|
|---|
| 83 | goto :eof
|
|---|
| 84 |
|
|---|
| 85 | :releaseLocation
|
|---|
| 86 | set IWMAKE_WGETUSER=
|
|---|
| 87 | set IWMAKE_WGETPASS=
|
|---|
| 88 | for /F "tokens=1,2*" %%m in ("%~1") do set IWMAKE_TMP=%%~m& if not "%%~n"=="" set IWMAKE_TMP2=%%~n& if not "%%~o"=="" set IWMAKE_TMP3=%%~o
|
|---|
| 89 | if not "%IWMAKE_TMP2%"=="" set IWMAKE_WGETUSER=--http-user=%IWMAKE_TMP2%
|
|---|
| 90 | if not "%IWMAKE_TMP3%"=="" set IWMAKE_WGETPASS=--http-passwd=%IWMAKE_TMP3%
|
|---|
| 91 | set IWMAKE_RELEASELOCATION=%IWMAKE_TMP%
|
|---|
| 92 | goto :eof
|
|---|
| 93 |
|
|---|
| 94 | :removeglobals
|
|---|
| 95 | if not "%IWMAKE_OLD_PATH%"=="" call %IWMAKE_SCRIPTDIR%\batch\build.bat finish
|
|---|
| 96 | set IWMAKE_RELEASELOCATION=
|
|---|
| 97 | set IWMAKE_NSISPATH=
|
|---|
| 98 | set IWMAKE_SECTION=
|
|---|
| 99 | set IWMAKE_WGET=
|
|---|
| 100 | set IWMAKE_WGETUSER=
|
|---|
| 101 | set IWMAKE_WGETPASS=
|
|---|
| 102 | set IWMAKE_UNZIPAPP=
|
|---|
| 103 | set IWMAKE_MINGWPATH=
|
|---|
| 104 | set IWMAKE_MAKE=
|
|---|
| 105 | set IWMAKE_PERLPATH=
|
|---|
| 106 | set IWMAKE_STARTDIR=
|
|---|
| 107 | set IWMAKE_SCRIPTDIR=
|
|---|
| 108 | set IWMAKE_NSISCONF=
|
|---|
| 109 | set IWMAKE_RESULT=
|
|---|
| 110 | set IWMAKE_TMP=
|
|---|
| 111 | set IWMAKE_TMP2=
|
|---|
| 112 | set IWMAKE_TMP3=
|
|---|
| 113 | set IWMAKE_STATUS=
|
|---|
| 114 | set IWMAKE_LOGFILE=
|
|---|
| 115 | set IWMAKE_BUILD=
|
|---|
| 116 | set IWMAKE_ROOT=
|
|---|
| 117 | set IWMAKE_OUTDIR=
|
|---|
| 118 | set IWMAKE_EXTERNAL=
|
|---|
| 119 | set IWMAKE_OLD_PATH=
|
|---|
| 120 | set IWMAKE_OLD_QMAKESPEC=
|
|---|
| 121 | set IWMAKE_OLD_QTDIR=
|
|---|
| 122 | set IWMAKE_OLD_INCLUDE=
|
|---|
| 123 | set IWMAKE_OLD_LIB=
|
|---|
| 124 | set IWMAKE_COMPILER=
|
|---|
| 125 | set IWMAKE_SRCDIR=
|
|---|
| 126 | set IWMAKE_EXTRACTSRC=
|
|---|
| 127 | set IWMAKE_EXTRACTDEST=
|
|---|
| 128 | set IWMAKE_PARSESECTION=
|
|---|
| 129 | set IWMAKE_OUTPUT_FILE=
|
|---|
| 130 | set IWMAKE_SIGNPATH=
|
|---|
| 131 | goto :eof
|
|---|
| 132 |
|
|---|
| 133 | :root
|
|---|
| 134 | set IWMAKE_ROOT=%~1
|
|---|
| 135 | goto :eof
|
|---|
| 136 |
|
|---|
| 137 | :extroot
|
|---|
| 138 | set IWMAKE_EXTERNAL=%~1
|
|---|
| 139 | goto :eof
|
|---|
| 140 |
|
|---|
| 141 | :END
|
|---|