source: trunk/indexers/winMake.bat@ 13840

Last change on this file since 13840 was 13840, checked in by kjdon, 15 years ago

fixed up some bugs in windows makefiles

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