Changeset 21436 for main/trunk/gs2build

Show
Ignore:
Timestamp:
07.01.2010 14:49:03 (10 years ago)
Author:
ak19
Message:

Better way of setting the ENABLE_indexer and USE_SQLITE and ENABLE_JNI variables in the windows makefiles. This file now is the same as GS2's win32.mak.

Files:
1 modified

Legend:

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

    r21378 r21436  
    3838USE_MSSQL = 0 
    3939USE_Z3950 = 0 
    40  
    4140# by default, all indexers are enabled 
    4241ENABLE_MG = 1 
     
    5352INSTALLDIRS = $(INSTALLDIRS) runtime-src  
    5453!ENDIF 
     54 
    5555 
    5656MAKECMD = $(MAKE) $(MDEFINES) GSDLHOME="$(GSDLHOME)" 
     
    7474MAKECMD = $(MAKECMD) DLLDEBUG=1 
    7575!ENDIF 
    76 !IF "$(USE_SQLITE)" == "" 
    77 MAKECMD = $(MAKECMD) USE_SQLITE=1 
    78 !ELSE 
    79 MAKECMD = $(MAKECMD) USE_SQLITE=$(USE_SQLITE) 
     76!IF !$(USE_SQLITE) 
     77MAKECMD = $(MAKECMD) USE_SQLITE=0 
    8078!ENDIF 
    8179!IF $(USE_MSSQL) 
     
    8583MAKECMD = $(MAKECMD) USE_Z3950=1 
    8684!ENDIF 
    87 !IF "$(ENABLE_JNI)" == "" 
    88 MAKECMD = $(MAKECMD) ENABLE_JNI=0 
    89 !ELSE 
    90 MAKECMD = $(MAKECMD) ENABLE_JNI=$(ENABLE_JNI) 
     85!IF $(ENABLE_JNI) 
     86MAKECMD = $(MAKECMD) ENABLE_JNI=1 
    9187!ENDIF 
    92 !IF "$(ENABLE_MG)" == "" 
    93 MAKECMD = $(MAKECMD) ENABLE_MG=1 
    94 !ELSE 
    95 MAKECMD = $(MAKECMD) ENABLE_MG=$(ENABLE_MG) 
     88!IF !$(ENABLE_MG) 
     89MAKECMD = $(MAKECMD) ENABLE_MG=0 
    9690!ENDIF 
    97 !IF "$(ENABLE_MGPP)" == "" 
    98 MAKECMD = $(MAKECMD) ENABLE_MGPP=1 
    99 !ELSE 
    100 MAKECMD = $(MAKECMD) ENABLE_MGPP=$(ENABLE_MGPP) 
     91!IF !$(ENABLE_MGPP) 
     92MAKECMD = $(MAKECMD) ENABLE_MGPP=0 
    10193!ENDIF 
    102 !IF "$(ENABLE_LUCENE)" == "" 
    103 MAKECMD = $(MAKECMD) ENABLE_LUCENE=1 
    104 !ELSE 
    105 MAKECMD = $(MAKECMD) ENABLE_LUCENE=$(ENABLE_LUCENE) 
     94!IF !$(ENABLE_LUCENE) 
     95MAKECMD = $(MAKECMD) ENABLE_LUCENE=0 
    10696!ENDIF 
    10797