source: trunk/indexers/mgpp/winMake.bat@ 13729

Last change on this file since 13729 was 13729, checked in by kjdon, 17 years ago

added a no java option for compiling for greenstone 2

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 766 bytes
Line 
1@echo off
2
3set MAKE=nmake
4set MAKE_OPTIONS=/f
5
6if ""%1"" == """" goto all
7if ""%1"" == ""compile"" goto go
8if ""%1"" == ""install"" goto go
9if ""%1"" == ""clean"" goto go
10
11:unknown
12 echo Error: Unrecognized argument %1.
13 goto done
14
15:go
16 if ""%2"" == ""javaonly"" goto java
17 if ""%2"" == ""nojava"" goto nojava
18
19:all
20 cd lib
21 %MAKE% %MAKE_OPTIONS% win32.mak %1
22 cd ..
23
24 cd text
25 %MAKE% %MAKE_OPTIONS% win32.mak %1
26 cd ..
27
28 cd java\org\greenstone\mgpp
29 call winMake.bat %1
30 cd ..\..\..\..
31
32 cd jni
33 %MAKE% %MAKE_OPTIONS% win32.mak %1
34 cd ..
35 goto done
36
37:java
38 cd java\org\greenstone\mgpp
39 call winMake.bat %1
40 cd ..\..\..\..
41 goto done
42
43:nojava
44 cd lib
45 %MAKE% %MAKE_OPTIONS% win32.mak %1
46 cd ..
47
48 cd text
49 %MAKE% %MAKE_OPTIONS% win32.mak %1
50 cd ..
51 goto done
52
53:done
Note: See TracBrowser for help on using the repository browser.