source: indexers/trunk/winMake.bat@ 16064

Last change on this file since 16064 was 16064, checked in by kjdon, 14 years ago

added a new option - gs2. use this instead of nojava for gs2 compiling, as we want lucene to be compiled. Don't know if we still need nojava option, but will leave it in for now

  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 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 mkdir bin
25 cd packages\unac
26 %MAKE% %MAKE_OPTIONS% win32.mak %1
27 cd ..\..
28
29 cd mg
30 call winMake.bat %1
31 cd ..
32
33 cd mgpp
34 call winMake.bat %1
35 cd ..
36
37 cd lucene-gs
38 call winMake.bat %1
39 cd ..
40 goto done
41
42:java
43 cd mg
44 call winMake.bat %1 javaonly
45 cd ..
46
47 cd mgpp
48 call winMake.bat %1 javaonly
49 cd ..
50
51 cd lucene-gs
52 call winMake.bat %1
53 cd ..
54 goto done
55
56:nojava
57 cd packages\unac
58 %MAKE% %MAKE_OPTIONS% win32.mak %1
59 cd ..\..
60
61 cd mg
62 call winMake.bat %1 nojava
63 cd ..
64
65 cd mgpp
66 call winMake.bat %1 nojava
67 cd ..
68 goto done
69
70:gs2
71
72 if NOT EXIST "bin" mkdir bin
73 cd packages\unac
74 %MAKE% %MAKE_OPTIONS% win32.mak %1
75 cd ..\..
76
77 cd mg
78 call winMake.bat %1 nojava
79 cd ..
80
81 cd mgpp
82 call winMake.bat %1 nojava
83 cd ..
84
85 cd lucene-gs
86 call winMake.bat %1
87 cd ..
88 goto done
89
90:done
Note: See TracBrowser for help on using the repository browser.