source: indexers/trunk/winMake.bat@ 14172

Last change on this file since 14172 was 13866, checked in by shaoqun, 17 years ago

create a bin directory in indexers

  • Property svn:keywords set to Author Date Id Revision
File size: 873 bytes
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
22:all
23 mkdir bin
24 cd packages\unac
25 %MAKE% %MAKE_OPTIONS% win32.mak %1
26 cd ..\..
27
28 cd mg
29 call winMake.bat %1
30 cd ..
31
32 cd mgpp
33 call winMake.bat %1
34 cd ..
35
36 cd lucene-gs
37 call winMake.bat %1
38 cd ..
39 goto done
40
41:java
42 cd mg
43 call winMake.bat %1 javaonly
44 cd ..
45
46 cd mgpp
47 call winMake.bat %1 javaonly
48 cd ..
49
50 cd lucene-gs
51 call winMake.bat %1
52 cd ..
53 goto done
54
55:nojava
56 cd packages\unac
57 %MAKE% %MAKE_OPTIONS% win32.mak %1
58 cd ..\..
59
60 cd mg
61 call winMake.bat %1 nojava
62 cd ..
63
64 cd mgpp
65 call winMake.bat %1 nojava
66 cd ..
67 goto done
68
69:done
Note: See TracBrowser for help on using the repository browser.