Changeset 15788

Show
Ignore:
Timestamp:
29.05.2008 13:32:55 (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/oaiservr/win32.mak

    r15580 r15788  
    3838DLLDEBUG = 0 
    3939ENABLE_ACCENTFOLD = 1 
    40  
    4140STLPATH = "$(PACKAGES_DIR)\windows\stlport\stlport" 
     41USE_SQLITE = 0 
    4242 
    4343 
     
    6262!ENDIF 
    6363 
     64!IF $(USE_SQLITE) 
     65SQLITE_LIBS = "$(PACKAGES_DIR)\windows\sqlite\sqlite-amalgamation-3.5.9\sqlite3.lib" 
     66!ELSE 
     67SQLITE_LIBS =  
     68!ENDIF 
     69 
    6470 
    6571AR = lib 
    6672CC = cl 
    67 DEFS = -D__WIN32__ -DHAVE_CONFIG_H -DPARADOCNUM -D_LITTLE_ENDIAN -DSHORT_SUFFIX -D_CRT_SECURE_NO_DEPRECATE -DGSDL_NOCACHE 
     73DEFS = -D__WIN32__ -DHAVE_CONFIG_H -DPARADOCNUM -D_LITTLE_ENDIAN -DSHORT_SUFFIX -D_CRT_SECURE_NO_DEPRECATE \ 
     74        -DGSDL_NOCACHE 
    6875INCLUDES = -I"$(GSDL_DIR)\lib" -I"$(COLSERVR_DIR)" -I"$(PROTOCOL_DIR)" -I"$(RECPT_DIR)" \ 
    6976        -I"$(INDEXERS_DIR)\mgpp\text" -I"$(PACKAGES_DIR)\windows\crypt\crypt" \ 
     
    7178LDFLAGS =  
    7279LIBS = "$(PACKAGES_DIR)\windows\crypt\crypt\crypt.lib" "$(PACKAGES_DIR)\windows\expat\expat\libexpat.lib" \ 
    73         "$(PACKAGES_DIR)\windows\gdbm\gdbm\gdbm.lib" $(ACCENTFOLD_LIBS) 
     80        "$(PACKAGES_DIR)\windows\gdbm\gdbm\gdbm.lib" $(ACCENTFOLD_LIBS) $(SQLITE_LIBS) 
    7481 
    7582!IF $(GSDL_VC4)