Show
Ignore:
Timestamp:
16.12.2009 14:11:07 (10 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.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/win32.mak

    r21330 r21366  
    4040ENABLE_MGPP = 1 
    4141ENABLE_LUCENE = 1 
     42# jni is disabled by default as this is the default for GS2 
     43ENABLE_JNI = 0 
    4244 
    4345 
     
    7779!IF $(USE_Z3950) 
    7880MAKECMD = $(MAKECMD) USE_Z3950=1 
     81!ENDIF 
     82!IF "$(ENABLE_JNI)" == "" 
     83MAKECMD = $(MAKECMD) ENABLE_JNI=0 
     84!ELSE 
     85MAKECMD = $(MAKECMD) ENABLE_JNI=$(ENABLE_JNI) 
    7986!ENDIF 
    8087!IF "$(ENABLE_MG)" == ""