source: trunk/indexers/mg/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: 899 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 src\images
25 %MAKE% %MAKE_OPTIONS% win32.mak %1
26 cd ..\..
27
28 cd src\text
29 %MAKE% %MAKE_OPTIONS% win32.mak %1
30 cd ..\..
31
32 cd java\org\greenstone\mg
33 call winMake.bat %1
34 cd ..\..\..\..
35
36 cd jni
37 %MAKE% %MAKE_OPTIONS% win32.mak %1
38 cd ..
39 goto done
40:java
41 cd java\org\greenstone\mg
42 call winMake.bat %1
43 cd ..\..\..\..
44 goto done
45
46:nojava
47 cd lib
48 %MAKE% %MAKE_OPTIONS% win32.mak %1
49 cd ..
50
51 cd src\images
52 %MAKE% %MAKE_OPTIONS% win32.mak %1
53 cd ..\..
54
55 cd src\text
56 %MAKE% %MAKE_OPTIONS% win32.mak %1
57 cd ..\..
58 goto done
59:done
60
61
Note: See TracBrowser for help on using the repository browser.