Ticket #134: patch1.patch
File patch1.patch, 9.7 KB (added by , 18 years ago) |
---|
-
config.mak
126 126 /D "HAVE_VSNPRINTF" /D "HAVE_STRDUP" /D "_USE_32BIT_TIME_T" \ 127 127 /D_CRT_SECURE_NO_DEPRECATE 128 128 129 # The various parts of Xapian 130 XAPIAN_LIBS = \ 131 "$(OUTLIBDIR)\libgetopt.lib" \ 132 "$(OUTLIBDIR)\libcommon.lib" \ 133 "$(OUTLIBDIR)\libbtreecheck.lib" \ 134 "$(OUTLIBDIR)\libtest.lib" \ 135 "$(OUTLIBDIR)\libbackend.lib" \ 136 "$(OUTLIBDIR)\libquartz.lib" \ 137 "$(OUTLIBDIR)\libflint.lib" \ 138 "$(OUTLIBDIR)\libinmemory.lib" \ 139 "$(OUTLIBDIR)\libmulti.lib" \ 140 "$(OUTLIBDIR)\libmatcher.lib" \ 141 "$(OUTLIBDIR)\libnet.lib" \ 142 "$(OUTLIBDIR)\liblanguages.lib" \ 143 "$(OUTLIBDIR)\libapi.lib" \ 144 "$(OUTLIBDIR)\libremote.lib" \ 145 "$(OUTLIBDIR)\libunicode.lib" \ 146 "$(OUTLIBDIR)\libqueryparser.lib" 129 147 130 148 !IF "$(DEBUG)" == "1" 131 149 # Debug build -
win32_applications_omega.mak
125 125 CPP_OBJS=..\win32\$(XAPIAN_DEBUG_OR_RELEASE) 126 126 CPP_SBRS=. 127 127 128 LINK32=link.exe 129 LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ 130 advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib \ 131 wsock32.lib odbccp32.lib /subsystem:console \ 132 "$(OUTLIBDIR)\libgetopt.lib" \ 133 "$(OUTLIBDIR)\libcommon.lib" \ 134 "$(OUTLIBDIR)\libbtreecheck.lib" \ 135 "$(OUTLIBDIR)\libtest.lib" \ 136 "$(OUTLIBDIR)\libbackend.lib" \ 137 "$(OUTLIBDIR)\libquartz.lib" \ 138 "$(OUTLIBDIR)\libflint.lib" \ 139 "$(OUTLIBDIR)\libinmemory.lib" \ 140 "$(OUTLIBDIR)\libmulti.lib" \ 141 "$(OUTLIBDIR)\libmatcher.lib" \ 142 "$(OUTLIBDIR)\liblanguages.lib" \ 143 "$(OUTLIBDIR)\libapi.lib" \ 144 "$(OUTLIBDIR)\libqueryparser.lib" 128 ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_LIBS) 145 129 146 147 148 130 PROGRAM_DEPENDENCIES = 149 131 150 132 # omega.exe … … 154 136 "$(OUTEXEDIR)\omega.exe" : "$(OUTEXEDIR)" $(DEF_FILE) $(OMEGA_OBJS) 155 137 $(PROGRAM_DEPENDENCIES) 156 138 $(LINK32) @<< 157 $( LINK32_FLAGS) /out:"$(OUTEXEDIR)\omega.exe" $(DEF_FLAGS) $(OMEGA_OBJS)139 $(ALL_LINK32_FLAGS) /out:"$(OUTEXEDIR)\omega.exe" $(DEF_FLAGS) $(OMEGA_OBJS) 158 140 << 159 141 160 142 "$(OUTEXEDIR)\omindex.exe" : "$(OUTEXEDIR)" $(DEF_FILE) $(OMINDEX_OBJS) 161 143 $(PROGRAM_DEPENDENCIES) 162 144 $(LINK32) @<< 163 $( LINK32_FLAGS) /out:"$(OUTEXEDIR)\omindex.exe" $(DEF_FLAGS) $(OMINDEX_OBJS)145 $(ALL_LINK32_FLAGS) /out:"$(OUTEXEDIR)\omindex.exe" $(DEF_FLAGS) $(OMINDEX_OBJS) 164 146 << 165 147 166 148 "$(OUTEXEDIR)\scriptindex.exe" : "$(OUTEXEDIR)" $(DEF_FILE) $(SCRIPTINDEX_OBJS) 167 149 $(PROGRAM_DEPENDENCIES) 168 150 $(LINK32) @<< 169 $( LINK32_FLAGS) /out:"$(OUTEXEDIR)\scriptindex.exe" $(DEF_FLAGS) $(SCRIPTINDEX_OBJS)151 $(ALL_LINK32_FLAGS) /out:"$(OUTEXEDIR)\scriptindex.exe" $(DEF_FLAGS) $(SCRIPTINDEX_OBJS) 170 152 << 171 153 172 154 "$(OUTEXEDIR)\htmlparsetest.exe" : "$(OUTEXEDIR)" $(DEF_FILE) $(HTMLPARSETEST_OBJS) 173 155 $(PROGRAM_DEPENDENCIES) 174 156 $(LINK32) @<< 175 $( LINK32_FLAGS) /out:"$(OUTEXEDIR)\htmlparsetest.exe" $(DEF_FLAGS) $(HTMLPARSETEST_OBJS)157 $(ALL_LINK32_FLAGS) /out:"$(OUTEXEDIR)\htmlparsetest.exe" $(DEF_FLAGS) $(HTMLPARSETEST_OBJS) 176 158 << 177 159 178 160 "$(OUTEXEDIR)\md5test.exe" : "$(OUTEXEDIR)" $(DEF_FILE) $(MD5TEST_OBJS) 179 161 $(PROGRAM_DEPENDENCIES) 180 162 $(LINK32) @<< 181 $( LINK32_FLAGS) /out:"$(OUTEXEDIR)\md5test.exe" $(DEF_FLAGS) $(MD5TEST_OBJS)163 $(ALL_LINK32_FLAGS) /out:"$(OUTEXEDIR)\md5test.exe" $(DEF_FLAGS) $(MD5TEST_OBJS) 182 164 << 183 165 184 166 "$(OUTEXEDIR)\utf8test.exe" : "$(OUTEXEDIR)" $(DEF_FILE) $(UTF8TEST_OBJS) 185 167 $(PROGRAM_DEPENDENCIES) 186 168 $(LINK32) @<< 187 $( LINK32_FLAGS) /out:"$(OUTEXEDIR)\utf8test.exe" $(DEF_FLAGS) $(UTF8TEST_OBJS)169 $(ALL_LINK32_FLAGS) /out:"$(OUTEXEDIR)\utf8test.exe" $(DEF_FLAGS) $(UTF8TEST_OBJS) 188 170 << 189 171 190 172 "$(INTDIR)\dirent.obj" : "$(XAPIAN_CORE_REL_OMEGA)\win32\dirent.c" -
win32_bin.mak
56 56 CPP_OBJS=..\win32\$(XAPIAN_DEBUG_OR_RELEASE) 57 57 CPP_SBRS=. 58 58 59 XAPIAN_LIBS= \60 "$(OUTLIBDIR)\libgetopt.lib" \61 "$(OUTLIBDIR)\libcommon.lib" \62 "$(OUTLIBDIR)\libbtreecheck.lib" \63 "$(OUTLIBDIR)\libtest.lib" \64 "$(OUTLIBDIR)\libbackend.lib" \65 "$(OUTLIBDIR)\libquartz.lib" \66 "$(OUTLIBDIR)\libflint.lib" \67 "$(OUTLIBDIR)\libremote.lib" \68 "$(OUTLIBDIR)\libinmemory.lib" \69 "$(OUTLIBDIR)\libmulti.lib" \70 "$(OUTLIBDIR)\libmatcher.lib" \71 "$(OUTLIBDIR)\liblanguages.lib" \72 "$(OUTLIBDIR)\libapi.lib" \73 "$(OUTLIBDIR)\libnet.lib" \74 "$(OUTLIBDIR)\libqueryparser.lib"75 76 59 ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_LIBS) 77 60 78 61 PROGRAM_DEPENDENCIES = $(XAPIAN_LIBS) -
win32_bindings_php.mak
13 13 14 14 !INCLUDE $(XAPIAN_CORE_REL_PHP)\win32\config.mak 15 15 16 XAPIAN_DEPENDENCIES = \17 "$(OUTLIBDIR)\libgetopt.lib" \18 "$(OUTLIBDIR)\libcommon.lib" \19 "$(OUTLIBDIR)\libbtreecheck.lib" \20 "$(OUTLIBDIR)\libtest.lib" \21 "$(OUTLIBDIR)\libbackend.lib" \22 "$(OUTLIBDIR)\libquartz.lib" \23 "$(OUTLIBDIR)\libflint.lib" \24 "$(OUTLIBDIR)\libinmemory.lib" \25 "$(OUTLIBDIR)\libmulti.lib" \26 "$(OUTLIBDIR)\libmatcher.lib" \27 "$(OUTLIBDIR)\liblanguages.lib" \28 "$(OUTLIBDIR)\libapi.lib" \29 "$(OUTLIBDIR)\libqueryparser.lib" \30 "$(OUTLIBDIR)\libremote.lib" \31 "$(OUTLIBDIR)\libunicode.lib" \32 "$(OUTLIBDIR)\libnet.lib" \33 $(PHP_LIB)34 35 16 LIB_XAPIAN_OBJS= ".\xapian_wrap.obj" 36 17 37 18 CPP=cl.exe … … 93 74 $(SWIG) -I"$(XAPIAN_CORE_REL_PHP)\include" $(SWIG_FLAGS) -c++ -php5 -prefix Xapian \ 94 75 -outdir php5 -o php5/xapian_wrap.cc $(srcdir)/../xapian.i 95 76 96 ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_ DEPENDENCIES)77 ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_LIBS) $(PHP_LIB) 97 78 98 79 99 "$(OUTDIR)\php_xapian.dll" : "$(OUTDIR)" $(DEF_FILE) $(LIB_XAPIAN_OBJS) \100 $(XAPIAN_DEPENDENCIES)80 "$(OUTDIR)\php_xapian.dll" : "$(OUTDIR)" $(DEF_FILE) $(LIB_XAPIAN_OBJS) 81 101 82 $(LINK32) @<< 102 83 $(ALL_LINK32_FLAGS) /DLL /out:"$(OUTDIR)\php_xapian.dll" $(DEF_FLAGS) $(LIB_XAPIAN_OBJS) 103 84 << -
win32_bindings_python.mak
14 14 15 15 !INCLUDE $(XAPIAN_CORE_REL_PYTHON)\win32\config.mak 16 16 17 XAPIAN_DEPENDENCIES = \18 "$(OUTLIBDIR)\libgetopt.lib" \19 "$(OUTLIBDIR)\libcommon.lib" \20 "$(OUTLIBDIR)\libbtreecheck.lib" \21 "$(OUTLIBDIR)\libtest.lib" \22 "$(OUTLIBDIR)\libbackend.lib" \23 "$(OUTLIBDIR)\libquartz.lib" \24 "$(OUTLIBDIR)\libflint.lib" \25 "$(OUTLIBDIR)\libinmemory.lib" \26 "$(OUTLIBDIR)\libmulti.lib" \27 "$(OUTLIBDIR)\libmatcher.lib" \28 "$(OUTLIBDIR)\liblanguages.lib" \29 "$(OUTLIBDIR)\libapi.lib" \30 "$(OUTLIBDIR)\libqueryparser.lib" \31 "$(OUTLIBDIR)\libremote.lib" \32 "$(OUTLIBDIR)\libunicode.lib" \33 "$(OUTLIBDIR)\libnet.lib"34 35 17 LIB_XAPIAN_OBJS= ".\xapian_wrap.obj" 36 18 37 38 19 OUTDIR=$(XAPIAN_CORE_REL_PYTHON)\win32\$(XAPIAN_DEBUG_OR_RELEASE)\Python 39 20 INTDIR=.\ 40 21 … … 82 63 CPP_OBJS=$(XAPIAN_CORE_REL_PYTHON)\win32\$(XAPIAN_DEBUG_OR_RELEASE)\ 83 64 CPP_SBRS=. 84 65 85 ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_ DEPENDENCIES) "/LIBPATH:$(PYTHON_LIB_DIR)"66 ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_LIBS) "/LIBPATH:$(PYTHON_LIB_DIR)" 86 67 87 68 modern/xapian_wrap.cc modern/xapian_wrap.h modern/xapian.py: ../xapian.i util.i except.i doccomments.i extra.i extracomments.i 88 69 -erase /Q modern … … 93 74 -erase modern\xapian.py 94 75 -rename modern\xapian_py.tmp xapian.py 95 76 96 "$(OUTDIR)\_xapian$(PY_DEBUG_SUFFIX).pyd" : "$(OUTDIR)" $(DEF_FILE) $(LIB_XAPIAN_OBJS) \97 $(XAPIAN_DEPENDENCIES)77 "$(OUTDIR)\_xapian$(PY_DEBUG_SUFFIX).pyd" : "$(OUTDIR)" $(DEF_FILE) $(LIB_XAPIAN_OBJS) 78 98 79 $(LINK32) @<< 99 80 $(ALL_LINK32_FLAGS) /DLL /out:"$(OUTDIR)\_xapian$(PY_DEBUG_SUFFIX).pyd" $(DEF_FLAGS) $(LIB_XAPIAN_OBJS) 100 81 << -
win32_examples.mak
48 48 CPP_SBRS=. 49 49 50 50 51 XAPIAN_LIBS = \52 "$(OUTLIBDIR)\libgetopt.lib" \53 "$(OUTLIBDIR)\libcommon.lib" \54 "$(OUTLIBDIR)\libbtreecheck.lib" \55 "$(OUTLIBDIR)\libtest.lib" \56 "$(OUTLIBDIR)\libbackend.lib" \57 "$(OUTLIBDIR)\libquartz.lib" \58 "$(OUTLIBDIR)\libflint.lib" \59 "$(OUTLIBDIR)\libinmemory.lib" \60 "$(OUTLIBDIR)\libmulti.lib" \61 "$(OUTLIBDIR)\libmatcher.lib" \62 "$(OUTLIBDIR)\liblanguages.lib" \63 "$(OUTLIBDIR)\libapi.lib" \64 "$(OUTLIBDIR)\libnet.lib" \65 "$(OUTLIBDIR)\libremote.lib" \66 "$(OUTLIBDIR)\libunicode.lib" \67 "$(OUTLIBDIR)\libqueryparser.lib"68 69 51 ALL_LINK32_FLAGS = $(LINK32_FLAGS) $(XAPIAN_LIBS) 70 52 71 53 PROGRAM_DEPENDENCIES = $(XAPIAN_LIBS) -
win32_tests.mak
97 97 CPP_OBJS=..\win32\Tests$(XAPIAN_DEBUG_OR_RELEASE) 98 98 CPP_SBRS=. 99 99 100 XAPIAN_LIBS = \101 "$(OUTLIBDIR)\libgetopt.lib" \102 "$(OUTLIBDIR)\libcommon.lib" \103 "$(OUTLIBDIR)\libbtreecheck.lib" \104 "$(OUTLIBDIR)\libtest.lib" \105 "$(OUTLIBDIR)\libbackend.lib" \106 "$(OUTLIBDIR)\libquartz.lib" \107 "$(OUTLIBDIR)\libflint.lib" \108 "$(OUTLIBDIR)\libinmemory.lib" \109 "$(OUTLIBDIR)\libmulti.lib" \110 "$(OUTLIBDIR)\libmatcher.lib" \111 "$(OUTLIBDIR)\libnet.lib" \112 "$(OUTLIBDIR)\liblanguages.lib" \113 "$(OUTLIBDIR)\libapi.lib" \114 "$(OUTLIBDIR)\libremote.lib" \115 "$(OUTLIBDIR)\libunicode.lib" \116 "$(OUTLIBDIR)\libqueryparser.lib"117 100 101 118 102 LINK32=link.exe 119 103 ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_LIBS) 120 104