root/indexers/trunk/winMake.bat @ 16906

Revision 16906, 1.2 KB (checked in by mdewsnip, 12 years ago)

Minor fix.

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