Show
Ignore:
Timestamp:
07.01.2010 14:23:27 (10 years ago)
Author:
ak19
Message:

Better way of setting the ENABLE_indexer and USE_SQLITE and ENABLE_JNI variables in the windows makefiles.

Files:
1 modified

Legend:

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

    r21329 r21435  
    7272MAKECMD = $(MAKECMD) DLLDEBUG=1 
    7373!ENDIF 
    74 !IF "$(USE_SQLITE)" == "" 
    75 MAKECMD = $(MAKECMD) USE_SQLITE=1 
    76 !ELSE 
    77 MAKECMD = $(MAKECMD) USE_SQLITE=$(USE_SQLITE) 
     74!IF !$(USE_SQLITE) 
     75MAKECMD = $(MAKECMD) USE_SQLITE=0 
    7876!ENDIF 
    7977!IF $(USE_MSSQL) 
     
    8583PACKAGEDIRS = $(PACKAGEDIRS) packages\d2m $(YAZ_DIR) 
    8684!ENDIF 
    87 !IF "$(ENABLE_MG)" == "" 
    88 MAKECMD = $(MAKECMD) ENABLE_MG=1 
    89 !ELSE 
    90 MAKECMD = $(MAKECMD) ENABLE_MG=$(ENABLE_MG) 
     85!IF !$(ENABLE_MG) 
     86MAKECMD = $(MAKECMD) ENABLE_MG=0 
    9187!ENDIF 
    92 !IF "$(ENABLE_MGPP)" == "" 
    93 MAKECMD = $(MAKECMD) ENABLE_MGPP=1 
    94 !ELSE 
    95 MAKECMD = $(MAKECMD) ENABLE_MGPP=$(ENABLE_MGPP) 
     88!IF !$(ENABLE_MGPP) 
     89MAKECMD = $(MAKECMD) ENABLE_MGPP=0 
    9690!ENDIF 
    97 !IF "$(ENABLE_LUCENE)" == "" 
    98 MAKECMD = $(MAKECMD) ENABLE_LUCENE=1 
    99 !ELSE 
    100 MAKECMD = $(MAKECMD) ENABLE_LUCENE=$(ENABLE_LUCENE) 
     91!IF !$(ENABLE_LUCENE) 
     92MAKECMD = $(MAKECMD) ENABLE_LUCENE=0 
    10193!ENDIF 
    10294