Changeset 21447

Show
Ignore:
Timestamp:
12.01.2010 17:51:36 (9 years ago)
Author:
ak19
Message:

Now compilation of jdbmnaiveclass only happens when ENABLE_JDBM is set.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/src/lib/Makefile.in

    r21405 r21447  
    4343endif 
    4444 
     45ENABLE_JDBM=@ENABLE_JDBM@ 
     46ifeq ($(ENABLE_JDBM), 1) 
     47JDBM_SOURCES = jdbmnaiveclass.cpp 
     48JDBM_OBJECTS = jdbmnaiveclass.o 
     49else 
     50JDBM_SOURCES =  
     51JDBM_OBJECTS =  
     52endif 
    4553 
    4654AR = ar 
     
    6977    fileutil.cpp \ 
    7078    gdbmclass.cpp \ 
    71     jdbmnaiveclass.cpp \ 
     79    $(JDBM_SOURCES) \ 
    7280    gsdlsitecfg.cpp \ 
    7381    gsdltimes.cpp \ 
     
    9098    fileutil.o \ 
    9199    gdbmclass.o \ 
    92     jdbmnaiveclass.o \ 
     100    $(JDBM_OBJECTS) \ 
    93101    gsdlsitecfg.o \ 
    94102    gsdltimes.o \