Ignore:
Timestamp:
2009-12-16T14:10:51+13:00 (14 years ago)
Author:
ak19
Message:

New configuration and compilation flag ENABLE_JNI added which will be disabled by default for GS2 since in general GS doesn't need mg and mgpp compiled up with jni. GS3's build.xml will need to explicitly set ENABLE_JNI to compile mg and mgpp with jni.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/win32.mak

    r21348 r21365  
    192192    set ENABLE_LUCENE=$(ENABLE_LUCENE)
    193193
    194     if EXIST "$(GSDLHOME)\runtime-src" call winMake.bat all gs2
    195     if EXIST "$(GSDLHOME)\runtime-src" call winMake.bat install gs2
    196     if NOT EXIST "$(GSDLHOME)\runtime-src" call winMake.bat all
    197     if NOT EXIST "$(GSDLHOME)\runtime-src" call winMake.bat install
     194!IF "$(ENABLE_JNI)" == "1"
     195    call winMake.bat all with-jni
     196    call winMake.bat install with-jni
     197!ELSE
     198    call winMake.bat all without-jni
     199    call winMake.bat install without-jni
     200!ENDIF
    198201
    199202    set DEBUG=
Note: See TracChangeset for help on using the changeset viewer.