diff -ru win32msvc_svn15917/Makefile win32/Makefile
old
|
new
|
|
17 | 17 | MAKEALL: |
18 | 18 | # Note we must run each make process with the HEADERS target to calculate any missing dependencies and add them to the end of the makefile |
19 | 19 | cd ..\common |
20 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
21 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
| 20 | |
| 21 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
22 | 22 | cd ..\api |
23 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
| 23 | |
24 | 24 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
25 | 25 | cd ..\backends |
26 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
| 26 | |
27 | 27 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
28 | 28 | cd ..\matcher |
29 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
| 29 | |
30 | 30 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
31 | 31 | cd ..\languages\compiler |
32 | 32 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
33 | 33 | cd .. |
34 | 34 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
35 | 35 | cd ..\queryparser |
36 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
| 36 | |
37 | 37 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
38 | 38 | cd ..\net |
39 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
| 39 | |
40 | 40 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
41 | 41 | cd ..\expand |
42 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
| 42 | |
43 | 43 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
44 | 44 | cd ..\unicode |
45 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
| 45 | |
46 | 46 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
47 | 47 | cd ..\weight |
48 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
| 48 | |
49 | 49 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
50 | 50 | cd ..\tests\harness |
51 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
| 51 | |
52 | 52 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
53 | 53 | cd ..\..\bin |
54 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
| 54 | |
55 | 55 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
56 | 56 | cd ..\examples |
57 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
| 57 | |
58 | 58 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
59 | 59 | cd ..\tests |
60 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" HEADERS |
| 60 | |
61 | 61 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
62 | 62 | |
63 | 63 | DOTEST: |
… |
… |
|
99 | 99 | cd ..\tests |
100 | 100 | nmake /$(MAKEFLAGS) DEBUG="$(DEBUG)" CLEAN |
101 | 101 | cd ..\win32 |
102 | | -@erase ..\config.h |
| 102 | -@erase ..\config.h |
103 | 103 | -@erase ..\include\xapian\version.h |
104 | 104 | -@erase ..\include\xapian\error.h |
105 | 105 | -@erase ..\include\xapian\errordispatch.h |
… |
… |
|
110 | 110 | DISTCLEAN: CLEAN |
111 | 111 | |
112 | 112 | # Copy mak files to the right folders |
113 | | COPYMAKFILES: |
| 113 | COPYMAKFILES: |
114 | 114 | copy config.h.win32 ..\config.h |
115 | 115 | copy win32_api.mak ..\api\Makefile |
116 | 116 | copy win32_backends.mak ..\backends\Makefile |
117 | | copy win32_backends_flint.mak ..\backends\flint\Makefile |
118 | 117 | copy win32_backends_brass.mak ..\backends\brass\Makefile |
119 | 118 | copy win32_backends_chert.mak ..\backends\chert\Makefile |
120 | 119 | copy win32_backends_inmemory.mak ..\backends\inmemory\Makefile |
… |
… |
|
150 | 149 | if exist $(XAPIAN_APPLICATIONS) copy config.h.omega.win32 $(XAPIAN_APPLICATIONS)\config.h |
151 | 150 | if exist $(XAPIAN_APPLICATIONS) copy config.h.omega.win32 $(XAPIAN_APPLICATIONS)\common\config.h |
152 | 151 | |
153 | | # Test for tools that we MUST have |
| 152 | # Test for tools that we MUST have |
154 | 153 | TESTFORTOOLS: xapdep.exe |
155 | 154 | # Perl is needed for header generation |
156 | | if not exist $(PERL_EXE) exit(1) |
157 | | |
| 155 | if not exist $(PERL_EXE) exit(1) |
| 156 | |
158 | 157 | MAKEALLBINDINGS: ALL COPYMAKFILES |
159 | 158 | # Need bindings to exist |
160 | 159 | if not exist $(XAPIAN_BINDINGS) exit(1) |
… |
… |
|
165 | 164 | |
166 | 165 | nmake PYTHON_VER=25 CLEAN |
167 | 166 | nmake PYTHON_VER=25 DIST |
168 | | |
| 167 | |
169 | 168 | nmake PYTHON_VER=26 CLEAN |
170 | 169 | nmake PYTHON_VER=26 DIST |
171 | | |
| 170 | |
172 | 171 | nmake PYTHON_VER=27 CLEAN |
173 | 172 | nmake PYTHON_VER=27 DIST |
174 | 173 | |
… |
… |
|
177 | 176 | nmake PHP_VER=52 DIST |
178 | 177 | nmake PHP_VER=53 CLEAN |
179 | 178 | nmake PHP_VER=53 DIST |
180 | | |
| 179 | |
181 | 180 | # Java bindings didn't work, see http://trac.xapian.org/ticket/474 |
182 | 181 | # That issue is fixed, needs testing again |
183 | 182 | # cd $(XAPIAN_BINDINGS)\java |
… |
… |
|
191 | 190 | cd $(XAPIAN_BINDINGS)\ruby |
192 | 191 | nmake CLEAN |
193 | 192 | nmake DISTNOCHECK |
194 | | |
195 | 193 | |
196 | | |
| 194 | |
| 195 | |
197 | 196 | # Header files generated automatically from various .in files |
198 | 197 | MAKEHEADERS: ..\include\xapian\error.h ..\include\xapian\version.h |
199 | 198 | |
… |
… |
|
204 | 203 | |
205 | 204 | ..\include\xapian\version.h: version.h.in ..\configure.ac |
206 | 205 | $(PERL_EXE) genversion.pl ..\configure.ac version.h.in ..\include\xapian\version.h |
207 | | |
208 | | xapdep.exe: |
| 206 | |
| 207 | xapdep.exe: |
209 | 208 | cd xapdep |
210 | 209 | nmake -f xapdep.mak |
211 | 210 | copy xapdep.exe .. |
diff -ru win32msvc_svn15917/config.mak win32/config.mak
old
|
new
|
|
12 | 12 | |
13 | 13 | !IF "$(OS)" == "Windows_NT" |
14 | 14 | NULL= |
15 | | !ELSE |
| 15 | !ELSE |
16 | 16 | NULL=nul |
17 | | !ENDIF |
| 17 | !ENDIF |
18 | 18 | # ---------------------------------------------- |
19 | 19 | # Xapian paths |
20 | 20 | # ---------------------------------------------- |
… |
… |
|
25 | 25 | # win32_bindings_python.mak |
26 | 26 | # and any other bindings mak files |
27 | 27 | XAPIAN_APPLICATIONS=..\..\xapian-applications\omega |
28 | | XAPIAN_BINDINGS=..\..\xapian-bindings |
| 28 | XAPIAN_BINDINGS=..\..\xapian-bindings-1.3.0 |
29 | 29 | |
30 | 30 | # ------------- Perl settings------------- |
31 | 31 | # Perl folder |
… |
… |
|
42 | 42 | # Python folder for 2.4 |
43 | 43 | PYTHON_DIR_24=c:\Python24 |
44 | 44 | # Python executable |
45 | | PYTHON_EXE_24=$(PYTHON_DIR_24)\python.exe |
| 45 | PYTHON_EXE_24=$(PYTHON_DIR_24)\python.exe |
46 | 46 | #PYTHON_INCLUDE : Set this to the directory that contains python.h |
47 | 47 | PYTHON_INCLUDE_24=$(PYTHON_DIR_24)\include |
48 | 48 | #A 'PC' directory is also included for people building from a source tree. |
… |
… |
|
58 | 58 | # Python folder for 2.5 |
59 | 59 | PYTHON_DIR_25=c:\Python25 |
60 | 60 | # Python executable |
61 | | PYTHON_EXE_25=$(PYTHON_DIR_25)\python.exe |
| 61 | PYTHON_EXE_25=$(PYTHON_DIR_25)\python.exe |
62 | 62 | #PYTHON_INCLUDE : Set this to the directory that contains python.h |
63 | 63 | PYTHON_INCLUDE_25=$(PYTHON_DIR_25)\include |
64 | 64 | #A 'PC' directory is also included for people building from a source tree. |
… |
… |
|
74 | 74 | # Python folder for 2.6 |
75 | 75 | PYTHON_DIR_26=c:\Python26 |
76 | 76 | # Python executable |
77 | | PYTHON_EXE_26=$(PYTHON_DIR_26)\python.exe |
| 77 | PYTHON_EXE_26=$(PYTHON_DIR_26)\python.exe |
78 | 78 | #PYTHON_INCLUDE : Set this to the directory that contains python.h |
79 | 79 | PYTHON_INCLUDE_26=$(PYTHON_DIR_26)\include |
80 | 80 | #A 'PC' directory is also included for people building from a source tree. |
… |
… |
|
90 | 90 | # Python folder for 2.7 |
91 | 91 | PYTHON_DIR_27=c:\Python27 |
92 | 92 | # Python executable |
93 | | PYTHON_EXE_27=$(PYTHON_DIR_27)\python.exe |
| 93 | PYTHON_EXE_27=$(PYTHON_DIR_27)\python.exe |
94 | 94 | #PYTHON_INCLUDE : Set this to the directory that contains python.h |
95 | 95 | PYTHON_INCLUDE_27=$(PYTHON_DIR_27)\include |
96 | 96 | #A 'PC' directory is also included for people building from a source tree. |
… |
… |
|
107 | 107 | PYTHON_DIR_30=c:\Python30 |
108 | 108 | # Python executable |
109 | 109 | !if "$(DEBUG)"=="1" |
110 | | PYTHON_EXE_30=$(PYTHON_DIR_30)\python_d.exe |
| 110 | PYTHON_EXE_30=$(PYTHON_DIR_30)\python_d.exe |
111 | 111 | !else |
112 | | PYTHON_EXE_30=$(PYTHON_DIR_30)\python.exe |
| 112 | PYTHON_EXE_30=$(PYTHON_DIR_30)\python.exe |
113 | 113 | !endif |
114 | 114 | #PYTHON_INCLUDE : Set this to the directory that contains python.h |
115 | 115 | PYTHON_INCLUDE_30=$(PYTHON_DIR_30)\include |
… |
… |
|
132 | 132 | |
133 | 133 | PHP52_INCLUDE_CPPFLAGS= \ |
134 | 134 | -I "$(PHP52_SRC_DIR)" -I "$(PHP52_SRC_DIR)\tsrm" -I "$(PHP52_SRC_DIR)\Zend" -I "$(PHP52_SRC_DIR)\main" -I "$(PHP52_SRC_DIR)\regex" \ |
135 | | -D ZTS=1 -D ZEND_WIN32=1 -D PHP_WIN32=1 -D ZEND_WIN32_FORCE_INLINE -D HAVE_WIN32STD=1 |
| 135 | -D ZTS=1 -D ZEND_WIN32=1 -D PHP_WIN32=1 -D ZEND_WIN32_FORCE_INLINE -D HAVE_WIN32STD=1 |
136 | 136 | |
137 | 137 | # PHP_EXE_DIR: Set this to the folder where the PHP executable is |
138 | | # PHP_LIB : Set this to the path to the PHP library |
| 138 | # PHP_LIB : Set this to the path to the PHP library |
139 | 139 | !if "$(DEBUG)"=="1" |
140 | 140 | PHP52_EXE_DIR=C:\php-5.2.1\Debug_TS |
141 | 141 | PHP52_LIB=$(PHP52_EXE_DIR)\php5ts_debug.lib |
… |
… |
|
157 | 157 | |
158 | 158 | PHP53_INCLUDE_CPPFLAGS= \ |
159 | 159 | -I "$(PHP53_SRC_DIR)" -I "$(PHP53_SRC_DIR)\tsrm" -I "$(PHP53_SRC_DIR)\Zend" -I "$(PHP53_SRC_DIR)\main" \ |
160 | | -D ZTS=1 -D ZEND_WIN32=1 -D PHP_WIN32=1 -D ZEND_WIN32_FORCE_INLINE -D HAVE_WIN32STD=1 |
| 160 | -D ZTS=1 -D ZEND_WIN32=1 -D PHP_WIN32=1 -D ZEND_WIN32_FORCE_INLINE -D HAVE_WIN32STD=1 |
161 | 161 | #-I "$(PHP53_SRC_DIR)\regex" \ |
162 | 162 | |
163 | 163 | # PHP_EXE_DIR: Set this to the folder where the PHP executable is |
164 | | # PHP_LIB : Set this to the path to the PHP library |
| 164 | # PHP_LIB : Set this to the path to the PHP library |
165 | 165 | !if "$(DEBUG)"=="1" |
166 | 166 | PHP53_EXE_DIR=$(PHP53_SRC_DIR)\Debug_TS |
167 | 167 | PHP53_LIB=$(PHP53_EXE_DIR)\php5ts_debug.lib |
… |
… |
|
173 | 173 | !endif |
174 | 174 | |
175 | 175 | # PHP executable |
176 | | PHP53_EXE=$(PHP53_EXE_DIR)\PHP.exe |
| 176 | PHP53_EXE=$(PHP53_EXE_DIR)\PHP.exe |
177 | 177 | # end PHP 5.3.0 only ----------------- |
178 | 178 | |
179 | 179 | # ------------- end PHP settings------------- |
… |
… |
|
186 | 186 | # Ruby folder |
187 | 187 | RUBY_DIR=c:\Ruby |
188 | 188 | # Ruby executable |
189 | | RUBY_EXE=$(RUBY_DIR)\bin\ruby.exe |
| 189 | RUBY_EXE=$(RUBY_DIR)\bin\ruby.exe |
190 | 190 | # RUBY_INCLUDE : Set this to the directory that contains ruby.h |
191 | 191 | RUBY_INCLUDE=$(RUBY_DIR)\lib\ruby\1.8\i386-mswin32 |
192 | 192 | # RUBY_SO_DIR : Where to install the dll file |
… |
… |
|
210 | 210 | |
211 | 211 | # ------------- C# settings ------------ |
212 | 212 | |
213 | | CSC="C:\WINDOWS\Microsoft.NET\Framework\v3.5\csc.exe" |
214 | | SN="C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\sn.exe" |
| 213 | CSC="c:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" |
| 214 | SN="c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\sn.exe" |
215 | 215 | |
216 | 216 | # ------------- end C# settings ------------ |
217 | 217 | |
218 | 218 | # ------------SWIG settings------------- |
219 | 219 | # Swig executable |
220 | 220 | SWIG=\work\xapian\xapian-svn\swig\swig.exe |
221 | | SWIG_FLAGS= -Werror |
| 221 | SWIG_FLAGS= -Werror |
222 | 222 | # ------------end SWIG settings------------- |
223 | 223 | |
224 | 224 | # ------------ Misc external libraries we depend on ------------- |
225 | | ZLIB_DIR=C:\gnu\zlib123-dll |
| 225 | ZLIB_DIR=C:\zlib |
226 | 226 | # If you installed a binary version, the following 3 lines are probably |
227 | 227 | # correct. If you build from sources, adjust accordingly. |
228 | 228 | ZLIB_INCLUDE_DIR=$(ZLIB_DIR)\include |
… |
… |
|
239 | 239 | # Visual C++ Compiler and linker programs, and flags for these |
240 | 240 | #-------------------------------------- |
241 | 241 | LIB32=link.exe -lib |
242 | | LIB32_FLAGS=-nologo |
| 242 | LIB32_FLAGS=-nologo -machine:x64 |
243 | 243 | LINK32=link.exe |
244 | 244 | LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ |
245 | 245 | advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib rpcrt4.lib\ |
246 | | wsock32.lib Ws2_32.lib odbccp32.lib -subsystem:console -debug -nologo \ |
| 246 | wsock32.lib Ws2_32.lib odbccp32.lib -subsystem:console -machine:x64 -debug -nologo \ |
247 | 247 | "$(ZLIB_LIB_DIR)\zdll.lib" |
248 | | |
| 248 | |
249 | 249 | CPP=cl.exe |
250 | 250 | RSC=rc.exe |
251 | 251 | MANIFEST=mt.exe /manifest |
… |
… |
|
272 | 272 | # assumed these files will *not* ship with a default binary build) |
273 | 273 | CPPFLAGS_COMMON=-nologo -c -Zi -I.. -I..\include -I..\common -I..\win32 -W3 -EHsc \ |
274 | 274 | -DWIN32 -D__WIN32__ -D_WIN32 -D_WINDOWS \ |
275 | | -D "HAVE_VSNPRINTF" -D "HAVE_STRDUP" -D "_USE_32BIT_TIME_T" \ |
| 275 | -D "HAVE_VSNPRINTF" -D "HAVE_STRDUP" \ |
276 | 276 | -D_CRT_SECURE_NO_DEPRECATE \ |
277 | 277 | -I"$(ZLIB_INCLUDE_DIR)" |
278 | 278 | |
… |
… |
|
283 | 283 | "$(OUTLIBDIR)\libexpand.lib" \ |
284 | 284 | "$(OUTLIBDIR)\libbrass.lib" \ |
285 | 285 | "$(OUTLIBDIR)\libchert.lib" \ |
286 | | "$(OUTLIBDIR)\libflint.lib" \ |
287 | 286 | "$(OUTLIBDIR)\libinmemory.lib" \ |
288 | 287 | "$(OUTLIBDIR)\libmulti.lib" \ |
289 | 288 | "$(OUTLIBDIR)\libmatcher.lib" \ |
… |
… |
|
293 | 292 | "$(OUTLIBDIR)\libremote.lib" \ |
294 | 293 | "$(OUTLIBDIR)\libunicode.lib" \ |
295 | 294 | "$(OUTLIBDIR)\libweight.lib" \ |
296 | | "$(OUTLIBDIR)\libqueryparser.lib" |
| 295 | "$(OUTLIBDIR)\libqueryparser.lib" |
297 | 296 | |
298 | 297 | !IF "$(DEBUG)" == "1" |
299 | 298 | # Debug build |
diff -ru win32msvc_svn15917/win32_api.mak win32/win32_api.mak
old
|
new
|
|
13 | 13 | OUTDIR=..\win32\$(XAPIAN_DEBUG_OR_RELEASE)\libs |
14 | 14 | INTDIR=.\ |
15 | 15 | |
16 | | ALL : "$(OUTDIR)\libapi.lib" |
| 16 | ALL : "$(OUTDIR)\libapi.lib" |
17 | 17 | |
18 | 18 | OBJS= \ |
19 | 19 | $(INTDIR)/compactor.obj\ |
… |
… |
|
30 | 30 | $(INTDIR)/omdatabase.obj \ |
31 | 31 | $(INTDIR)/omdocument.obj \ |
32 | 32 | $(INTDIR)/omenquire.obj \ |
33 | | $(INTDIR)/ompositionlistiterator.obj \ |
34 | 33 | $(INTDIR)/ompostlistiterator.obj \ |
35 | 34 | $(INTDIR)/omquery.obj \ |
36 | | $(INTDIR)/omqueryinternal.obj \ |
37 | | $(INTDIR)/omtermlistiterator.obj \ |
| 35 | $(INTDIR)/omqueryinternal.obj \ |
| 36 | $(INTDIR)/positioniterator.obj \ |
38 | 37 | $(INTDIR)/postingsource.obj \ |
39 | 38 | $(INTDIR)/postlist.obj \ |
40 | 39 | $(INTDIR)/registry.obj \ |
41 | 40 | $(INTDIR)/replication.obj \ |
42 | | $(INTDIR)/sortable-serialise.obj \ |
| 41 | $(INTDIR)/sortable-serialise.obj \ |
| 42 | $(INTDIR)/termiterator.obj \ |
43 | 43 | $(INTDIR)/termlist.obj \ |
44 | 44 | $(INTDIR)/valueiterator.obj\ |
45 | 45 | $(INTDIR)/valuerangeproc.obj \ |
46 | 46 | $(INTDIR)/valuesetmatchdecider.obj \ |
47 | 47 | $(INTDIR)/version.obj |
48 | | |
| 48 | |
49 | 49 | SRCS= \ |
50 | 50 | $(INTDIR)/compactor.cc\ |
51 | 51 | $(INTDIR)/decvalwtsource.cc\ |
… |
… |
|
61 | 61 | $(INTDIR)/omdatabase.cc\ |
62 | 62 | $(INTDIR)/omdocument.cc\ |
63 | 63 | $(INTDIR)/omenquire.cc\ |
64 | | $(INTDIR)/ompositionlistiterator.cc\ |
65 | 64 | $(INTDIR)/ompostlistiterator.cc\ |
66 | 65 | $(INTDIR)/omquery.cc\ |
67 | 66 | $(INTDIR)/omqueryinternal.cc\ |
68 | | $(INTDIR)/omtermlistiterator.cc\ |
| 67 | $(INTDIR)/omtermlistiterator.cc\ |
| 68 | $(INTDIR)/positioniterator.cc \ |
69 | 69 | $(INTDIR)/postingsource.cc \ |
70 | 70 | $(INTDIR)/postlist.cc\ |
71 | 71 | $(INTDIR)/registry.cc \ |
72 | 72 | $(INTDIR)/replication.cc \ |
73 | | $(INTDIR)/sortable-serialise.cc\ |
| 73 | $(INTDIR)/sortable-serialise.cc\ |
| 74 | $(INTDIR)/termiterator.cc \ |
74 | 75 | $(INTDIR)/termlist.cc\ |
75 | 76 | $(INTDIR)/valueiterator.cc\ |
76 | 77 | $(INTDIR)/valuerangeproc.cc\ |
77 | 78 | $(INTDIR)/valuesetmatchdecider.cc \ |
78 | 79 | $(INTDIR)/version.cc |
79 | 80 | |
80 | | |
| 81 | |
81 | 82 | CLEAN : |
82 | 83 | -@erase "$(OUTDIR)\libapi.lib" |
83 | 84 | -@erase "*.pch" |
… |
… |
|
101 | 102 | # inference rules, showing how to create one type of file from another with the same root name |
102 | 103 | {.}.cc{$(INTDIR)}.obj:: |
103 | 104 | $(CPP) @<< |
104 | | $(CPP_PROJ) $< |
| 105 | $(CPP_PROJ) $< |
105 | 106 | << |
106 | 107 | |
107 | 108 | {.}.cc{$(CPP_SBRS)}.sbr:: |
108 | 109 | $(CPP) @<< |
109 | | $(CPP_PROJ) $< |
| 110 | $(CPP_PROJ) $< |
110 | 111 | << |
111 | 112 | |
112 | 113 | # Calculate any header dependencies and automatically insert them into this file |
113 | 114 | HEADERS : |
114 | 115 | -@erase deps.d |
115 | 116 | $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d |
116 | | if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) |
| 117 | if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) |
117 | 118 | # DO NOT DELETE THIS LINE -- xapdep depends on it. |
diff -ru win32msvc_svn15917/win32_backends.mak win32/win32_backends.mak
old
|
new
|
|
14 | 14 | DEPLIBS = "$(OUTDIR)\libmulti.lib" \ |
15 | 15 | "$(OUTDIR)\libinmemory.lib" \ |
16 | 16 | "$(OUTDIR)\libremote.lib" \ |
17 | | "$(OUTDIR)\libflint.lib" \ |
18 | 17 | "$(OUTDIR)\libchert.lib" \ |
19 | 18 | "$(OUTDIR)\libbrass.lib" \ |
20 | 19 | $(NULL) |
… |
… |
|
27 | 26 | $(INTDIR)\valuelist.obj \ |
28 | 27 | $(INTDIR)\slowvaluelist.obj \ |
29 | 28 | $(INTDIR)\contiguousalldocspostlist.obj \ |
30 | | $(INTDIR)\flint_lock.obj |
| 29 | $(INTDIR)\flint_lock.obj |
31 | 30 | |
32 | 31 | SRCS= $(INTDIR)\database.cc \ |
33 | 32 | $(INTDIR)\databasereplicator.cc\ |
… |
… |
|
37 | 36 | $(INTDIR)\valuelist.cc \ |
38 | 37 | $(INTDIR)\slowvaluelist.cc \ |
39 | 38 | $(INTDIR)\contiguousalldocspostlist.cc \ |
40 | | $(INTDIR)\flint_lock.cc |
| 39 | $(INTDIR)\flint_lock.cc |
41 | 40 | |
42 | 41 | |
43 | | |
44 | | ALL : $(DEPLIBS) "$(OUTDIR)\libbackend.lib" |
| 42 | |
| 43 | ALL : $(DEPLIBS) "$(OUTDIR)\libbackend.lib" |
45 | 44 | |
46 | 45 | CLEAN : |
47 | 46 | -@erase /q "$(OUTDIR)\libbackend.lib" |
… |
… |
|
49 | 48 | -@erase /q "$(INTDIR)\*.pdb" |
50 | 49 | -@erase /q $(OBJS) |
51 | 50 | cd brass |
52 | | nmake /$(MAKEFLAGS) CLEAN DEBUG=$(DEBUG) |
| 51 | nmake /$(MAKEFLAGS) CLEAN DEBUG=$(DEBUG) |
53 | 52 | cd ..\chert |
54 | | nmake /$(MAKEFLAGS) CLEAN DEBUG=$(DEBUG) |
55 | | cd ..\flint |
56 | | nmake /$(MAKEFLAGS) CLEAN DEBUG=$(DEBUG) |
| 53 | nmake /$(MAKEFLAGS) CLEAN DEBUG=$(DEBUG) |
57 | 54 | cd ..\inmemory |
58 | | nmake /$(MAKEFLAGS) CLEAN DEBUG=$(DEBUG) |
| 55 | nmake /$(MAKEFLAGS) CLEAN DEBUG=$(DEBUG) |
59 | 56 | cd ..\multi |
60 | | nmake /$(MAKEFLAGS) CLEAN DEBUG=$(DEBUG) |
| 57 | nmake /$(MAKEFLAGS) CLEAN DEBUG=$(DEBUG) |
61 | 58 | cd ..\remote |
62 | | nmake /$(MAKEFLAGS) CLEAN DEBUG=$(DEBUG) |
| 59 | nmake /$(MAKEFLAGS) CLEAN DEBUG=$(DEBUG) |
63 | 60 | cd .. |
64 | 61 | |
65 | 62 | |
… |
… |
|
69 | 66 | CPP_PROJ=$(CPPFLAGS_EXTRA) \ |
70 | 67 | -I"..\languages" \ |
71 | 68 | -Fo"$(INTDIR)\\" -Tp$(INPUTNAME) |
72 | | |
| 69 | |
73 | 70 | CPP_OBJS=..\win32\$(XAPIAN_DEBUG_OR_RELEASE) |
74 | 71 | CPP_SBRS=. |
75 | 72 | |
… |
… |
|
83 | 80 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
84 | 81 | cd .. |
85 | 82 | |
86 | | "$(OUTDIR)\libflint.lib": |
87 | | cd flint |
88 | | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
89 | | cd .. |
90 | | |
91 | 83 | "$(OUTDIR)\libchert.lib": |
92 | 84 | cd chert |
93 | 85 | nmake $(MAKEMACRO) /$(MAKEFLAGS) CFG="$(CFG)" DEBUG="$(DEBUG)" |
… |
… |
|
111 | 103 | # inference rules, showing how to create one type of file from another with the same root name |
112 | 104 | {.}.cc{$(INTDIR)}.obj:: |
113 | 105 | $(CPP) @<< |
114 | | $(CPP_PROJ) $< |
| 106 | $(CPP_PROJ) $< |
115 | 107 | << |
116 | 108 | |
117 | 109 | {.}.cc{$(CPP_SBRS)}.sbr:: |
118 | 110 | $(CPP) @<< |
119 | | $(CPP_PROJ) $< |
| 111 | $(CPP_PROJ) $< |
120 | 112 | << |
121 | 113 | |
122 | 114 | # Calculate any header dependencies and automatically insert them into this file |
123 | 115 | HEADERS : |
124 | 116 | -@erase deps.d |
125 | 117 | $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d |
126 | | if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) |
| 118 | if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) |
127 | 119 | # DO NOT DELETE THIS LINE -- xapdep depends on it. |
128 | 120 | |
diff -ru win32msvc_svn15917/win32_bin.mak win32/win32_bin.mak
old
|
new
|
|
16 | 16 | PROGRAMS = \ |
17 | 17 | "$(OUTDIR)\xapian-compact.exe" \ |
18 | 18 | "$(OUTDIR)\xapian-progsrv.exe" \ |
19 | | "$(OUTDIR)\xapian-chert-update.exe" \ |
20 | 19 | "$(OUTDIR)\xapian-tcpsrv.exe" \ |
21 | 20 | "$(OUTDIR)\xapian-inspect.exe" \ |
22 | 21 | "$(OUTDIR)\xapian-check.exe" \ |
23 | 22 | "$(OUTDIR)\xapian-replicate.exe" \ |
24 | 23 | "$(OUTDIR)\xapian-replicate-server.exe"\ |
25 | | |
| 24 | |
26 | 25 | SRCS = \ |
27 | 26 | "$(INTDIR)\xapian-compact.cc" \ |
28 | | "$(INTDIR)\xapian-chert-update.cc" \ |
29 | 27 | "$(INTDIR)\xapian-progsrv.cc" \ |
30 | 28 | "$(INTDIR)\xapian-tcpsrv.cc" \ |
31 | 29 | "$(INTDIR)\xapian-inspect.cc" \ |
32 | 30 | "$(INTDIR)\xapian-check-chert.cc" \ |
33 | 31 | "$(INTDIR)\xapian-check-brass.cc" \ |
34 | | "$(INTDIR)\xapian-check-flint.cc" \ |
35 | 32 | "$(INTDIR)\xapian-check.cc" \ |
36 | 33 | "$(INTDIR)\xapian-replicate.cc" \ |
37 | 34 | "$(INTDIR)\xapian-replicate-server.cc" |
38 | 35 | |
39 | | |
40 | | ALL : $(PROGRAMS) |
41 | 36 | |
42 | | XAPIAN_COMPACT_OBJS= "$(INTDIR)\xapian-compact.obj" |
| 37 | ALL : $(PROGRAMS) |
43 | 38 | |
44 | | XAPIAN_CHERT_UPDATE_OBJS= "$(INTDIR)\xapian-chert-update.obj" |
| 39 | XAPIAN_COMPACT_OBJS= "$(INTDIR)\xapian-compact.obj" |
45 | 40 | |
46 | | XAPIAN_PROGSRV_OBJS= "$(INTDIR)\xapian-progsrv.obj" |
| 41 | XAPIAN_PROGSRV_OBJS= "$(INTDIR)\xapian-progsrv.obj" |
47 | 42 | |
48 | | XAPIAN_TCPSRV_OBJS= "$(INTDIR)\xapian-tcpsrv.obj" |
| 43 | XAPIAN_TCPSRV_OBJS= "$(INTDIR)\xapian-tcpsrv.obj" |
49 | 44 | |
50 | | XAPIAN_INSPECT_OBJS= "$(INTDIR)\xapian-inspect.obj" |
| 45 | XAPIAN_INSPECT_OBJS= "$(INTDIR)\xapian-inspect.obj" |
51 | 46 | |
52 | 47 | XAPIAN_CHECK_OBJS= \ |
53 | 48 | "$(INTDIR)\xapian-check.obj" \ |
54 | | "$(INTDIR)\xapian-check-flint.obj" \ |
55 | 49 | "$(INTDIR)\xapian-check-chert.obj" \ |
56 | | "$(INTDIR)\xapian-check-brass.obj" |
| 50 | "$(INTDIR)\xapian-check-brass.obj" |
| 51 | |
| 52 | XAPIAN_REPLICATE_OBJS= "$(INTDIR)\xapian-replicate.obj" |
57 | 53 | |
58 | | XAPIAN_REPLICATE_OBJS= "$(INTDIR)\xapian-replicate.obj" |
| 54 | XAPIAN_REPLICATE_SERVER_OBJS= "$(INTDIR)\xapian-replicate-server.obj" |
59 | 55 | |
60 | | XAPIAN_REPLICATE_SERVER_OBJS= "$(INTDIR)\xapian-replicate-server.obj" |
61 | 56 | |
62 | | |
63 | 57 | CLEAN : |
64 | 58 | -@erase $(PROGRAMS) |
65 | 59 | -@erase $(XAPIAN_COMPACT_OBJS) |
66 | | -@erase $(XAPIAN_CHERT_UPDATE_OBJS) |
67 | 60 | -@erase $(XAPIAN_PROGSRV_OBJS) |
68 | 61 | -@erase $(XAPIAN_TCPSRV_OBJS) |
69 | 62 | -@erase $(XAPIAN_INSPECT_OBJS) |
70 | | -@erase $(XAPIAN_CHECK_OBJS) |
| 63 | -@erase $(XAPIAN_CHECK_OBJS) |
71 | 64 | -@erase $(XAPIAN_REPLICATE_OBJS) |
72 | 65 | -@erase $(XAPIAN_REPLICATE_SERVER_OBJS) |
73 | 66 | -@erase "$(INTDIR)\*.pdb" |
… |
… |
|
84 | 77 | CPP_SBRS=. |
85 | 78 | |
86 | 79 | ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_LIBS) |
87 | | |
| 80 | |
88 | 81 | PROGRAM_DEPENDENCIES = $(XAPIAN_LIBS) |
89 | 82 | |
90 | 83 | |
… |
… |
|
94 | 87 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\xapian-compact.exe" $(DEF_FLAGS) $(XAPIAN_COMPACT_OBJS) |
95 | 88 | << |
96 | 89 | # REMOVE THIS NEXT LINE if using Visual C++ .net 2003 - you won't need to worry about manifests. For later compilers this prevents error R6034 |
97 | | $(MANIFEST) "$(OUTDIR)\xapian-compact.exe.manifest" -outputresource:"$(OUTDIR)\xapian-compact.exe;1" |
| 90 | #$(MANIFEST) "$(OUTDIR)\xapian-compact.exe.manifest" -outputresource:"$(OUTDIR)\xapian-compact.exe;1" |
98 | 91 | -@erase "$(OUTDIR)\xapian-compact.exe.manifest" |
99 | 92 | |
100 | 93 | "$(OUTDIR)\xapian-progsrv.exe" : "$(OUTDIR)" $(DEF_FILE) $(XAPIAN_PROGSRV_OBJS) \ |
… |
… |
|
102 | 95 | $(LINK32) @<< |
103 | 96 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\xapian-progsrv.exe" $(DEF_FLAGS) $(XAPIAN_PROGSRV_OBJS) |
104 | 97 | << |
105 | | $(MANIFEST) "$(OUTDIR)\xapian-progsrv.exe.manifest" -outputresource:"$(OUTDIR)\xapian-progsrv.exe;1" |
| 98 | #$(MANIFEST) "$(OUTDIR)\xapian-progsrv.exe.manifest" -outputresource:"$(OUTDIR)\xapian-progsrv.exe;1" |
106 | 99 | -@erase "$(OUTDIR)\xapian-progsrv.exe.manifest" |
107 | 100 | |
108 | | "$(OUTDIR)\xapian-chert-update.exe" : "$(OUTDIR)" $(DEF_FILE) $(XAPIAN_CHERT_UPDATE_OBJS) \ |
109 | | $(PROGRAM_DEPENDENCIES) |
110 | | $(LINK32) @<< |
111 | | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\xapian-chert-update.exe" $(DEF_FLAGS) $(XAPIAN_CHERT_UPDATE_OBJS) |
112 | | << |
113 | | $(MANIFEST) "$(OUTDIR)\xapian-chert-update.exe.manifest" -outputresource:"$(OUTDIR)\xapian-chert-update.exe;1" |
114 | | -@erase "$(OUTDIR)\xapian-chert-update.exe.manifest" |
115 | | |
116 | 101 | "$(OUTDIR)\xapian-tcpsrv.exe" : "$(OUTDIR)" $(DEF_FILE) $(XAPIAN_TCPSRV_OBJS) \ |
117 | 102 | $(PROGRAM_DEPENDENCIES) |
118 | 103 | $(LINK32) @<< |
119 | 104 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\xapian-tcpsrv.exe" $(DEF_FLAGS) $(XAPIAN_TCPSRV_OBJS) |
120 | 105 | << |
121 | | $(MANIFEST) "$(OUTDIR)\xapian-tcpsrv.exe.manifest" -outputresource:"$(OUTDIR)\xapian-tcpsrv.exe;1" |
| 106 | #$(MANIFEST) "$(OUTDIR)\xapian-tcpsrv.exe.manifest" -outputresource:"$(OUTDIR)\xapian-tcpsrv.exe;1" |
122 | 107 | -@erase "$(OUTDIR)\xapian-tcpsrv.exe.manifest" |
123 | 108 | |
124 | 109 | "$(OUTDIR)\xapian-inspect.exe" : "$(OUTDIR)" $(DEF_FILE) $(XAPIAN_INSPECT_OBJS) \ |
… |
… |
|
126 | 111 | $(LINK32) @<< |
127 | 112 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\xapian-inspect.exe" $(DEF_FLAGS) $(XAPIAN_INSPECT_OBJS) |
128 | 113 | << |
129 | | $(MANIFEST) "$(OUTDIR)\xapian-inspect.exe.manifest" -outputresource:"$(OUTDIR)\xapian-inspect.exe;1" |
| 114 | #$(MANIFEST) "$(OUTDIR)\xapian-inspect.exe.manifest" -outputresource:"$(OUTDIR)\xapian-inspect.exe;1" |
130 | 115 | -@erase "$(OUTDIR)\xapian-inspect.exe.manifest" |
131 | 116 | |
132 | 117 | |
133 | 118 | "$(OUTDIR)\xapian-check.exe" : "$(OUTDIR)" $(DEF_FILE) $(XAPIAN_CHECK_OBJS) \ |
134 | 119 | $(PROGRAM_DEPENDENCIES) |
135 | 120 | $(LINK32) @<< |
136 | | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\xapian-check.exe" $(DEF_FLAGS) $(XAPIAN_CHECK_OBJS) "$(OUTLIBDIR)\libflintbtreecheck.lib" "$(OUTLIBDIR)\libchertbtreecheck.lib" "$(OUTLIBDIR)\libbrassbtreecheck.lib" |
| 121 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\xapian-check.exe" $(DEF_FLAGS) $(XAPIAN_CHECK_OBJS) "$(OUTLIBDIR)\libchertbtreecheck.lib" "$(OUTLIBDIR)\libbrassbtreecheck.lib" |
137 | 122 | << |
138 | | $(MANIFEST) "$(OUTDIR)\xapian-check.exe.manifest" -outputresource:"$(OUTDIR)\xapian-check.exe;1" |
| 123 | #$(MANIFEST) "$(OUTDIR)\xapian-check.exe.manifest" -outputresource:"$(OUTDIR)\xapian-check.exe;1" |
139 | 124 | -@erase "$(OUTDIR)\xapian-check.exe.manifest" |
140 | 125 | |
141 | 126 | |
… |
… |
|
144 | 129 | $(LINK32) @<< |
145 | 130 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\xapian-replicate.exe" $(DEF_FLAGS) $(XAPIAN_REPLICATE_OBJS) |
146 | 131 | << |
147 | | $(MANIFEST) "$(OUTDIR)\xapian-replicate.exe.manifest" -outputresource:"$(OUTDIR)\xapian-replicate.exe;1" |
| 132 | #$(MANIFEST) "$(OUTDIR)\xapian-replicate.exe.manifest" -outputresource:"$(OUTDIR)\xapian-replicate.exe;1" |
148 | 133 | -@erase "$(OUTDIR)\xapian-replicate.exe.manifest" |
149 | 134 | |
150 | 135 | "$(OUTDIR)\xapian-replicate-server.exe" : "$(OUTDIR)" $(DEF_FILE) $(XAPIAN_REPLICATE_SERVER_OBJS) \ |
… |
… |
|
152 | 137 | $(LINK32) @<< |
153 | 138 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\xapian-replicate-server.exe" $(DEF_FLAGS) $(XAPIAN_REPLICATE_SERVER_OBJS) |
154 | 139 | << |
155 | | $(MANIFEST) "$(OUTDIR)\xapian-replicate-server.exe.manifest" -outputresource:"$(OUTDIR)\xapian-replicate-server.exe;1" |
| 140 | #$(MANIFEST) "$(OUTDIR)\xapian-replicate-server.exe.manifest" -outputresource:"$(OUTDIR)\xapian-replicate-server.exe;1" |
156 | 141 | -@erase "$(OUTDIR)\xapian-replicate.exe.manifest" |
157 | 142 | |
158 | 143 | # inference rules, showing how to create one type of file from another with the same root name |
159 | 144 | {.}.cc{$(INTDIR)}.obj:: |
160 | 145 | $(CPP) @<< |
161 | | $(CPP_PROJ) $< |
| 146 | $(CPP_PROJ) $< |
162 | 147 | << |
163 | 148 | |
164 | 149 | {.}.cc{$(CPP_SBRS)}.sbr:: |
165 | 150 | $(CPP) @<< |
166 | | $(CPP_PROJ) $< |
| 151 | $(CPP_PROJ) $< |
167 | 152 | << |
168 | 153 | |
169 | 154 | # Calculate any header dependencies and automatically insert them into this file |
170 | 155 | HEADERS : |
171 | 156 | -@erase deps.d |
172 | 157 | $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d |
173 | | if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) |
| 158 | if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) |
174 | 159 | # DO NOT DELETE THIS LINE -- xapdep depends on it. |
175 | 160 | |
diff -ru win32msvc_svn15917/win32_bindings_csharp.mak win32/win32_bindings_csharp.mak
old
|
new
|
|
2 | 2 | # Charlie Hull |
3 | 3 | # 12th December 2008 |
4 | 4 | |
5 | | # Will build the Csharp bindings |
| 5 | # Will build the Csharp bindings |
6 | 6 | |
7 | 7 | # Where the core is, relative to the Csharp bindings |
8 | 8 | # Change this to match your environment |
9 | 9 | |
10 | | XAPIAN_CORE_REL_CSHARP=..\..\xapian-core |
| 10 | XAPIAN_CORE_REL_CSHARP=..\..\xapian-core-1.3.0 |
11 | 11 | OUTLIBDIR=$(XAPIAN_CORE_REL_CSHARP)\win32\$(XAPIAN_DEBUG_OR_RELEASE)\libs |
12 | 12 | |
13 | 13 | !INCLUDE $(XAPIAN_CORE_REL_CSHARP)\win32\config.mak |
… |
… |
|
33 | 33 | ESet.cs \ |
34 | 34 | ESetIterator.cs \ |
35 | 35 | ExpandDecider.cs \ |
36 | | Flint.cs \ |
37 | 36 | InMemory.cs \ |
38 | 37 | KeyMaker.cs \ |
39 | 38 | MatchSpy.cs \ |
40 | 39 | MatchDecider.cs \ |
41 | 40 | MSet.cs \ |
42 | 41 | MSetIterator.cs \ |
43 | | MultiValueSorter.cs \ |
44 | 42 | NumberValueRangeProcessor.cs \ |
45 | 43 | PositionIterator.cs \ |
46 | 44 | PostingIterator.cs \ |
… |
… |
|
52 | 50 | RSet.cs \ |
53 | 51 | SimpleStopper.cs \ |
54 | 52 | SmokeTest.cs \ |
55 | | Sorter.cs \ |
56 | 53 | Stem.cs \ |
57 | 54 | StemImplementation.cs \ |
58 | 55 | Stopper.cs \ |
… |
… |
|
70 | 67 | WritableDatabase.cs \ |
71 | 68 | Xapian.cs \ |
72 | 69 | XapianPINVOKE.cs |
73 | | |
| 70 | |
74 | 71 | ALL : "$(ASSEMBLY).dll" SmokeTest.exe "$(BINDING).dll" |
75 | 72 | # REMOVE THIS NEXT LINE if using Visual C++ .net 2003 - you won't need to worry about manifests. For later compilers this prevents error R6034 |
76 | | $(MANIFEST) "$(BINDING).dll.manifest" -outputresource:"$(BINDING).dll;2" |
| 73 | #$(MANIFEST) "$(BINDING).dll.manifest" -outputresource:"$(BINDING).dll;2" |
77 | 74 | copy "$(ASSEMBLY).dll" $(OUTDIR) |
78 | 75 | copy "$(BINDING).dll" $(OUTDIR) |
79 | | copy "$(ZLIB_LIB_DIR)\zdll.lib" |
| 76 | copy "$(ZLIB_LIB_DIR)\zdll.lib" |
80 | 77 | copy "$(ZLIB_BIN_DIR)\zlib1.dll" $(OUTDIR) |
81 | 78 | |
82 | 79 | CLEAN : |
83 | | -@erase XapianSharp.snk |
| 80 | -@erase XapianSharp.snk |
84 | 81 | -@erase AssemblyInfo.cs |
85 | 82 | -@erase "$(BINDING).dll" |
86 | 83 | -@erase "$(OUTDIR)\$(BINDING).dll" |
87 | 84 | -@erase "$(BINDING).dll.manifest" |
88 | | -@erase "$(ASSEMBLY).dll" |
| 85 | -@erase "$(ASSEMBLY).dll" |
89 | 86 | -@erase "$(OUTDIR)\$(ASSEMBLY).dll" |
90 | | -@erase "$(ASSEMBLY).dll.manifest" |
| 87 | -@erase "$(ASSEMBLY).dll.manifest" |
91 | 88 | -@erase "SmokeTest.exe" |
92 | 89 | -@erase "$(OUTDIR)\SmokeTest.exe" |
93 | 90 | -@erase xapian_wrap.obj |
… |
… |
|
96 | 93 | -@erase *.lib |
97 | 94 | -@erase *.exp |
98 | 95 | -@erase version.res |
99 | | |
| 96 | |
100 | 97 | CLEANSWIG: CLEAN |
101 | 98 | -@erase xapian_wrap.cc |
102 | 99 | -@erase xapian_wrap.h |
103 | 100 | -@erase $(XAPIAN_SWIG_CSHARP_SRCS) |
104 | 101 | |
105 | | DOTEST: |
| 102 | DOTEST: |
106 | 103 | copy SmokeTest.exe "$(OUTDIR)\SmokeTest.exe" |
107 | 104 | cd $(OUTDIR) |
108 | 105 | SmokeTest |
109 | | |
| 106 | |
110 | 107 | CHECK: ALL DOTEST |
111 | 108 | |
112 | | DIST: CHECK |
| 109 | DIST: CHECK |
113 | 110 | cd $(MAKEDIR) |
114 | 111 | if not exist "$(OUTDIR)\dist\$(NULL)" mkdir "$(OUTDIR)\dist" |
115 | 112 | if not exist "$(OUTDIR)\dist\docs/$(NULL)" mkdir "$(OUTDIR)\dist\docs" |
116 | | if not exist "$(OUTDIR)\dist\docs\examples/$(NULL)" mkdir "$(OUTDIR)\dist\docs\examples" |
| 113 | if not exist "$(OUTDIR)\dist\docs\examples/$(NULL)" mkdir "$(OUTDIR)\dist\docs\examples" |
117 | 114 | copy "$(OUTDIR)\_XapianSharp.dll" "$(OUTDIR)\dist" |
118 | 115 | copy "$(OUTDIR)\XapianCSharp.dll" "$(OUTDIR)\dist" |
119 | 116 | if exist docs copy docs\*.htm* "$(OUTDIR)\dist\docs" |
… |
… |
|
124 | 121 | |
125 | 122 | XapianSharp.snk: |
126 | 123 | $(SN) -k $@ |
127 | | |
128 | | "$(ASSEMBLY).dll": $(XAPIAN_SWIG_CSHARP_SRCS) AssemblyInfo.cs XapianSharp.snk "$(OUTDIR)" $(BINDING).dll |
| 124 | |
| 125 | "$(ASSEMBLY).dll": $(XAPIAN_SWIG_CSHARP_SRCS) AssemblyInfo.cs XapianSharp.snk "$(OUTDIR)" $(BINDING).dll |
129 | 126 | $(CSC) -unsafe -target:library -out:"$(ASSEMBLY).dll" \ |
130 | | $(XAPIAN_SWIG_CSHARP_SRCS) AssemblyInfo.cs |
| 127 | $(XAPIAN_SWIG_CSHARP_SRCS) AssemblyInfo.cs |
131 | 128 | |
132 | 129 | AssemblyInfo.cs: AssemblyInfo.cs.in "$(XAPIAN_CORE_REL_CSHARP)\configure.ac" |
133 | 130 | $(PERL_EXE) "$(XAPIAN_CORE_REL_CSHARP)\win32\genversion.pl" "$(XAPIAN_CORE_REL_CSHARP)\configure.ac" AssemblyInfo.cs.in AssemblyInfo.cs |
134 | | |
| 131 | |
135 | 132 | CPP_PROJ=$(CPPFLAGS_EXTRA) /GR \ |
136 | 133 | /I "$(XAPIAN_CORE_REL_CSHARP)" /I "$(XAPIAN_CORE_REL_CSHARP)\include" \ |
137 | | /I"." /Fo"$(INTDIR)\\" /Tp$(INPUTNAME) |
138 | | |
139 | | ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_LIBS) |
| 134 | /I"." /Fo"$(INTDIR)\\" /Tp$(INPUTNAME) |
| 135 | |
| 136 | ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_LIBS) |
140 | 137 | |
141 | | "$(BINDING).dll" : "$(OUTDIR)" xapian_wrap.obj ".\version.res" |
| 138 | "$(BINDING).dll" : "$(OUTDIR)" xapian_wrap.obj ".\version.res" |
142 | 139 | $(LINK32) @<< |
143 | | $(ALL_LINK32_FLAGS) /DLL /out:"$(BINDING).dll" xapian_wrap.obj ".\version.res" |
| 140 | $(ALL_LINK32_FLAGS) /DLL /out:"$(BINDING).dll" xapian_wrap.obj ".\version.res" |
144 | 141 | |
145 | 142 | << |
146 | | |
| 143 | |
147 | 144 | !IF "$(SWIGBUILD)" == "1" |
148 | 145 | xapian_wrap.cc xapian_wrap.h $(XAPIAN_SWIG_CSHARP_SRCS): util.i ..\xapian.i |
149 | 146 | # Make sure that we don't package stale generated sources in the |
… |
… |
|
151 | 148 | -@erase $(XAPIAN_SWIG_CSHARP_SRCS) |
152 | 149 | $(SWIG) $(SWIG_FLAGS) -I$(XAPIAN_CORE_REL_CSHARP)\include -I..\generic \ |
153 | 150 | -csharp -namespace Xapian -module Xapian -dllimport $(BINDING) \ |
154 | | -c++ -o xapian_wrap.cc ..\xapian.i |
| 151 | -c++ -o xapian_wrap.cc ..\xapian.i |
155 | 152 | !ENDIF |
156 | 153 | |
157 | 154 | # |
… |
… |
|
162 | 159 | $(RSC) /v \ |
163 | 160 | /I "$(XAPIAN_CORE_REL_CSHARP)\include" \ |
164 | 161 | /fo version.res \ |
165 | | version.rc |
166 | | |
167 | | xapian_wrap.obj : xapian_wrap.cc |
| 162 | version.rc |
| 163 | |
| 164 | xapian_wrap.obj : xapian_wrap.cc |
168 | 165 | $(CPP) @<< |
169 | 166 | $(CPP_PROJ) $** |
170 | 167 | << |
diff -ru win32msvc_svn15917/win32_examples.mak win32/win32_examples.mak
old
|
new
|
|
27 | 27 | $(INTDIR)\simpleindex.obj \ |
28 | 28 | $(INTDIR)\simplesearch.obj \ |
29 | 29 | $(INTDIR)\copydatabase.obj |
30 | | |
| 30 | |
31 | 31 | SRCS = $(INTDIR)\delve.cc \ |
32 | 32 | $(INTDIR)\quest.cc \ |
33 | 33 | $(INTDIR)\simpleexpand.cc \ |
… |
… |
|
36 | 36 | $(INTDIR)\copydatabase.cc |
37 | 37 | |
38 | 38 | PROGRAMS = "$(OUTDIR)\delve.exe" "$(OUTDIR)\quest.exe" \ |
39 | | "$(OUTDIR)\simpleexpand.exe" "$(OUTDIR)\simpleindex.exe" "$(OUTDIR)\simplesearch.exe" "$(OUTDIR)\copydatabase.exe" |
| 39 | "$(OUTDIR)\simpleexpand.exe" "$(OUTDIR)\simpleindex.exe" "$(OUTDIR)\simplesearch.exe" "$(OUTDIR)\copydatabase.exe" |
40 | 40 | |
41 | 41 | ALL : $(PROGRAMS) |
42 | 42 | |
… |
… |
|
59 | 59 | |
60 | 60 | PROGRAM_DEPENDENCIES = $(XAPIAN_LIBS) |
61 | 61 | |
62 | | |
| 62 | |
63 | 63 | # delve.exe |
64 | 64 | # quest.exe |
65 | 65 | # simpleexpand.exe |
… |
… |
|
71 | 71 | $(LINK32) @<< |
72 | 72 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\copydatabase.exe" $(DEF_FLAGS) "$(INTDIR)\copydatabase.obj" |
73 | 73 | << |
74 | | $(MANIFEST) "$(OUTDIR)\copydatabase.exe.manifest" -outputresource:"$(OUTDIR)\copydatabase.exe;1" |
| 74 | #$(MANIFEST) "$(OUTDIR)\copydatabase.exe.manifest" -outputresource:"$(OUTDIR)\copydatabase.exe;1" |
75 | 75 | -@erase "$(OUTDIR)\copydatabase.exe.manifest" |
76 | 76 | |
77 | 77 | |
… |
… |
|
80 | 80 | $(LINK32) @<< |
81 | 81 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\delve.exe" $(DEF_FLAGS) "$(INTDIR)\delve.obj" |
82 | 82 | << |
83 | | $(MANIFEST) "$(OUTDIR)\delve.exe.manifest" -outputresource:"$(OUTDIR)\delve.exe;1" |
| 83 | #$(MANIFEST) "$(OUTDIR)\delve.exe.manifest" -outputresource:"$(OUTDIR)\delve.exe;1" |
84 | 84 | -@erase "$(OUTDIR)\delve.exe.manifest" |
85 | 85 | |
86 | 86 | "$(OUTDIR)\quest.exe" : "$(OUTDIR)" $(DEF_FILE) "$(INTDIR)\quest.obj" \ |
… |
… |
|
88 | 88 | $(LINK32) @<< |
89 | 89 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\quest.exe" $(DEF_FLAGS) "$(INTDIR)\quest.obj" |
90 | 90 | << |
91 | | $(MANIFEST) "$(OUTDIR)\quest.exe.manifest" -outputresource:"$(OUTDIR)\quest.exe;1" |
| 91 | #$(MANIFEST) "$(OUTDIR)\quest.exe.manifest" -outputresource:"$(OUTDIR)\quest.exe;1" |
92 | 92 | -@erase "$(OUTDIR)\quest.exe.manifest" |
93 | 93 | |
94 | 94 | |
… |
… |
|
97 | 97 | $(LINK32) @<< |
98 | 98 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\simpleexpand.exe" $(DEF_FLAGS) "$(INTDIR)\simpleexpand.obj" |
99 | 99 | << |
100 | | $(MANIFEST) "$(OUTDIR)\simpleexpand.exe.manifest" -outputresource:"$(OUTDIR)\simpleexpand.exe;1" |
| 100 | #$(MANIFEST) "$(OUTDIR)\simpleexpand.exe.manifest" -outputresource:"$(OUTDIR)\simpleexpand.exe;1" |
101 | 101 | -@erase "$(OUTDIR)\simpleexpand.exe.manifest" |
102 | 102 | |
103 | 103 | "$(OUTDIR)\simpleindex.exe" : "$(OUTDIR)" $(DEF_FILE) "$(INTDIR)\simpleindex.obj" \ |
… |
… |
|
105 | 105 | $(LINK32) @<< |
106 | 106 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\simpleindex.exe" $(DEF_FLAGS) "$(INTDIR)\simpleindex.obj" |
107 | 107 | << |
108 | | $(MANIFEST) "$(OUTDIR)\simpleindex.exe.manifest" -outputresource:"$(OUTDIR)\simpleindex.exe;1" |
| 108 | #$(MANIFEST) "$(OUTDIR)\simpleindex.exe.manifest" -outputresource:"$(OUTDIR)\simpleindex.exe;1" |
109 | 109 | -@erase "$(OUTDIR)\simpleindex.exe.manifest" |
110 | 110 | |
111 | 111 | "$(OUTDIR)\simplesearch.exe" : "$(OUTDIR)" $(DEF_FILE) "$(INTDIR)\simplesearch.obj" \ |
… |
… |
|
113 | 113 | $(LINK32) @<< |
114 | 114 | $(ALL_LINK32_FLAGS) /out:"$(OUTDIR)\simplesearch.exe" $(DEF_FLAGS) "$(INTDIR)\simplesearch.obj" |
115 | 115 | << |
116 | | $(MANIFEST) "$(OUTDIR)\simplesearch.exe.manifest" -outputresource:"$(OUTDIR)\simplesearch.exe;1" |
| 116 | #$(MANIFEST) "$(OUTDIR)\simplesearch.exe.manifest" -outputresource:"$(OUTDIR)\simplesearch.exe;1" |
117 | 117 | -@erase "$(OUTDIR)\simplesearch.exe.manifest" |
118 | 118 | |
119 | 119 | |
120 | 120 | # inference rules, showing how to create one type of file from another with the same root name |
121 | 121 | {.}.cc{$(INTDIR)}.obj:: |
122 | 122 | $(CPP) @<< |
123 | | $(CPP_PROJ) $< |
| 123 | $(CPP_PROJ) $< |
124 | 124 | << |
125 | 125 | |
126 | 126 | {.}.cc{$(CPP_SBRS)}.sbr:: |
127 | 127 | $(CPP) @<< |
128 | | $(CPP_PROJ) $< |
| 128 | $(CPP_PROJ) $< |
129 | 129 | << |
130 | 130 | |
131 | 131 | # Calculate any header dependencies and automatically insert them into this file |
132 | 132 | HEADERS : |
133 | 133 | -@erase deps.d |
134 | 134 | $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d |
135 | | if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) |
| 135 | if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) |
136 | 136 | # DO NOT DELETE THIS LINE -- xapdep depends on it. |
diff -ru win32msvc_svn15917/win32_languages.mak win32/win32_languages.mak
old
|
new
|
|
12 | 12 | OUTDIR=..\win32\$(XAPIAN_DEBUG_OR_RELEASE)\libs |
13 | 13 | INTDIR=.\ |
14 | 14 | |
15 | | SBL_OPTIONS=-c++ -u |
| 15 | SBL_OPTIONS=-c++ -u |
16 | 16 | SBL=compiler\snowball.exe |
17 | 17 | |
18 | | ALL : MAKEFROMSBL "$(OUTDIR)\liblanguages.lib" |
| 18 | ALL : MAKEFROMSBL "$(OUTDIR)\liblanguages.lib" |
19 | 19 | |
20 | 20 | LIBLANGUAGES_OBJS= \ |
21 | 21 | $(INTDIR)\stem.obj \ |
22 | | $(INTDIR)\steminternal.obj \ |
| 22 | $(INTDIR)\steminternal.obj \ |
| 23 | $(INTDIR)\armenian.obj \ |
| 24 | $(INTDIR)\basque.obj \ |
| 25 | $(INTDIR)\catalan.obj \ |
23 | 26 | $(INTDIR)\danish.obj \ |
24 | 27 | $(INTDIR)\dutch.obj \ |
25 | 28 | $(INTDIR)\english.obj \ |
… |
… |
|
38 | 41 | $(INTDIR)\swedish.obj \ |
39 | 42 | $(INTDIR)\romanian.obj \ |
40 | 43 | $(INTDIR)\kraaij_pohlmann.obj \ |
41 | | $(INTDIR)\turkish.obj |
| 44 | $(INTDIR)\turkish.obj |
42 | 45 | |
43 | | LIBLANGUAGES_SOURCES= \ |
| 46 | LIBLANGUAGES_SOURCES= \ |
| 47 | $(INTDIR)\armenian.cc \ |
| 48 | $(INTDIR)\basque.cc \ |
| 49 | $(INTDIR)\catalan.cc \ |
44 | 50 | $(INTDIR)\danish.cc \ |
45 | 51 | $(INTDIR)\dutch.cc \ |
46 | 52 | $(INTDIR)\english.cc \ |
… |
… |
|
59 | 65 | $(INTDIR)\swedish.cc \ |
60 | 66 | $(INTDIR)\romanian.cc \ |
61 | 67 | $(INTDIR)\kraaij_pohlmann.cc \ |
62 | | $(INTDIR)\turkish.cc |
| 68 | $(INTDIR)\turkish.cc |
63 | 69 | |
64 | | LIBLANGUAGES_HEADERS= \ |
| 70 | LIBLANGUAGES_HEADERS= \ |
| 71 | armenian.h \ |
| 72 | basque.h \ |
| 73 | catalan.h \ |
65 | 74 | danish.h \ |
66 | 75 | dutch.h \ |
67 | 76 | english.h \ |
… |
… |
|
80 | 89 | swedish.h \ |
81 | 90 | romanian.h \ |
82 | 91 | kraaij_pohlmann.h \ |
83 | | turkish.h |
| 92 | turkish.h |
84 | 93 | |
85 | 94 | MAKEFROMSBL: $(LIBLANGUAGES_SOURCES) ".\allsnowballheaders.h" |
86 | | |
| 95 | |
87 | 96 | CLEAN : |
88 | 97 | -@erase "$(OUTDIR)\liblanguages.lib" |
89 | 98 | -@erase "*.pch" |
… |
… |
|
110 | 119 | |
111 | 120 | |
112 | 121 | # Generate .h and .cc files from Snowball algorithms using Snowball compiler |
113 | | |
| 122 | ".\armenian.h" ".\armenian.cc" : ".\armenian.sbl" |
| 123 | $(SBL) armenian.sbl $(SBL_OPTIONS) -o armenian -n InternalStemArmenian -p SnowballStemImplementation |
| 124 | |
| 125 | ".\basque.h" ".\basque.cc" : ".\basque.sbl" |
| 126 | $(SBL) basque.sbl $(SBL_OPTIONS) -o basque -n InternalStemBasque -p SnowballStemImplementation |
| 127 | |
| 128 | ".\catalan.h" ".\catalan.cc" : ".\catalan.sbl" |
| 129 | $(SBL) catalan.sbl $(SBL_OPTIONS) -o catalan -n InternalStemCatalan -p SnowballStemImplementation |
| 130 | |
114 | 131 | ".\danish.h" ".\danish.cc" : ".\danish.sbl" |
115 | 132 | $(SBL) danish.sbl $(SBL_OPTIONS) -o danish -n InternalStemDanish -p SnowballStemImplementation |
116 | 133 | |
… |
… |
|
155 | 172 | |
156 | 173 | ".\kraaij_pohlmann.h" ".\kraaij_pohlmann.cc" : ".\kraaij_pohlmann.sbl" |
157 | 174 | $(SBL) kraaij_pohlmann.sbl $(SBL_OPTIONS) -o kraaij_pohlmann -n InternalStemKraaij_pohlmann -p SnowballStemImplementation |
158 | | |
| 175 | |
159 | 176 | ".\romanian.h" ".\romanian.cc" : ".\romanian.sbl" |
160 | | $(SBL) romanian.sbl $(SBL_OPTIONS) -o romanian -n InternalStemRomanian -p SnowballStemImplementation |
| 177 | $(SBL) romanian.sbl $(SBL_OPTIONS) -o romanian -n InternalStemRomanian -p SnowballStemImplementation |
161 | 178 | |
162 | 179 | ".\turkish.h" ".\turkish.cc" : ".\turkish.sbl" |
163 | | $(SBL) turkish.sbl $(SBL_OPTIONS) -o turkish -n InternalStemTurkish -p SnowballStemImplementation |
| 180 | $(SBL) turkish.sbl $(SBL_OPTIONS) -o turkish -n InternalStemTurkish -p SnowballStemImplementation |
164 | 181 | |
165 | 182 | ".\finnish.h" ".\finnish.cc" : ".\finnish.sbl" |
166 | 183 | $(SBL) finnish.sbl $(SBL_OPTIONS) -o finnish -n InternalStemFinnish -p SnowballStemImplementation |
… |
… |
|
169 | 186 | $(SBL) lovins.sbl $(SBL_OPTIONS) -o lovins -n InternalStemLovins -p SnowballStemImplementation |
170 | 187 | |
171 | 188 | |
172 | | "$(INTDIR)\stem.obj" : ".\stem.cc" |
| 189 | "$(INTDIR)\stem.obj" : ".\stem.cc" |
173 | 190 | $(CPP) @<< |
174 | 191 | $(CPP_PROJ) $** |
175 | 192 | << |
176 | 193 | |
177 | 194 | |
178 | | "$(INTDIR)\steminternal.obj" : ".\steminternal.cc" $(LIBLANGUAGES_SOURCES) |
| 195 | "$(INTDIR)\steminternal.obj" : ".\steminternal.cc" $(LIBLANGUAGES_SOURCES) |
179 | 196 | $(CPP) @<< |
180 | 197 | $(CPP_PROJ) $** |
181 | 198 | << |
182 | 199 | |
183 | | ".\allsnowballheaders.h": ".\generate-allsnowballheaders" |
| 200 | ".\allsnowballheaders.h": ".\generate-allsnowballheaders" |
184 | 201 | if not exist languages\. md languages |
185 | 202 | $(PERL_EXE) generate-allsnowballheaders $(LIBLANGUAGES_HEADERS) |
186 | 203 | copy languages\allsnowballheaders.h |
187 | 204 | del languages\allsnowballheaders.h |
188 | 205 | rmdir languages |
189 | | |
| 206 | |
190 | 207 | ".\generate-allsnowballheaders": ".\generate-allsnowballheaders.in" Makefile |
191 | 208 | $(PERL_EXE) -pe "BEGIN{$$perl=shift @ARGV} s,\@PERL\@,$$perl," "$(PERL_EXE)" generate-allsnowballheaders.in > generate-allsnowballheaders |
192 | 209 | |
diff -ru win32msvc_svn15917/win32_tests.mak win32/win32_tests.mak
old
|
new
|
|
13 | 13 | INTDIR= ..\tests |
14 | 14 | |
15 | 15 | |
16 | | PROGRAM_APITEST= "$(OUTDIR)\apitest.exe" |
17 | | PROGRAM_INTERNALTEST= "$(OUTDIR)\internaltest.exe" |
| 16 | PROGRAM_APITEST= "$(OUTDIR)\apitest.exe" |
| 17 | PROGRAM_INTERNALTEST= "$(OUTDIR)\internaltest.exe" |
18 | 18 | PROGRAM_QUERYPARSERTEST= "$(OUTDIR)\queryparsertest.exe" |
19 | 19 | PROGRAM_STEMTEST= "$(OUTDIR)\stemtest.exe" |
20 | 20 | PROGRAM_TERMGENTEST= "$(OUTDIR)\termgentest.exe" |
… |
… |
|
22 | 22 | |
23 | 23 | ALL : $(CLEAN_COLLATED_HEADERS) $(PROGRAM_APITEST) $(PROGRAM_INTERNALTEST) \ |
24 | 24 | $(PROGRAM_QUERYPARSERTEST) $(PROGRAM_STEMTEST) $(PROGRAM_TERMGENTEST) $(PROGRAM_UNITTEST) |
25 | | |
26 | | |
27 | | APITEST : $(PROGRAM_APITEST) |
28 | | STEMTEST : $(PROGRAM_STEMTEST) |
29 | | INTERNALTEST : $(PROGRAM_INTERNALTEST) |
30 | | QUERYPARSERTEST : $(PROGRAM_QUERYPARSERTEST) |
31 | | TERMGENTEST : $(PROGRAM_TERMGENTEST) |
32 | | UNITTEST : $(PROGRAM_UNITTEST) |
| 25 | |
| 26 | |
| 27 | APITEST : $(PROGRAM_APITEST) |
| 28 | STEMTEST : $(PROGRAM_STEMTEST) |
| 29 | INTERNALTEST : $(PROGRAM_INTERNALTEST) |
| 30 | QUERYPARSERTEST : $(PROGRAM_QUERYPARSERTEST) |
| 31 | TERMGENTEST : $(PROGRAM_TERMGENTEST) |
| 32 | UNITTEST : $(PROGRAM_UNITTEST) |
33 | 33 | |
34 | 34 | |
35 | 35 | DOTEST : |
… |
… |
|
42 | 42 | termgentest |
43 | 43 | unittest |
44 | 44 | |
45 | | |
| 45 | |
46 | 46 | # remotetest |
47 | 47 | # $(PROGRAM_REMOTETEST) not built |
48 | | # REMOTETEST : $(PROGRAM_REMOTETEST) |
49 | | #PROGRAM_REMOTETEST= "$(OUTDIR)\remotetest.exe" |
| 48 | # REMOTETEST : $(PROGRAM_REMOTETEST) |
| 49 | #PROGRAM_REMOTETEST= "$(OUTDIR)\remotetest.exe" |
50 | 50 | |
51 | 51 | # object files |
52 | | |
53 | | STEMTEST_OBJS= "$(OUTDIR)\stemtest.obj" |
| 52 | |
| 53 | STEMTEST_OBJS= "$(OUTDIR)\stemtest.obj" |
54 | 54 | |
55 | 55 | APITEST_OBJS= \ |
56 | 56 | "$(OUTDIR)\apitest.obj" \ |
… |
… |
|
77 | 77 | "$(OUTDIR)\api_scalability.obj" \ |
78 | 78 | "$(OUTDIR)\api_serialise.obj" \ |
79 | 79 | "$(OUTDIR)\api_sorting.obj" \ |
80 | | "$(OUTDIR)\api_sortingold.obj" \ |
81 | 80 | "$(OUTDIR)\api_spelling.obj" \ |
82 | 81 | "$(OUTDIR)\api_stem.obj" \ |
83 | 82 | "$(OUTDIR)\api_transdb.obj" \ |
… |
… |
|
86 | 85 | "$(OUTDIR)\api_valuestream.obj" \ |
87 | 86 | "$(OUTDIR)\api_wrdb.obj" \ |
88 | 87 | "$(OUTDIR)\dbcheck.obj" |
89 | | |
| 88 | |
90 | 89 | INTERNALTEST_OBJS= "$(OUTDIR)\internaltest.obj" |
91 | | |
| 90 | |
92 | 91 | QUARTZTEST_OBJS= "$(OUTDIR)\quartztest.obj" |
93 | 92 | |
94 | 93 | QUERYPARSERTEST_OBJS= "$(OUTDIR)\queryparsertest.obj" |
95 | | |
96 | | REMOTETEST_OBJS= "$(OUTDIR)\remotetest.obj" |
97 | 94 | |
98 | | TERMGENTEST_OBJS= "$(OUTDIR)\termgentest.obj" |
| 95 | REMOTETEST_OBJS= "$(OUTDIR)\remotetest.obj" |
| 96 | |
| 97 | TERMGENTEST_OBJS= "$(OUTDIR)\termgentest.obj" |
99 | 98 | |
100 | | UNITTEST_OBJS= "$(OUTDIR)\unittest.obj" |
| 99 | UNITTEST_OBJS= "$(OUTDIR)\unittest.obj" |
101 | 100 | |
102 | 101 | SRC = \ |
103 | 102 | "$(INTDIR)\apitest.cc" \ |
… |
… |
|
132 | 131 | "$(INTDIR)\api_scalability.cc" \ |
133 | 132 | "$(INTDIR)\api_serialise.cc" \ |
134 | 133 | "$(INTDIR)\api_sorting.cc" \ |
135 | | "$(INTDIR)\api_sortingold.cc" \ |
136 | 134 | "$(INTDIR)\api_spelling.cc" \ |
137 | 135 | "$(INTDIR)\api_stem.cc" \ |
138 | 136 | "$(INTDIR)\api_transdb.cc" \ |
… |
… |
|
140 | 138 | "$(INTDIR)\api_valuestats.cc" \ |
141 | 139 | "$(INTDIR)\api_valuestream.cc" \ |
142 | 140 | "$(INTDIR)\api_wrdb.cc" |
143 | | |
| 141 | |
144 | 142 | COLLATED_APITEST_HEADERS=\ |
145 | 143 | "$(INTDIR)\api_anydb.h" \ |
146 | 144 | "$(INTDIR)\api_backend.h" \ |
… |
… |
|
164 | 162 | "$(INTDIR)\api_scalability.h" \ |
165 | 163 | "$(INTDIR)\api_serialise.h" \ |
166 | 164 | "$(INTDIR)\api_sorting.h" \ |
167 | | "$(INTDIR)\api_sortingold.h" \ |
168 | 165 | "$(INTDIR)\api_opsynonym.h" \ |
169 | 166 | "$(INTDIR)\api_spelling.h" \ |
170 | 167 | "$(INTDIR)\api_transdb.h" \ |
… |
… |
|
172 | 169 | "$(INTDIR)\api_valuestats.h" \ |
173 | 170 | "$(INTDIR)\api_valuestream.h" \ |
174 | 171 | "$(INTDIR)\api_wrdb.h" |
175 | | |
| 172 | |
176 | 173 | CLEAN_COLLATED_HEADERS: |
177 | 174 | -@erase api_collated.h |
178 | 175 | -@erase $(COLLATED_APITEST_HEADERS) |
179 | 176 | |
180 | | CLEAN : |
181 | | -@erase $(PROGRAM_APITEST) |
182 | | -@erase $(PROGRAM_INTERNALTEST) |
183 | | -@erase $(PROGRAM_QUERYPARSERTEST) |
| 177 | CLEAN : |
| 178 | -@erase $(PROGRAM_APITEST) |
| 179 | -@erase $(PROGRAM_INTERNALTEST) |
| 180 | -@erase $(PROGRAM_QUERYPARSERTEST) |
184 | 181 | -@erase $(PROGRAM_REMOTETEST) |
185 | 182 | -@erase $(PROGRAM_STEMTEST) |
186 | 183 | -@erase $(PROGRAM_TERMGENTEST) |
… |
… |
|
209 | 206 | if exist ".multichert" rmdir ".multichert" /s /q |
210 | 207 | if exist ".multibrass" rmdir ".multibrass" /s /q |
211 | 208 | if exist ".quartztmp" rmdir ".quartztmp" /s /q |
212 | | |
213 | | |
214 | | |
| 209 | |
| 210 | |
| 211 | |
215 | 212 | CPP_PROJ=$(CPPFLAGS_EXTRA) \ |
216 | 213 | -I ".." -I "..\tests" -I "harness" -I"..\backends\quartz" \ |
217 | | -Fo"$(INTDIR)\\" -Fd"$(INTDIR)\\" -Tp$(INPUTNAME) |
| 214 | -Fo"$(INTDIR)\\" -Fd"$(INTDIR)\\" -Tp$(INPUTNAME) |
218 | 215 | |
219 | 216 | CPP_OBJS=..\win32\Tests$(XAPIAN_DEBUG_OR_RELEASE) |
220 | 217 | CPP_SBRS=. |
221 | 218 | |
222 | | |
| 219 | |
223 | 220 | api_collated.h api_all.h: collate-test $(COLLATED_APITEST_SOURCES) |
224 | | $(PERL_EXE) "$(INTDIR)/collate-test" "$(INTDIR)" api_collated.h api_all.h $(COLLATED_APITEST_SOURCES) |
| 221 | $(PERL_EXE) "$(INTDIR)/collate-test" "$(INTDIR)" api_collated.h api_all.h $(COLLATED_APITEST_SOURCES) |
225 | 222 | |
226 | 223 | "$(INTDIR)/api_generated.cc": generate-api_generated |
227 | 224 | $(PERL_EXE) "$(INTDIR)/generate-api_generated" > api_generated.cc |
228 | | |
| 225 | |
229 | 226 | LINK32=link.exe |
230 | 227 | ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_LIBS) "$(OUTLIBDIR)\libtest.lib" |
231 | 228 | |
232 | | PROGRAM_DEPENDENCIES = $(XAPIAN_LIBS) "$(OUTLIBDIR)\libtest.lib" |
| 229 | PROGRAM_DEPENDENCIES = $(XAPIAN_LIBS) "$(OUTLIBDIR)\libtest.lib" |
233 | 230 | |
234 | 231 | # executables |
235 | 232 | "$(OUTDIR)\termgentest.exe" : "$(OUTDIR)" $(DEF_FILE) $(TERMGENTEST_OBJS) \ |
… |
… |
|
277 | 274 | # inference rules, showing how to create one type of file from another with the same root name |
278 | 275 | {.}.cc{$(INTDIR)}.obj:: |
279 | 276 | $(CPP) @<< |
280 | | $(CPP_PROJ) $< |
| 277 | $(CPP_PROJ) $< |
281 | 278 | << |
282 | 279 | |
283 | 280 | {.}.cc{$(CPP_SBRS)}.sbr:: |
284 | 281 | $(CPP) @<< |
285 | | $(CPP_PROJ) $< |
| 282 | $(CPP_PROJ) $< |
286 | 283 | << |
287 | 284 | |
288 | 285 | # Calculate any header dependencies and automatically insert them into this file |
… |
… |
|
290 | 287 | -@erase deps.d |
291 | 288 | $(CPP) -showIncludes $(CPP_PROJ) $(SRC) >>deps.d |
292 | 289 | $(CPP) -showIncludes $(CPP_PROJ) $(COLLATED_APITEST_SOURCES) >>deps.d |
293 | | if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) |
| 290 | if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) |
294 | 291 | # DO NOT DELETE THIS LINE -- xapdep depends on it. |
diff -ru win32msvc_svn15917/win32_testsuite.mak win32/win32_testsuite.mak
old
|
new
|
|
13 | 13 | |
14 | 14 | BUILD_LIBRARIES = "$(OUTDIR)\libtest.lib" |
15 | 15 | |
16 | | ALL : $(BUILD_LIBRARIES) |
| 16 | ALL : $(BUILD_LIBRARIES) |
17 | 17 | |
18 | 18 | OBJS= \ |
19 | 19 | $(INTDIR)\backendmanager.obj \ |
20 | | $(INTDIR)\backendmanager_flint.obj \ |
21 | 20 | $(INTDIR)\backendmanager_brass.obj \ |
22 | 21 | $(INTDIR)\backendmanager_chert.obj \ |
23 | 22 | $(INTDIR)\backendmanager_inmemory.obj \ |
… |
… |
|
36 | 35 | |
37 | 36 | SRCS= \ |
38 | 37 | $(INTDIR)\backendmanager.cc \ |
39 | | $(INTDIR)\backendmanager_flint.cc \ |
40 | 38 | $(INTDIR)\backendmanager_brass.cc \ |
41 | 39 | $(INTDIR)\backendmanager_chert.cc \ |
42 | 40 | $(INTDIR)\backendmanager_inmemory.cc \ |
… |
… |
|
77 | 75 | # inference rules, showing how to create one type of file from another with the same root name |
78 | 76 | {.}.cc{$(INTDIR)}.obj:: |
79 | 77 | $(CPP) @<< |
80 | | $(CPP_PROJ) $< |
| 78 | $(CPP_PROJ) $< |
81 | 79 | << |
82 | 80 | |
83 | 81 | {.}.cc{$(CPP_SBRS)}.sbr:: |
84 | 82 | $(CPP) @<< |
85 | | $(CPP_PROJ) $< |
| 83 | $(CPP_PROJ) $< |
86 | 84 | << |
87 | 85 | |
88 | 86 | # Calculate any header dependencies and automatically insert them into this file |
89 | 87 | HEADERS : |
90 | 88 | -@erase deps.d |
91 | 89 | $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d |
92 | | if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND) |
| 90 | if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND) |
93 | 91 | # DO NOT DELETE THIS LINE -- xapdep depends on it. |
diff -ru win32msvc_svn15917/xapdep/xapdep.mak win32/xapdep/xapdep.mak
old
|
new
|
|
11 | 11 | -@erase "$(OUTDIR)\*.idb |
12 | 12 | |
13 | 13 | CPP=cl.exe |
14 | | CPP_PROJ=/nologo /W3 /EHsc /O2 /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D STANDALONE=1 /D OBJSUFFIX=\".obj\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c |
| 14 | CPP_PROJ=/nologo /W3 /EHsc /O2 /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D STANDALONE=1 /D OBJSUFFIX=\".obj\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c |
15 | 15 | |
16 | 16 | .c{$(INTDIR)}.obj:: |
17 | 17 | $(CPP) @<< |
18 | | $(CPP_PROJ) $< |
| 18 | $(CPP_PROJ) $< |
19 | 19 | << |
20 | 20 | |
21 | 21 | .c{$(INTDIR)}.sbr:: |
22 | 22 | $(CPP) @<< |
23 | | $(CPP_PROJ) $< |
| 23 | $(CPP_PROJ) $< |
24 | 24 | << |
25 | 25 | |
26 | 26 | LINK32=link.exe |
27 | | LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\xapdep.pdb" /machine:I386 /out:"$(OUTDIR)\xapdep.exe" |
28 | | LINK32_OBJS= "$(INTDIR)\xapdep.obj" |
| 27 | LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\xapdep.pdb" /MACHINE:AMD64 /out:"$(OUTDIR)\xapdep.exe" |
| 28 | LINK32_OBJS= "$(INTDIR)\xapdep.obj" |
29 | 29 | |
30 | 30 | "$(OUTDIR)\xapdep.exe" : "$(OUTDIR)" $(LINK32_OBJS) |
31 | 31 | $(LINK32) @<< |