source: indexers/trunk/winMake.bat@ 18446

Last change on this file since 18446 was 18310, checked in by davidb, 15 years ago

Make sure iconv.zip is unzipped before trying to compile it

  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
RevLine 
[13728]1@echo off
2
3set MAKE=nmake
4set MAKE_OPTIONS=/f
5
6if ""%1"" == """" goto all
[13755]7if ""%1"" == ""all"" goto go
[13728]8if ""%1"" == ""install"" goto go
[13755]9if ""%1"" == ""clean"" goto clean
[13728]10
11:unknown
12 echo Error: Unrecognized argument %1.
13 goto done
14
[13755]15:clean
16 del bin\*
[13840]17
18:go
[13755]19 if ""%2"" == ""javaonly"" goto java
20 if ""%2"" == ""nojava"" goto nojava
[16064]21 if ""%2"" == ""gs2"" goto gs2
[13755]22
[13728]23:all
[16907]24 if NOT EXIST "bin" mkdir bin
25
[18310]26 cd packages\windows\iconv
27 if NOT EXIST "iconv" unzip iconv.zip
28 cd iconv
[16906]29 %MAKE% %MAKE_OPTIONS% Makefile.msvc NO_NLS=1
[16907]30 cd ..\..\..\..
[16903]31
[13755]32 cd packages\unac
[13728]33 %MAKE% %MAKE_OPTIONS% win32.mak %1
[13755]34 cd ..\..
[13728]35
36 cd mg
37 call winMake.bat %1
38 cd ..
39
40 cd mgpp
41 call winMake.bat %1
42 cd ..
43
44 cd lucene-gs
45 call winMake.bat %1
[13750]46 cd ..
[13728]47 goto done
48
49:java
50 cd mg
51 call winMake.bat %1 javaonly
52 cd ..
53
54 cd mgpp
55 call winMake.bat %1 javaonly
56 cd ..
57
58 cd lucene-gs
59 call winMake.bat %1
[13750]60 cd ..
[13728]61 goto done
62
63:nojava
[16907]64 cd packages\windows\iconv\iconv
65 %MAKE% %MAKE_OPTIONS% Makefile.msvc NO_NLS=1
66 cd ..\..\..\..
67
[13755]68 cd packages\unac
[13728]69 %MAKE% %MAKE_OPTIONS% win32.mak %1
[13755]70 cd ..\..
[13728]71
72 cd mg
73 call winMake.bat %1 nojava
74 cd ..
75
76 cd mgpp
77 call winMake.bat %1 nojava
78 cd ..
79 goto done
[13840]80
[16064]81:gs2
82 if NOT EXIST "bin" mkdir bin
[16907]83
84 cd packages\windows\iconv\iconv
85 %MAKE% %MAKE_OPTIONS% Makefile.msvc NO_NLS=1
86 cd ..\..\..\..
87
[16064]88 cd packages\unac
89 %MAKE% %MAKE_OPTIONS% win32.mak %1
90 cd ..\..
91
92 cd mg
93 call winMake.bat %1 nojava
94 cd ..
95
96 cd mgpp
97 call winMake.bat %1 nojava
98 cd ..
99
100 cd lucene-gs
101 call winMake.bat %1
102 cd ..
103 goto done
104
[13728]105:done
Note: See TracBrowser for help on using the repository browser.