Ignore:
Timestamp:
2010-01-15T15:16:03+13:00 (13 years ago)
Author:
mdewsnip
Message:

Created USE_GDBM and USE_JDBM defines that work similar to USE_SQLITE and USE_MSSQL for controlling which infodb types are compiled in. Currently these are not configurable through the configure scripts and are always on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/colservr/Makefile.in

    r21324 r21472  
    8181
    8282
     83# Currently not configurable, and always on
     84USE_GDBM = 1
     85ifeq ($(USE_GDBM), 1)
     86GDBM_DEFINES = -DUSE_GDBM
     87GDBM_INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include
     88else
     89GDBM_DEFINES =
     90GDBM_INCLUDES =
     91endif
     92
     93
     94# Currently not configurable, and always on
     95USE_JDBM = 1
     96ifeq ($(USE_JDBM), 1)
     97JDBM_DEFINES = -DUSE_JDBM
     98else
     99JDBM_DEFINES =
     100endif
     101
     102
    83103USE_SQLITE = @USE_SQLITE@
    84104ifeq ($(USE_SQLITE), 1)
     
    96116CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@
    97117CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@
    98 DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER $(SQLITE_DEFINES)
     118DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    99119# Do NOT add the "recpt" directory here: the colserver should be independent of the receptionist!
    100 INCLUDES = -I. -I$(GSDL_DIR) -I$(COMMON_DIR)/src/lib -I$(COMMON_PACKAGES_DIR)/gdbm/include \
     120INCLUDES = -I. -I$(GSDL_DIR) -I$(COMMON_DIR)/src/lib \
    101121    $(MG_INCLUDES) \
    102122    $(MGPP_INCLUDES) \
    103     -I$(COMMON_PACKAGES_DIR)/expat/include $(SQLITE_INCLUDES)
     123    -I$(COMMON_PACKAGES_DIR)/expat/include $(GDBM_INCLUDES) $(SQLITE_INCLUDES)
    104124RANLIB = @RANLIB@
    105125
Note: See TracChangeset for help on using the changeset viewer.