Ignore:
Timestamp:
2010-01-04T23:08:33+13:00 (14 years ago)
Author:
davidb
Message:

Introduction of --enable-jdbm flag

File:
1 edited

Legend:

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

    r20832 r21409  
    2626
    2727
     28USE_JDBM=@USE_JDBM@
     29
     30ifeq ($(USE_JDBM), 1)
     31JDBM_DIR = jdbm/jdbm-1.0
     32else
     33JDBM_DIR =
     34endif
     35
    2836USE_SQLITE=@USE_SQLITE@
    2937
     
    3947# CLEANDIRS is COMPILEDIRS and iconv and expat. Iconv and expat get compiled
    4048# up during the configure stage itself.
    41 COMPILEDIRS =   gdbm $(SQLITE_DIR) search4j
     49COMPILEDIRS =   gdbm $(SQLITE_DIR) $(JDBM_DIR) search4j
    4250CLEANDIRS = iconv expat $(COMPILEDIRS)
    4351
     
    4856          (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
    4957        done
     58ifeq ($(USE_JDBM), 1)
     59# do 'make install' in jdbm directory to get the jar file into the right place
     60    cd $(JDBM_DIR) && $(MAKE) $(MDEFINES) install
     61endif
    5062ifeq ($(USE_SQLITE), 1)
    5163# need to do make install in sqlite to get the header files and library into the right place
Note: See TracChangeset for help on using the changeset viewer.