source: indexers/tags/2.81rc/winMake.bat@ 17922

Last change on this file since 17922 was 16907, checked in by mdewsnip, 14 years ago

More fixes to new iconv compilation.

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