Changeset 20183
- Timestamp:
- 2009-08-07T20:16:34+12:00 (15 years ago)
- Location:
- gsdl/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/common-src/win32.mak
r19913 r20183 141 141 cd "$(SQLITE_DIR)" 142 142 $(MAKECLEANCMD) 143 del "$(COMMONHOME)\packages\sqlite\lib\sqlite3.lib" 143 144 !ENDIF 144 145 cd "$(COMMONHOME)" -
gsdl/trunk/makegs2.bat
r19291 r20183 8 8 set VCVARS="" 9 9 10 10 :: Path to Microsoft Platform SDK's SetEnv.cmd -- You can set this variable manually if needed 11 set SDK_ENV="" 11 12 12 13 … … 31 32 32 33 rem Checking for existance of the packages extracted / zipped 33 IF NOT EXIST .\common-src\packages\windows\crypt\crypt\ *.*IF NOT EXIST .\common-src\packages\windows\crypt\crypt.zip GOTO ENDNOWINPACK34 35 IF NOT EXIST .\common-src\packages\windows\expat\expat\ *.*IF NOT EXIST .\common-src\packages\windows\expat\expat.zip GOTO ENDNOWINPACK36 37 :: IF NOT EXIST .\common-src\packages\windows\gdbm\gdbm\ *.*IF NOT EXIST .\common-src\packages\windows\gdbm\gdbm.zip GOTO ENDNOWINPACK38 39 IF NOT EXIST .\common-src\packages\windows\stlport\stlport\ *.*IF NOT EXIST .\common-src\packages\windows\stlport\stlport.zip GOTO ENDNOWINPACK40 41 IF NOT EXIST .\common-src\indexers\packages\windows\iconv\iconv\ *.*IF NOT EXIST .\common-src\indexers\packages\windows\iconv\iconv.zip GOTO ENDNOICONV34 IF NOT EXIST .\common-src\packages\windows\crypt\crypt\nul IF NOT EXIST .\common-src\packages\windows\crypt\crypt.zip GOTO ENDNOWINPACK 35 36 IF NOT EXIST .\common-src\packages\windows\expat\expat\nul IF NOT EXIST .\common-src\packages\windows\expat\expat.zip GOTO ENDNOWINPACK 37 38 :: IF NOT EXIST .\common-src\packages\windows\gdbm\gdbm\nul IF NOT EXIST .\common-src\packages\windows\gdbm\gdbm.zip GOTO ENDNOWINPACK 39 40 IF NOT EXIST .\common-src\packages\windows\stlport\stlport\nul IF NOT EXIST .\common-src\packages\windows\stlport\stlport.zip GOTO ENDNOWINPACK 41 42 IF NOT EXIST .\common-src\indexers\packages\windows\iconv\iconv\nul IF NOT EXIST .\common-src\indexers\packages\windows\iconv\iconv.zip GOTO ENDNOICONV 42 43 43 44 IF NOT EXIST .\common-src\packages\sqlite\sqlite* IF NOT EXIST .\common-src\packages\sqlite\sqlite*.tar.gz GOTO ENDNOSQLITE … … 68 69 69 70 IF EXIST .\common-src\packages\sqlite\sqlite*.tar.gz .\bin\windows\gunzip.exe -cd .\common-src\packages\sqlite\sqlite*.tar.gz | .\bin\windows\tar.exe xv --directory=./common-src/packages/sqlite 71 72 70 73 echo. 71 74 echo. … … 82 85 rem Check some known paths to VCVARS32.BAT 83 86 :: if the user has set VCVARS32 don't look in the default places at all 84 IF NOT %VCVARS%=="" GOTO CALLVCVARS87 IF NOT %VCVARS%=="" GOTO PROMPT 85 88 86 89 :: Visual Studio 2005 Pro --- NOT READY YET 87 ::IF EXIST "%programfiles%\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" set VCVARS="%programfiles%\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"90 IF EXIST "%programfiles%\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" set VCVARS="%programfiles%\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" 88 91 89 92 :: Visual Studio 2003 \ VS7 90 IF EXIST "%programfiles%\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" set VCVARS="%programfiles%\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat"93 IF %VCVARS%=="" IF EXIST "%programfiles%\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" set VCVARS="%programfiles%\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" 91 94 92 95 :: Visual Studio 6 \ VS6 93 IF EXIST "%programfiles%\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT" set VCVARS="%programfiles%\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT" 94 96 IF %VCVARS%=="" IF EXIST "%programfiles%\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT" set VCVARS="%programfiles%\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT" 95 97 96 98 IF %VCVARS%=="" GOTO ENDNOVCVARS32 97 98 :CALLVCVARS 99 call %VCVARS% 100 echo. 101 echo. 99 :: Now VCVARS has been set so it can be used when we need it 100 101 102 :PROMPT 102 103 echo. 103 104 rem Ask the user what to compile … … 107 108 echo 2. Web library only 108 109 echo 3. Both 109 echo 4. Quit 110 echo 4. Apache local library (needs Microsoft Platform SDK) 111 echo 5. Quit 110 112 echo. 111 113 echo Please choose a number from the menu. Otherwise both libraries will be compiled in 15 seconds. 112 .\bin\windows\choice.exe /N /T:3,15 /C:1234 113 IF errorlevel 4 GOTO END 114 .\bin\windows\choice.exe /N /T:3,15 /C:12345 115 IF errorlevel 5 GOTO END 116 IF errorlevel 4 GOTO WITHAPACHE 114 117 IF errorlevel 3 GOTO WITHBOTH 115 118 IF errorlevel 2 GOTO WITHOUTLOCALLIB … … 118 121 119 122 123 :WITHAPACHE 124 :: Only compile up the Apache web server if we're asked to 125 126 rem Check known path(s) to SetEnv.cmd 127 :: if the user has set SDK_ENV don't look in the default places at all 128 IF NOT %SDK_ENV%=="" GOTO CALL_SDK 129 130 IF EXIST "%programfiles%\Microsoft Platform SDK\SetEnv.cmd" set SDK_ENV="%programfiles%\Microsoft Platform SDK\SetEnv.cmd" 131 132 IF %SDK_ENV%=="" GOTO ENDNOSDKENV 133 134 :CALL_SDK 135 call %SDK_ENV% 136 echo. 137 echo. 138 139 call %VCVARS% 140 echo. 141 echo. 142 143 :: Now unpack the custom GS2 apache web server tar.gz file 144 IF NOT EXIST .\runtime-src\packages\apache-httpd\httpd-2.2.11\nul .\bin\windows\gunzip.exe -cd .\runtime-src\packages\apache-httpd\httpd-*.tar.gz | .\bin\windows\tar.exe xv --directory=./runtime-src/packages/apache-httpd 145 146 nmake /f win32.mak APACHE_HTTPD=1 147 GOTO ENDOK 148 149 120 150 :WITHOUTLOCALLIB 151 call %VCVARS% 152 echo. 153 echo. 121 154 nmake /f win32.mak 122 155 GOTO ENDOK 123 156 124 157 :WITHLOCALLIB 158 call %VCVARS% 159 echo. 160 echo. 125 161 nmake /f win32.mak LOCAL_LIBRARY=1 126 162 GOTO ENDOK 127 163 128 164 :WITHBOTH 165 call %VCVARS% 166 echo. 167 echo. 129 168 nmake /f win32.mak 130 169 nmake /f win32.mak LOCAL_LIBRARY=1 … … 194 233 GOTO END 195 234 235 :ENDNOSDKENV 236 echo. 237 echo /!\ Error /!\ - Not able to find 'SetEnv.cmd'. 238 echo You need Microsoft Platform SDK to compile up the Apache web server 239 echo but we were unable to find the SDK file SetEnv.cmd on your system. 240 echo. 241 echo Please edit the makegs2.bat file and manually set the full path to 242 echo SetEnv.cmd then run this script again. 243 GOTO END 244 196 245 :ENDOK 197 246 echo. -
gsdl/trunk/runtime-src/packages/apache-httpd/win32.mak
r19019 r20183 30 30 compile: 31 31 cd "$(APACHEHOME)" 32 nmake /f Makefile.win _apacher PORT=8282 32 copy "$(GSDLHOME)\bin\windows\awk.exe" "$(APACHEHOME)\." 33 set APACHEHOME=$(APACHEHOME) 34 nmake /f Makefile.win _apacher 33 35 cd "$(GSDLHOME)" 34 36 … … 36 38 cd "$(APACHEHOME)" 37 39 nmake /f Makefile.win installr INSTDIR=$(GSDLHOME)\apache-httpd\windows 40 copy "$(MAKEDIR)\windows-httpd.conf.in" "$(GSDLHOME)\apache-httpd\windows\conf\httpd.conf.in 38 41 cd "$(GSDLHOME)" 39 42 -
gsdl/trunk/runtime-src/win32.mak
r19521 r20183 106 106 cd src\w32apachectl 107 107 $(MAKECLEANCMD) 108 cd "$(RUNTIMEHOME)" 109 cd packages\apache-httpd 110 $(MAKECLEANCMD) 108 111 cd "$(GSDLHOME)" 109 112
Note:
See TracChangeset
for help on using the changeset viewer.