Ticket #366: win32.patch

File win32.patch, 3.9 KB (added by Peter Kelm, 16 years ago)

patch file vs trunk-12598

  • config.mak

    diff -ur win32msvc_svn12598/config.mak win32/config.mak
    old new  
    195215-DWIN32 -D__WIN32__ -D_WIN32 -D_WINDOWS \
    196216-D "HAVE_VSNPRINTF" -D "HAVE_STRDUP" -D "_USE_32BIT_TIME_T" \
    197217-D_CRT_SECURE_NO_DEPRECATE \
    198 -I "$(ZLIB_INCLUDE_DIR)"
     218-I"$(ZLIB_INCLUDE_DIR)"
    199219
    200220# The various parts of Xapian (but *not* the test suite or treecheck libs)
    201221XAPIAN_LIBS = \
  • win32_bindings_python.mak

    diff -ur win32msvc_svn12598/win32_bindings_python.mak win32/win32_bindings_python.mak
    old new  
    8187CHECK: ALL DOTEST       
    8288
    8389DIST: "$(OUTDIR)\$(PYTHON_PACKAGE)" CHECK
    84     cd $(MAKEDIR)
     90    cd "$(MAKEDIR)"
    8591    copy setup.py "$(OUTDIR)"
    8692    if not exist "$(OUTDIR)\$(PYTHON_PACKAGE)\docs" mkdir "$(OUTDIR)\$(PYTHON_PACKAGE)\docs"
    8793    if not exist "$(OUTDIR)\$(PYTHON_PACKAGE)\docs\examples" mkdir "$(OUTDIR)\$(PYTHON_PACKAGE)\docs\examples"
     
    101107    if not exist "$(OUTDIR)/$(PYTHON_PACKAGE)/$(NULL)" mkdir "$(OUTDIR)\$(PYTHON_PACKAGE)"
    102108
    103109CPP_PROJ=$(CPPFLAGS_EXTRA)  /GR \
    104  /I "$(XAPIAN_CORE_REL_PYTHON)" /I "$(XAPIAN_CORE_REL_PYTHON)\include" \
    105  /I "$(PYTHON_INCLUDE)" /I "$(PYTHON_INCLUDE_2)" /I"." \
     110 /I"$(XAPIAN_CORE_REL_PYTHON)" /I"$(XAPIAN_CORE_REL_PYTHON)\include" \
     111 /I"$(PYTHON_INCLUDE)" /I"$(PYTHON_INCLUDE_2)" /I"." \
    106112 /Fo"$(INTDIR)\\" /Tp$(INPUTNAME)
    107113CPP_OBJS=$(XAPIAN_CORE_REL_PYTHON)\win32\$(XAPIAN_DEBUG_OR_RELEASE)\
    108114CPP_SBRS=.
     
    155161        f.close();"
    156162    $(RSC) /v \
    157163      /fo version.res \
    158       /I "$(XAPIAN_CORE_REL_PYTHON)\include" \
     164      /I"$(XAPIAN_CORE_REL_PYTHON)\include" \
    159165      version.rc
    160166
    161167
  • win32_tests.mak

    diff -ur win32msvc_svn12598/win32_tests.mak win32/win32_tests.mak
    old new  
    5353    "$(OUTDIR)\apitest.obj" \
    5454    "$(OUTDIR)\api_anydb.obj" \
    5555    "$(OUTDIR)\api_backend.obj" \
     56    "$(INTDIR)\api_closedb.obj" \
     57    "$(INTDIR)\api_collapse.obj" \
    5658    "$(OUTDIR)\api_db.obj" \
    5759    "$(OUTDIR)\api_generated.obj" \
    5860    "$(OUTDIR)\api_nodb.obj" \
    5961    "$(OUTDIR)\api_percentages.obj" \
    6062    "$(OUTDIR)\api_posdb.obj" \
    6163    "$(OUTDIR)\api_query.obj" \
     64    "$(INTDIR)\api_replicate.obj" \
     65    "$(INTDIR)\api_serialise.obj" \
    6266    "$(OUTDIR)\api_sorting.obj" \
    6367    "$(OUTDIR)\api_spelling.obj" \
    6468    "$(OUTDIR)\api_transdb.obj" \
    6569    "$(OUTDIR)\api_unicode.obj" \
     70    "$(INTDIR)\api_valuestats.obj" \
     71    "$(INTDIR)\api_valuestream.obj" \
    6672    "$(OUTDIR)\api_wrdb.obj"
    6773   
    6874INTERNALTEST_OBJS= "$(OUTDIR)\internaltest.obj"
     
    7985    "$(INTDIR)\apitest.cc" \
    8086    "$(INTDIR)\api_anydb.cc" \
    8187    "$(INTDIR)\api_backend.cc" \
     88    "$(INTDIR)\api_closedb.cc" \
     89    "$(INTDIR)\api_collapse.cc" \
    8290    "$(INTDIR)\api_db.cc" \
    8391    "$(INTDIR)\api_generated.cc" \
    8492    "$(INTDIR)\api_nodb.cc" \
     
    9199    "$(INTDIR)\api_spelling.cc" \
    92100    "$(INTDIR)\api_transdb.cc" \
    93101    "$(INTDIR)\api_unicode.cc" \
     102    "$(INTDIR)\api_valuestats.cc" \
     103    "$(INTDIR)\api_valuestream.cc" \
    94104    "$(INTDIR)\api_wrdb.cc" \
    95105    "$(INTDIR)\btreetest.cc" \
    96106    "$(INTDIR)\internaltest.cc" \
  • win32_testsuite.mak

    diff -ur win32msvc_svn12598/win32_testsuite.mak win32/win32_testsuite.mak
    old new  
    2727        $(INTDIR)\backendmanager_remote.obj \
    2828        $(INTDIR)\backendmanager_remoteprog.obj \
    2929        $(INTDIR)\backendmanager_remotetcp.obj \
     30        $(INTDIR)\cputimer.obj \
    3031        $(INTDIR)\index_utils.obj \
    3132        $(INTDIR)\unixcmds.obj
    3233
     
    4243        $(INTDIR)\backendmanager_remote.cc \
    4344        $(INTDIR)\backendmanager_remoteprog.cc \
    4445        $(INTDIR)\backendmanager_remotetcp.cc \
     46        $(INTDIR)\cputimer.cc \
    4547        $(INTDIR)\index_utils.cc \
    4648        $(INTDIR)\unixcmds.cc
    4749