Ignore:
Timestamp:
2009-12-09T21:41:14+13:00 (14 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)

Location:
main/trunk/greenstone2/runtime-src/src/protocol
Files:
2 edited

Legend:

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

    r18224 r21324  
    3333COLSERVR_DIR = $(RUNTIME_DIR)/src/colservr
    3434
     35ENABLE_MGPP = @ENABLE_MGPP@
     36ifeq ($(ENABLE_MGPP), 1)
     37MGPP_INCLUDES = -I$(INDEXERS_DIR)/mgpp/text
     38else
     39MGPP_INCLUDES =
     40endif
    3541
    3642AR = ar
     
    4046# Do NOT add the "recpt" directory here: the protocol should be independent of the receptionist!
    4147INCLUDES = -I. -I$(GSDL_DIR) -I$(COMMON_DIR)/src/lib -I$(COMMON_PACKAGES_DIR)/gdbm/include \
    42     -I$(COLSERVR_DIR) -I$(INDEXERS_DIR)/mgpp/text
     48    -I$(COLSERVR_DIR) $(MGPP_INCLUDES)
    4349RANLIB = @RANLIB@
    4450
  • main/trunk/greenstone2/runtime-src/src/protocol/win32.mak

    r19521 r21324  
    3838DLL = 0
    3939DLLDEBUG = 0
     40ENABLE_MGPP = 1
    4041
    4142!IF $(DEBUG)
     
    5960!ENDIF
    6061
     62!IF $(ENABLE_MGPP) == "0"
     63MGPP_INCLUDES =
     64!ELSE
     65MGPP_INCLUDES = -I"$(INDEXERS_DIR)\mgpp\text"
     66!ENDIF
    6167
    6268AR = lib
     
    6470DEFS = -D__WIN32__ -DHAVE_CONFIG_H -DPARADOCNUM -D_LITTLE_ENDIAN -DSHORT_SUFFIX -D_CRT_SECURE_NO_DEPRECATE
    6571# Do NOT add the "recpt" directory here: the protocol should be independent of the receptionist!
    66 INCLUDES = -I"$(GSDL_DIR)" -I"$(COMMON_DIR)\src\lib" -I"$(COLSERVR_DIR)" -I"$(INDEXERS_DIR)\mgpp\text" \
     72INCLUDES = -I"$(GSDL_DIR)" -I"$(COMMON_DIR)\src\lib" -I"$(COLSERVR_DIR)" $(MGPP_INCLUDES) \
    6773     -I"$(COMMON_PACKAGES_DIR)\windows\gdbm\gdbm"
    6874
Note: See TracChangeset for help on using the changeset viewer.