Changeset 15793

Show
Ignore:
Timestamp:
29.05.2008 14:06:12 (11 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) First cut at adding sqlite stuff to the Windows makefiles. Likely to change a bit.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/z3950/win32.mak

    r15789 r15793  
    3535DLL = 0 
    3636DLLDEBUG = 0 
     37USE_SQLITE = 0 
    3738 
    3839 
     
    5152!ENDIF 
    5253 
     54!IF $(USE_SQLITE) 
     55SQLITE_LIBS = "$(PACKAGES_DIR)\windows\sqlite\sqlite-amalgamation-3.5.9\sqlite3.lib" 
     56!ELSE 
     57SQLITE_LIBS =  
     58!ENDIF 
     59 
    5360 
    5461AR = lib 
    5562CC = cl 
    56 DEFS = -D__WIN32__ -DHAVE_CONFIG_H -DPARADOCNUM -D_LITTLE_ENDIAN -DSHORT_SUFFIX -DXML_STATIC -D_CRT_SECURE_NO_DEPRECATE 
     63DEFS = -D__WIN32__ -DHAVE_CONFIG_H -DPARADOCNUM -D_LITTLE_ENDIAN -DSHORT_SUFFIX -D_CRT_SECURE_NO_DEPRECATE 
    5764# Do NOT add the "recpt" directory here: the z39.50 code should be independent of the receptionist! 
    5865INCLUDES = -I"$(GSDL_DIR)" -I"$(GSDL_DIR)\lib" -I"$(COLSERVR_DIR)" -I"$(PROTOCOL_DIR)" \ 
     
    6269LDFLAGS =  
    6370LIBS = "$(PACKAGES_DIR)\windows\expat\expat\libexpat.lib" "$(PACKAGES_DIR)\windows\gdbm\gdbm\gdbm.lib" \ 
    64         "$(PACKAGES_DIR)\d2m\libd2m.lib" "$(PACKAGES_DIR)\yaz\yaz-2.1.4\lib\yaz.lib" 
     71        "$(PACKAGES_DIR)\d2m\libd2m.lib" "$(PACKAGES_DIR)\yaz\yaz-2.1.4\lib\yaz.lib" $(SQLITE_LIBS) 
    6572 
    6673!IF $(GSDL_VC4)