Show
Ignore:
Timestamp:
09.12.2009 21:51:41 (10 years ago)
Author:
ak19
Message:

Changes to makefiles, configure files, and source code to work with the new configure flags that allow indexers to be individually compiled up by setting each indexer to be enabled or disabled (enable-mg, enable-mgpp, enable-lucene).

Files:
1 modified

Legend:

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

    r19522 r21330  
    3636USE_Z3950 = 0 
    3737 
     38# by default, all indexers are enabled 
     39ENABLE_MG = 1 
     40ENABLE_MGPP = 1 
     41ENABLE_LUCENE = 1 
     42 
     43 
    3844MDEFINES = /f win32.mak 
    3945 
     
    6167MAKECMD = $(MAKECMD) DLLDEBUG=1 
    6268!ENDIF 
    63 !IF $(USE_SQLITE) 
     69!IF "$(USE_SQLITE)" == "" 
    6470MAKECMD = $(MAKECMD) USE_SQLITE=1 
     71!ELSE 
     72MAKECMD = $(MAKECMD) USE_SQLITE=$(USE_SQLITE) 
    6573!ENDIF 
    6674!IF $(USE_MSSQL) 
     
    6977!IF $(USE_Z3950) 
    7078MAKECMD = $(MAKECMD) USE_Z3950=1 
     79!ENDIF 
     80!IF "$(ENABLE_MG)" == "" 
     81MAKECMD = $(MAKECMD) ENABLE_MG=1 
     82!ELSE 
     83MAKECMD = $(MAKECMD) ENABLE_MG=$(ENABLE_MG) 
     84!ENDIF 
     85!IF "$(ENABLE_MGPP)" == "" 
     86MAKECMD = $(MAKECMD) ENABLE_MGPP=1 
     87!ELSE 
     88MAKECMD = $(MAKECMD) ENABLE_MGPP=$(ENABLE_MGPP) 
     89!ENDIF 
     90!IF "$(ENABLE_LUCENE)" == "" 
     91MAKECMD = $(MAKECMD) ENABLE_LUCENE=1 
     92!ELSE 
     93MAKECMD = $(MAKECMD) ENABLE_LUCENE=$(ENABLE_LUCENE) 
    7194!ENDIF 
    7295