Changeset 15790

Show
Ignore:
Timestamp:
29.05.2008 13:42:29 (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/w32server/win32.mak

    r15789 r15790  
    3535GSDL_VC4 = 0 
    3636ENABLE_ACCENTFOLD = 1 
     37USE_SQLITE = 0 
    3738 
    3839 
     
    4950!ENDIF 
    5051 
     52!IF $(USE_SQLITE) 
     53SQLITE_LIBS = "$(PACKAGES_DIR)\windows\sqlite\sqlite-amalgamation-3.5.9\sqlite3.lib" 
     54!ELSE 
     55SQLITE_LIBS =  
     56!ENDIF 
     57 
    5158 
    5259AR = lib 
    5360CC = cl 
    54 DEFS = -D__WIN32__ -DHAVE_CONFIG_H -D_LITTLE_ENDIAN -DPARADOCNUM \ 
    55        -DSHORT_SUFFIX -D_CRT_SECURE_NO_DEPRECATE 
     61DEFS = -D__WIN32__ -DHAVE_CONFIG_H -D_LITTLE_ENDIAN -DPARADOCNUM -DSHORT_SUFFIX -D_CRT_SECURE_NO_DEPRECATE 
    5662INCLUDES = -I"$(GSDL_DIR)" -I"$(GSDL_DIR)\lib" -I"$(COLSERVR_DIR)" -I"$(PROTOCOL_DIR)" -I"$(RECPT_DIR)" \ 
    5763    -I"$(GSDL_DIR)\src\colservr" -I"$(GSDL_DIR)\indexers\mg" \ 
     
    6167LDFLAGS = 
    6268LIBS = "$(PACKAGES_DIR)\windows\crypt\crypt\crypt.lib" "$(PACKAGES_DIR)\windows\expat\expat\libexpat.lib" \ 
    63         "$(PACKAGES_DIR)\windows\gdbm\gdbm\gdbm.lib" $(ACCENTFOLD_LIBS) $(Z3950_LIBS) 
     69        "$(PACKAGES_DIR)\windows\gdbm\gdbm\gdbm.lib" $(ACCENTFOLD_LIBS) $(SQLITE_LIBS) 
    6470RSC = rc 
    6571WINLIBS = kernel32.lib user32.lib gdi32.lib winspool.lib \