]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/subversion/build.conf
Import tzdata 2019c.
[FreeBSD/FreeBSD.git] / contrib / subversion / build.conf
1 #
2 # build.conf -- configuration information for building Subversion
3 #
4 ######################################################################
5 #    Licensed to the Apache Software Foundation (ASF) under one
6 #    or more contributor license agreements.  See the NOTICE file
7 #    distributed with this work for additional information
8 #    regarding copyright ownership.  The ASF licenses this file
9 #    to you under the Apache License, Version 2.0 (the
10 #    "License"); you may not use this file except in compliance
11 #    with the License.  You may obtain a copy of the License at
12 #
13 #      http://www.apache.org/licenses/LICENSE-2.0
14 #
15 #    Unless required by applicable law or agreed to in writing,
16 #    software distributed under the License is distributed on an
17 #    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 #    KIND, either express or implied.  See the License for the
19 #    specific language governing permissions and limitations
20 #    under the License.
21 ######################################################################
22 #
23 # This file is processed by gen-make.py, creating build-outputs.mk
24 #
25
26 # ----------------------------------------------------------------------------
27 #
28 # PREDEFINED SECTION
29 #
30 # This [options] section is global in scope, providing information to the
31 # process, rather than defining a build target, as all other sections do.
32 #
33
34 [options]
35 includes = subversion/include/*.h
36 include-wildcards = *.h *.i *.swg
37 private-includes =
38         subversion/include/private/*.h
39         subversion/bindings/swig/include/*.swg
40         subversion/libsvn_delta/compose_delta.c
41         subversion/bindings/cxxhl/include/*.hpp
42         subversion/bindings/cxxhl/include/svncxxhl/*.hpp
43         subversion/bindings/cxxhl/src/*.hpp
44         subversion/bindings/cxxhl/src/aprwrap/*.hpp
45         subversion/bindings/cxxhl/src/private/*.hpp
46         subversion/bindings/javahl/native/*.hpp
47         subversion/bindings/javahl/native/jniwrapper/jni_*.hpp
48         tools/dev/svnmover/linenoise/linenoise.h
49         tools/dev/svnmover/linenoise/linenoise.c
50         subversion/libsvn_subr/utf8proc/utf8proc_internal.h
51         subversion/libsvn_subr/utf8proc/utf8proc.c
52         subversion/libsvn_subr/utf8proc/utf8proc_data.c
53 private-built-includes =
54         subversion/svn_private_config.h
55         subversion/libsvn_fs_fs/rep-cache-db.h
56         subversion/libsvn_fs_x/rep-cache-db.h
57         subversion/libsvn_wc/wc-metadata.h
58         subversion/libsvn_wc/wc-queries.h
59         subversion/libsvn_wc/wc-checks.h
60         subversion/libsvn_subr/internal_statements.h
61         subversion/tests/libsvn_wc/wc-test-queries.h
62         subversion/bindings/swig/proxy/swig_python_external_runtime.swg
63         subversion/bindings/swig/proxy/swig_perl_external_runtime.swg
64         subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg
65         subversion/bindings/swig/proxy/rubyhead.swg
66         subversion/bindings/javahl/include/org_apache_subversion_javahl_CommitItemStateFlags.h
67         subversion/bindings/javahl/include/org_apache_subversion_javahl_NativeResources.h
68         subversion/bindings/javahl/include/org_apache_subversion_javahl_Path.h
69         subversion/bindings/javahl/include/org_apache_subversion_javahl_SVNRepos.h
70         subversion/bindings/javahl/include/org_apache_subversion_javahl_SVNClient.h
71         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_NativeInputStream.h
72         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_NativeOutputStream.h
73         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_Version.h
74         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended.h
75         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LinkedLib.h
76         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LinkedLibIterator.h
77         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LoadedLib.h
78         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LoadedLibIterator.h
79         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_RuntimeVersion.h
80         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_Revision.h
81         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_RevisionRangeList.h
82         subversion/bindings/javahl/include/org_apache_subversion_javahl_callback_UserPasswordCallback.h
83         subversion/bindings/javahl/include/org_apache_subversion_javahl_remote_RemoteSession.h
84         subversion/bindings/javahl/include/org_apache_subversion_javahl_remote_RemoteFactory.h
85         subversion/bindings/javahl/include/org_apache_subversion_javahl_remote_CommitEditor.h
86         subversion/bindings/javahl/include/org_apache_subversion_javahl_remote_StateReporter.h
87         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_ConfigImpl_Category.h
88         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_ConfigLib.h
89         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_DiffLib.h
90         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_PropLib.h
91         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_SubstLib.h
92         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_TunnelChannel.h
93         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_RequestChannel.h
94         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_ResponseChannel.h
95
96 test-scripts =
97         subversion/tests/cmdline/*_tests.py
98
99 bdb-test-scripts =
100
101 swig-python-opts = $(SWIG_FEATURES) -python $(SWIG_PY_FEATURES) -classic
102 swig-perl-opts = $(SWIG_FEATURES) -perl $(SWIG_PL_FEATURES) -nopm -noproxy
103 swig-ruby-opts = $(SWIG_FEATURES) -ruby $(SWIG_RB_FEATURES)
104 swig-languages = python perl ruby
105 swig-dirs = 
106         subversion/bindings/swig/python
107         subversion/bindings/swig/perl
108         subversion/bindings/swig/ruby
109         subversion/bindings/swig/proxy
110
111 swig-proxy-dir = subversion/bindings/swig/proxy
112 swig-checkout-files = common.swg swigrun.swg runtime.swg
113                       ruby/rubydef.swg ruby/rubyhead.swg ruby/rubytracking.swg
114                       perl5/perlrun.swg python/pyrun.swg python/python.swg
115
116 # ----------------------------------------------------------------------------
117 #
118 # BUILD TARGETS
119 #
120 # Target parameters:
121 #    description      - optional build target description
122 #    type             - the target type, defines how to build it
123 #    when             - the name of an autoconf-substed variable that muset be
124 #                       defined to either "true" or "false", that determines
125 #                       whether this target should be built and installed.
126 #    path             - relative path to target sources
127 #    sources          - explicit list of target sources
128 #    install          - the installation group/type
129 #    manpages         - the man pages associated with this target
130 #    libs             - libraries that this target depends on
131 #    nonlibs          - dependencies that are not linked into the target
132 #    lang             - bindings for language $(lang)
133 #    msvc-libs        - additional libraries to link with on Windows
134 #    msvc-export      - additional list of files to expose in dsp/vc(x)proj
135 #    msvc-static      - visual studio target produces only a static lib
136 #    msvc-force-static- visual studio always uses static libraries for svn libs
137 #    add-deps         - expands to additional autoconf-defined dependencies
138 #    add-install-deps - like add-deps, but for the install step
139 #    external-lib     - expands to additional autoconf-defined libs
140 #    external-project - visual studio project to depend on
141 #
142
143 # The subversion command-line client
144 [svn]
145 description = Subversion Client
146 type = exe
147 path = subversion/svn
148 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff libsvn_subr
149        apriconv apr
150 manpages = subversion/svn/svn.1
151 install = bin
152 msvc-libs = setargv.obj
153
154 # The subversion repository administration tool
155 [svnadmin]
156 description = Subversion Repository Administrator
157 type = exe
158 path = subversion/svnadmin
159 install = bin
160 manpages = subversion/svnadmin/svnadmin.1
161 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
162 msvc-libs = setargv.obj
163
164 # The subversion repository dump filtering tool
165 [svndumpfilter]
166 description = Subversion Dumpfile Filter
167 type = exe
168 path = subversion/svndumpfilter
169 install = bin
170 manpages = subversion/svndumpfilter/svndumpfilter.1
171 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
172
173 # The subversion repository inspection tool
174 [svnlook]
175 description = Subversion Repository Browser
176 type = exe
177 path = subversion/svnlook
178 install = bin
179 manpages = subversion/svnlook/svnlook.1
180 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_diff libsvn_subr apriconv apr
181
182 [svnserve]
183 description = Subversion Server
184 type = exe
185 path = subversion/svnserve
186 install = bin
187 manpages = subversion/svnserve/svnserve.8 subversion/svnserve/svnserve.conf.5
188 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr libsvn_ra_svn
189        apriconv apr sasl
190 msvc-libs = advapi32.lib ws2_32.lib
191
192 [svnsync]
193 description = Subversion repository replicator
194 type = exe
195 path = subversion/svnsync
196 libs = libsvn_ra libsvn_delta libsvn_subr apr
197 install = bin
198 manpages = subversion/svnsync/svnsync.1
199
200 [svnversion]
201 description = Subversion Revision Extractor
202 type = exe
203 path = subversion/svnversion
204 libs = libsvn_wc libsvn_subr apriconv apr
205 install = bin
206 manpages = subversion/svnversion/svnversion.1
207
208 [svnrdump]
209 description = Subversion remote repository dumper and loader
210 type = exe
211 path = subversion/svnrdump
212 libs = libsvn_client libsvn_ra libsvn_repos libsvn_delta libsvn_subr aprutil apr
213 install = bin
214 manpages = subversion/svnrdump/svnrdump.1
215
216 [svnmucc]
217 description = Subversion Multiple URL Command Client
218 type = exe
219 path = subversion/svnmucc
220 libs = libsvn_client libsvn_ra libsvn_subr libsvn_delta apriconv apr
221 install = bin
222 manpages = subversion/svnmucc/svnmucc.1
223
224 # Support for GNOME Keyring
225 [libsvn_auth_gnome_keyring]
226 description = Subversion GNOME Keyring Library
227 type = shared-only-lib
228 install = gnome-keyring-lib
229 path = subversion/libsvn_auth_gnome_keyring
230 libs = libsvn_subr apr gnome-keyring
231
232 # Support for KWallet
233 [libsvn_auth_kwallet]
234 description = Subversion KWallet Library
235 type = shared-only-cxx-lib
236 install = kwallet-lib
237 path = subversion/libsvn_auth_kwallet
238 libs = libsvn_subr apr kwallet
239 link-cmd = $(LINK_CXX_LIB)
240
241 # Library needed by all subversion clients
242 [libsvn_client]
243 description = Subversion Client Library
244 type = lib
245 path = subversion/libsvn_client
246 libs = libsvn_wc libsvn_ra libsvn_delta libsvn_diff libsvn_subr apriconv apr
247 install = lib
248 msvc-export = svn_client.h private/svn_client_mtcc.h private/svn_client_private.h
249
250 # Routines for binary diffing and tree-deltas
251 [libsvn_delta]
252 description = Subversion Delta Library
253 type = lib
254 install = fsmod-lib
255 path = subversion/libsvn_delta
256 libs = libsvn_subr aprutil apriconv apr zlib
257 msvc-export = svn_delta.h private/svn_editor.h private/svn_delta_private.h private/svn_element.h private/svn_branch.h private/svn_branch_compat.h private/svn_branch_impl.h private/svn_branch_nested.h private/svn_branch_repos.h
258
259 # Routines for diffing
260 [libsvn_diff]
261 description = Subversion Diff Library
262 type = lib
263 path = subversion/libsvn_diff
264 libs = libsvn_subr apriconv apr zlib
265 install = lib
266 msvc-export = svn_diff.h private/svn_diff_private.h private/svn_diff_tree.h
267
268 # The repository filesystem library
269 [libsvn_fs]
270 description = Subversion Repository Filesystem Library
271 type = lib
272 path = subversion/libsvn_fs
273 install = ramod-lib
274 libs = libsvn_fs_util libsvn_delta libsvn_subr fs-libs aprutil apr
275 # conditionally add more dependencies
276 add-deps = $(SVN_FS_LIB_DEPS)
277 add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
278 msvc-export = svn_fs.h private/svn_fs_private.h
279
280 [libsvn_fs_base]
281 description = Subversion Filesystem Base Library
282 type = fs-module
283 path = subversion/libsvn_fs_base
284 sources = *.c bdb/*.c util/*.c
285 install = bdb-lib
286 libs = libsvn_delta libsvn_subr aprutil apriconv apr bdb libsvn_fs_util
287 msvc-export = ../libsvn_fs_base/fs_init.h
288 msvc-delayload = yes
289
290 [libsvn_fs_fs]
291 description = Subversion FSFS Repository Filesystem Library
292 type = fs-module
293 path = subversion/libsvn_fs_fs
294 install = fsmod-lib
295 libs = libsvn_delta libsvn_subr aprutil apriconv apr libsvn_fs_util
296 msvc-export = private/svn_fs_fs_private.h ../libsvn_fs_fs/fs_init.h
297 msvc-delayload = yes
298
299 [libsvn_fs_x]
300 description = Subversion FSX Repository Filesystem Library
301 type = fs-module
302 path = subversion/libsvn_fs_x
303 install = fsmod-lib
304 libs = libsvn_delta libsvn_subr aprutil apriconv apr libsvn_fs_util
305 msvc-export = ../libsvn_fs_x/fs_init.h
306 msvc-delayload = yes
307
308 # Low-level grab bag of utilities
309 [libsvn_fs_util]
310 description = Subversion Filesystem Utility Library
311 type = lib
312 install = fsmod-lib
313 path = subversion/libsvn_fs_util
314 libs = libsvn_subr aprutil apriconv apr
315 msvc-libs = advapi32.lib shfolder.lib
316 msvc-export = private/svn_fs_util.h
317
318 # General API for accessing repositories
319 [libsvn_ra]
320 description = Subversion General Repository Access Library
321 type = lib
322 path = subversion/libsvn_ra
323 libs = libsvn_delta libsvn_subr ra-libs apriconv apr
324 # conditionally add more dependencies
325 add-deps = $(SVN_RA_LIB_DEPS)
326 add-install-deps = $(SVN_RA_LIB_INSTALL_DEPS)
327 install = lib
328 msvc-export = svn_ra.h private\svn_ra_private.h
329 msvc-delayload = yes
330
331 # Accessing repositories via DAV through serf
332 [libsvn_ra_serf]
333 description = Subversion HTTP/WebDAV Protocol Repository Access Library
334 type = ra-module
335 path = subversion/libsvn_ra_serf
336 install = serf-lib
337 libs = libsvn_delta libsvn_subr aprutil apriconv apr serf zlib
338 msvc-static = yes
339
340 # Accessing repositories via SVN
341 [libsvn_ra_svn]
342 description = Subversion SVN Protocol Repository Access Library
343 type = ra-module
344 path = subversion/libsvn_ra_svn
345 install = ramod-lib
346 libs = libsvn_delta libsvn_subr aprutil apriconv apr sasl
347 msvc-static = yes
348
349 # Accessing repositories via direct libsvn_fs
350 [libsvn_ra_local]
351 description = Subversion Local Repository Access Library
352 type = ra-module
353 path = subversion/libsvn_ra_local
354 install = ramod-lib
355 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
356 msvc-static = yes
357
358 # Routines built on top of libsvn_fs
359 [libsvn_repos]
360 description = Subversion Repository Library
361 type = lib
362 path = subversion/libsvn_repos
363 install = ramod-lib
364 libs = libsvn_fs libsvn_delta libsvn_subr apriconv apr
365 msvc-export = svn_repos.h  private/svn_repos_private.h ../libsvn_repos/authz.h
366
367 # Low-level grab bag of utilities
368 [libsvn_subr]
369 description = Subversion General Utility Library
370 type = lib
371 install = fsmod-lib
372 path = subversion/libsvn_subr
373 sources = *.c lz4/*.c
374 libs = aprutil apriconv apr xml zlib apr_memcache sqlite magic intl lz4 utf8proc
375 msvc-libs = kernel32.lib advapi32.lib shfolder.lib ole32.lib
376             crypt32.lib version.lib
377 msvc-export = 
378         svn_auth.h svn_base64.h svn_cache_config.h svn_checksum.h svn_cmdline.h
379         svn_compat.h svn_config.h svn_ctype.h svn_dirent_uri.h svn_dso.h 
380         svn_error.h svn_hash.h svn_io.h svn_iter.h svn_md5.h svn_mergeinfo.h 
381         svn_nls.h svn_opt.h svn_path.h svn_pools.h svn_props.h svn_quoprint.h 
382         svn_sorts.h svn_string.h svn_subst.h svn_time.h svn_types.h svn_user.h
383         svn_utf.h svn_version.h svn_xml.h svn_x509.h
384         private\svn_atomic.h private\svn_cache.h private\svn_cmdline_private.h
385         private\svn_debug.h private\svn_error_private.h private\svn_fspath.h
386         private\svn_log.h private\svn_mergeinfo_private.h
387         private\svn_opt_private.h private\svn_skel.h private\svn_sqlite.h
388         private\svn_utf_private.h private\svn_eol_private.h
389         private\svn_token.h  private\svn_adler32.h
390         private\svn_temp_serializer.h private\svn_io_private.h
391         private\svn_sorts_private.h private\svn_auth_private.h
392         private\svn_string_private.h private\svn_magic.h
393         private\svn_subr_private.h private\svn_mutex.h
394         private\svn_packed_data.h private\svn_object_pool.h private\svn_cert.h
395         private\svn_config_private.h
396
397 # Working copy management lib
398 [libsvn_wc]
399 description = Subversion Working Copy Library
400 type = lib
401 path = subversion/libsvn_wc
402 libs = libsvn_delta libsvn_diff libsvn_subr aprutil apriconv apr
403 install = lib
404 msvc-export = svn_wc.h private\svn_wc_private.h
405
406 # Subversion plugin for Apache's mod_dav
407 [mod_dav_svn]
408 description = Subversion plug-in for the Apache DAV module
409 when = INSTALL_APACHE_MODS
410 type = apache-mod
411 path = subversion/mod_dav_svn
412 sources = *.c reports/*.c posts/*.c
413 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr libhttpd mod_dav
414 nonlibs = apr aprutil
415 install = apache-mod
416
417 [mod_authz_svn]
418 description = Subversion path-based authorization module for Apache
419 when = INSTALL_APACHE_MODS
420 type = apache-mod
421 path = subversion/mod_authz_svn
422 nonlibs = mod_dav_svn apr aprutil
423 libs = libsvn_repos libsvn_subr libhttpd
424 install = apache-mod
425
426 [mod_dontdothat]
427 description = Apache Httpd module to block certain kinds of Apache Subversion requests
428 when = INSTALL_APACHE_MODS
429 type = apache-mod
430 path = tools/server-side/mod_dontdothat
431 nonlibs = mod_dav_svn apr aprutil
432 libs = libsvn_subr libhttpd
433 install = tools
434
435 # The Subversion FSFS repository manipulation tool
436 [svnfsfs]
437 description = Subversion FSFS Repository Manipulation Tool
438 type = exe
439 path = subversion/svnfsfs
440 install = bin
441 libs = libsvn_repos libsvn_fs libsvn_fs_fs libsvn_delta libsvn_subr apriconv apr
442
443 # ----------------------------------------------------------------------------
444 #
445 # CONSTRUCTED HEADERS
446 #
447
448 [rep_cache_fs_fs]
449 description = Schema for the FSFS rep-sharing feature
450 type = sql-header
451 path = subversion/libsvn_fs_fs
452 sources = rep-cache-db.sql
453
454 [rep_cache_fs_x]
455 description = Schema for the FSX rep-sharing feature
456 type = sql-header
457 path = subversion/libsvn_fs_x
458 sources = rep-cache-db.sql
459
460 [wc_queries]
461 desription = Queries on the WC database
462 type = sql-header
463 path = subversion/libsvn_wc
464 sources = wc-queries.sql
465
466 [subr_sqlite]
467 description = Internal statements for SQLite interface
468 type = sql-header
469 path = subversion/libsvn_subr
470 sources = internal_statements.sql
471
472 [wc_test_queries]
473 description = Queries using working copy tests
474 type = sql-header
475 path = subversion/tests/libsvn_wc
476 sources = wc-test-queries.sql
477
478 # ----------------------------------------------------------------------------
479 #
480 # TARGETS FOR I18N SUPPORT
481 #
482 [locale]
483 type = i18n
484 path = subversion/po
485 install = locale
486 external-project = svn_locale
487
488 # ----------------------------------------------------------------------------
489 #
490 # TARGETS FOR SWIG SUPPORT
491 #
492
493 [swig_core]
494 type = swig
495 path = subversion/bindings/swig
496 sources = core.i
497 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
498        libsvn_diff libsvn_subr apr
499 description = Subversion core library bindings
500
501 [swig_client]
502 type = swig
503 path = subversion/bindings/swig
504 sources = svn_client.i
505 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
506        libsvn_client libsvn_subr apr
507 nonlibs = swig_core
508 description = Subversion client library bindings
509
510 [swig_delta]
511 type = swig
512 path = subversion/bindings/swig
513 sources = svn_delta.i
514 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
515        libsvn_delta libsvn_subr apr
516 nonlibs = swig_core
517 description = Subversion delta library bindings
518
519 [swig_diff]
520 type = swig
521 path = subversion/bindings/swig
522 sources = svn_diff.i
523 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
524        libsvn_diff libsvn_subr apr
525 nonlibs = swig_core
526 description = Subversion diff library bindings
527
528 [swig_fs]
529 type = swig
530 path = subversion/bindings/swig
531 sources = svn_fs.i
532 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
533        libsvn_fs libsvn_subr apr
534 nonlibs = swig_core
535 description = Subversion FS library bindings
536
537 [swig_ra]
538 type = swig
539 path = subversion/bindings/swig
540 sources = svn_ra.i
541 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
542        libsvn_ra libsvn_subr apr
543 nonlibs = swig_core
544 description = Subversion RA library bindings
545
546 [swig_repos]
547 type = swig
548 path = subversion/bindings/swig
549 sources = svn_repos.i
550 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
551        libsvn_repos libsvn_subr apr
552 nonlibs = swig_core
553 description = Subversion repository library bindings
554
555 [swig_wc]
556 type = swig
557 path = subversion/bindings/swig
558 sources = svn_wc.i
559 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
560        libsvn_wc libsvn_subr apr
561 nonlibs = swig_core
562 description = Subversion WC library bindings
563
564 # SWIG utility library for Python modules
565 [libsvn_swig_py]
566 type = swig_lib
567 lang = python
568 path = subversion/bindings/swig/python/libsvn_swig_py
569 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr
570        apriconv apr python swig
571 link-cmd = $(LINK)
572 install = swig-py-lib
573 # need special build rule to include -DSWIGPYTHON
574 compile-cmd = $(COMPILE_SWIG_PY)
575 msvc-static = no
576 msvc-export = ../bindings/swig/python/libsvn_swig_py/swigutil_py.h
577 description = Subversion utility library for Python bindings
578
579 # SWIG utility library for Perl modules
580 [libsvn_swig_perl]
581 type = swig_lib
582 lang = perl
583 path = subversion/bindings/swig/perl/libsvn_swig_perl
584 libs = libsvn_delta libsvn_subr apriconv apr perl swig
585 install = swig-pl-lib
586 # need special build rule to include
587 compile-cmd = $(COMPILE_SWIG_PL)
588 msvc-static = no
589 msvc-export = ../bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h
590
591 # SWIG utility library for Ruby modules
592 [libsvn_swig_ruby]
593 type = swig_lib
594 lang = ruby
595 path = subversion/bindings/swig/ruby/libsvn_swig_ruby
596 libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr ruby swig
597 link-cmd = $(LINK) $(SWIG_RB_LIBS)
598 install = swig-rb-lib
599 # need special build rule to include
600 compile-cmd = $(COMPILE_SWIG_RB)
601 msvc-static = no
602 msvc-export = ../bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.h
603
604 # ----------------------------------------------------------------------------
605 #
606 # JavaHL targets
607 #
608 [javahl-java]
609 type = java
610 path = subversion/bindings/javahl/src/org/apache/subversion/javahl
611   subversion/bindings/javahl/src/org/apache/subversion/javahl/callback
612   subversion/bindings/javahl/src/org/apache/subversion/javahl/remote
613   subversion/bindings/javahl/src/org/apache/subversion/javahl/types
614   subversion/bindings/javahl/src/org/apache/subversion/javahl/util
615 src-root = subversion/bindings/javahl/src
616 sources = *.java
617 install = javahl-java
618 link-cmd = $(COMPILE_JAVAHL_JAVAC)
619 classes = subversion/bindings/javahl/classes
620 package-roots = org
621
622 [javahl-compat-java]
623 type = java
624 path = subversion/bindings/javahl/src/org/tigris/subversion/javahl
625 sources = *.java
626 install = javahl-java
627 link-cmd = $(COMPILE_JAVAHL_COMPAT_JAVAC)
628 classes = subversion/bindings/javahl/classes
629 add-deps = $(javahl_java_DEPS)
630 ### Replace JAR call in INSTALL_EXTRA_JAVAHL_JAVA macro Makefile.in.
631 #jar = svn-javahl.jar
632 package-roots = org
633
634 [javahl-tests]
635 type = java
636 path = subversion/bindings/javahl/tests/org/apache/subversion/javahl
637 sources = *.java
638 install = javahl-java
639 link-cmd = $(COMPILE_JAVAHL_JAVAC)
640 classes = subversion/bindings/javahl/classes
641 package-roots = org
642 ### Java targets don't do up-to-date checks yet.
643 #add-deps = javahl-java
644 add-deps = $(javahl_java_DEPS)
645
646 [javahl-compat-tests]
647 type = java
648 path = subversion/bindings/javahl/tests/org/tigris/subversion/javahl
649 sources = *.java
650 install = javahl-java
651 link-cmd = $(COMPILE_JAVAHL_COMPAT_JAVAC)
652 classes = subversion/bindings/javahl/classes
653 package-roots = org
654 ### Java targets don't do up-to-date checks yet.
655 #add-deps = javahl-compat-java
656 add-deps = $(javahl_compat_java_DEPS)
657
658 [javahl-callback-javah]
659 type = javah
660 path = subversion/bindings/javahl/src/org/apache/subversion/javahl/callback
661 classes = subversion/bindings/javahl/classes
662 headers = subversion/bindings/javahl/include
663 package = org.apache.subversion.javahl.callback
664 sources = *.java
665 add-deps = $(javahl_java_DEPS)
666 install = javahl-javah
667 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
668
669 [javahl-remote-javah]
670 type = javah
671 path = subversion/bindings/javahl/src/org/apache/subversion/javahl/remote
672 classes = subversion/bindings/javahl/classes
673 headers = subversion/bindings/javahl/include
674 package = org.apache.subversion.javahl.remote
675 sources = *.java
676 add-deps = $(javahl_java_DEPS)
677 install = javahl-javah
678 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
679
680 [javahl-types-javah]
681 type = javah
682 path = subversion/bindings/javahl/src/org/apache/subversion/javahl/types
683 classes = subversion/bindings/javahl/classes
684 headers = subversion/bindings/javahl/include
685 package = org.apache.subversion.javahl.types
686 sources = *.java
687 add-deps = $(javahl_java_DEPS)
688 install = javahl-javah
689 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
690
691 [javahl-util-javah]
692 type = javah
693 path = subversion/bindings/javahl/src/org/apache/subversion/javahl/util
694 classes = subversion/bindings/javahl/classes
695 headers = subversion/bindings/javahl/include
696 package = org.apache.subversion.javahl.util
697 sources = *.java
698 add-deps = $(javahl_java_DEPS)
699 install = javahl-javah
700 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
701
702 [javahl-javah]
703 type = javah
704 path = subversion/bindings/javahl/src/org/apache/subversion/javahl
705 classes = subversion/bindings/javahl/classes
706 headers = subversion/bindings/javahl/include
707 package = org.apache.subversion.javahl
708 sources = *.java
709 add-deps = $(javahl_java_DEPS)
710 install = javahl-javah
711 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
712
713 [libsvnjavahl]
714 description = Subversion Java HighLevel binding
715 type = lib
716 path = subversion/bindings/javahl/native
717 libs = libsvn_repos libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff 
718        libsvn_subr libsvn_fs aprutil apriconv apr java-sdk
719 sources = *.cpp jniwrapper/*.cpp
720 add-deps = $(javahl_java_DEPS) $(javahl_callback_javah_DEPS)
721            $(javahl_remote_javah_DEPS) $(javahl_types_javah_DEPS)
722            $(javahl_util_javah_DEPS) $(javahl_javah_DEPS)
723 install = javahl-lib
724 # need special build rule to include -I$(JDK)/include/jni.h
725 compile-cmd = $(COMPILE_JAVAHL_CXX)
726 link-cmd = $(LINK_JAVAHL_CXX)
727
728 # ----------------------------------------------------------------------------
729 #
730 # C++HL targets
731 #
732
733 [libsvncxxhl]
734 description = Subversion C++ HighLevel bindings
735 type = lib
736 path = subversion/bindings/cxxhl
737 libs = libsvn_repos libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff
738        libsvn_subr libsvn_fs aprutil apriconv apr
739 sources = src/*.cpp src/aprwrap/*.cpp
740 install = cxxhl-lib
741 msvc-static = yes
742 compile-cmd = $(COMPILE_CXXHL_CXX)
743 link-cmd = $(LINK_CXX_LIB)
744
745 [cxxhl-tests]
746 description = Unit tests for Subversion C++ HighLevel bindings
747 when = SVN_USE_GOOGLEMOCK
748 type = exe
749 path = subversion/bindings/cxxhl
750 libs = libsvncxxhl libgooglemock libsvn_subr apr
751 sources = tests/*.cpp
752 install = cxxhl-tests
753 compile-cmd = $(COMPILE_CXXHL_GOOGLEMOCK_CXX)
754 link-cmd = $(LINK_CXX)
755
756
757 # ----------------------------------------------------------------------------
758 #
759 # Googlemock targets
760 #
761
762 [libgooglemock]
763 description = Googlemock Library
764 when = SVN_USE_GOOGLEMOCK
765 type = lib
766 path = googlemock
767 sources = googletest/src/gtest-all.cc googlemock/src/gmock-all.cc
768 install = cxxhl-tests
769 msvc-static = yes
770 compile-cmd = $(COMPILE_GOOGLEMOCK_CXX)
771 link-cmd = $(LINK_CXX_LIB)
772
773 # ----------------------------------------------------------------------------
774 #
775 # TESTING TARGETS
776 #
777
778 # general library:  our C testing framework
779 [libsvn_test]
780 type = lib
781 path = subversion/tests
782 install = test
783 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr aprutil apriconv apr
784 msvc-static = yes
785 undefined-lib-symbols = yes
786
787 # ----------------------------------------------------------------------------
788 # Tests for libsvn_fs_base
789
790 [fs-base-test]
791 description = Tests for *public* fs API (svn_fs.h)
792 type = exe
793 path = subversion/tests/libsvn_fs_base
794 sources = fs-base-test.c
795 install = bdb-test
796 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
797        libsvn_fs_util libsvn_subr apriconv apr
798 msvc-force-static = yes
799
800 [strings-reps-test]
801 description = Test strings/reps in libsvn_fs_base
802 type = exe
803 path = subversion/tests/libsvn_fs_base
804 sources = strings-reps-test.c
805 install = bdb-test
806 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
807        libsvn_subr apriconv apr
808 msvc-force-static = yes
809
810 [changes-test]
811 description = Test changes in libsvn_fs_base
812 type = exe
813 path = subversion/tests/libsvn_fs_base
814 sources = changes-test.c
815 install = bdb-test
816 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
817        libsvn_subr apriconv apr
818 msvc-force-static = yes
819
820 # ----------------------------------------------------------------------------
821 # Tests for libsvn_fs_fs
822 [fs-fs-pack-test]
823 description = Test fsfs packing in libsvn_fs_fs
824 type = exe
825 path = subversion/tests/libsvn_fs_fs
826 sources = fs-fs-pack-test.c
827 install = test
828 libs = libsvn_test libsvn_fs libsvn_fs_fs libsvn_delta
829        libsvn_subr apriconv apr
830 msvc-force-static = yes
831
832 [fs-fs-fuzzy-test]
833 description = Use fuzzying to test FSFS corruption resilience
834 type = exe
835 path = subversion/tests/libsvn_fs_fs
836 sources = fs-fs-fuzzy-test.c
837 install = sub-test
838 libs = libsvn_test libsvn_fs libsvn_fs_fs libsvn_delta
839        libsvn_repos libsvn_subr apriconv apr
840 msvc-force-static = yes
841
842 [fs-fs-private-test]
843 description = Test FSSF private API
844 type = exe
845 path = subversion/tests/libsvn_fs_fs
846 sources = fs-fs-private-test.c
847 install = test
848 libs = libsvn_test libsvn_fs libsvn_fs_fs libsvn_delta
849        libsvn_repos libsvn_subr apriconv apr
850 msvc-force-static = yes
851
852 # ----------------------------------------------------------------------------
853 # Tests for libsvn_fs_x
854 [fs-x-pack-test]
855 description = Test fsx packing in libsvn_fs_x
856 type = exe
857 path = subversion/tests/libsvn_fs_x
858 sources = fs-x-pack-test.c
859 install = test
860 libs = libsvn_test libsvn_fs libsvn_fs_x libsvn_delta
861        libsvn_subr apriconv apr
862 msvc-force-static = yes
863
864 [string-table-test]
865 description = Test fsfs string tables
866 type = exe
867 path = subversion/tests/libsvn_fs_x
868 sources = string-table-test.c
869 install = test
870 libs = libsvn_test libsvn_fs_x libsvn_subr apr
871 msvc-force-static = yes
872
873 # ----------------------------------------------------------------------------
874 # Tests for libsvn_fs
875
876 [locks-test]
877 description = Test locks in libsvn_fs
878 type = exe
879 path = subversion/tests/libsvn_fs
880 sources = locks-test.c
881 install = test
882 libs = libsvn_test libsvn_fs libsvn_delta libsvn_subr apriconv apr
883 msvc-force-static = yes
884
885 [fs-test]
886 description = Tests in libsvn_fs
887 type = exe
888 path = subversion/tests/libsvn_fs
889 sources = fs-test.c
890 install = test
891 libs = libsvn_test libsvn_fs libsvn_delta
892        libsvn_fs_util libsvn_subr aprutil apriconv apr
893
894 [fs-sequential-test]
895 description = Tests in libsvn_fs run sequentially
896 type = exe
897 path = subversion/tests/libsvn_fs
898 sources = fs-sequential-test.c
899 install = test
900 libs = libsvn_test libsvn_fs libsvn_delta
901        libsvn_fs_util libsvn_subr aprutil apriconv apr
902
903 # ----------------------------------------------------------------------------
904 # Tests for libsvn_repos
905
906 [authz-test]
907 description = Test authz parsing in libsvn_repos
908 type = exe
909 path = subversion/tests/libsvn_repos
910 sources = authz-test.c
911 install = test
912 libs = libsvn_test libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
913
914 [repos-test]
915 description = Test delta editor in libsvn_repos
916 type = exe
917 path = subversion/tests/libsvn_repos
918 sources = repos-test.c dir-delta-editor.c
919 install = test
920 libs = libsvn_test libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
921
922 [dump-load-test]
923 description = Test dumping/loading repositories in libsvn_repos
924 type = exe
925 path = subversion/tests/libsvn_repos
926 sources = dump-load-test.c
927 install = test
928 libs = libsvn_test libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
929
930 # ----------------------------------------------------------------------------
931 # Tests for libsvn_subr
932
933 [auth-test]
934 description = Test platform-specific auth provider access
935 type = exe
936 path = subversion/tests/libsvn_subr
937 sources = auth-test.c
938 install = test
939 libs = libsvn_test libsvn_subr apr
940
941 [bit-array-test]
942 description = Test packed bit arrays
943 type = exe
944 path = subversion/tests/libsvn_subr
945 sources = bit-array-test.c
946 install = test
947 libs = libsvn_test libsvn_subr apr
948
949 [cache-test]
950 description = Test in-memory cache
951 type = exe
952 path = subversion/tests/libsvn_subr
953 sources = cache-test.c
954 install = test
955 libs = libsvn_test libsvn_subr apr
956
957 [checksum-test]
958 description = Test checksum functions
959 type = exe
960 path = subversion/tests/libsvn_subr
961 sources = checksum-test.c
962 install = test
963 libs = libsvn_test libsvn_subr apr zlib
964 msvc-force-static = yes
965
966 [compat-test]
967 description = Test compatibility functions
968 type = exe
969 path = subversion/tests/libsvn_subr
970 sources = compat-test.c
971 install = test
972 libs = libsvn_test libsvn_subr apr
973
974 [config-test]
975 description = Test svn_config utilities
976 type = exe
977 path = subversion/tests/libsvn_subr
978 sources = config-test.c
979 install = test
980 libs = libsvn_test libsvn_subr apriconv apr
981
982 [crypto-test]
983 description = Test svn_crypto utilities
984 type = exe
985 path = subversion/tests/libsvn_subr
986 sources = crypto-test.c
987 install = test
988 libs = libsvn_test libsvn_subr aprutil apr
989 msvc-force-static = yes
990
991 [dirent_uri-test]
992 description = Test dirent_uri library
993 type = exe
994 path = subversion/tests/libsvn_subr
995 sources = dirent_uri-test.c
996 install = test
997 libs = libsvn_test libsvn_subr apriconv apr
998
999 [error-test]
1000 description = Test error library
1001 type = exe
1002 path = subversion/tests/libsvn_subr
1003 sources = error-test.c
1004 install = test
1005 libs = libsvn_test libsvn_subr apriconv apr
1006
1007 [error-code-test]
1008 description = Test error library
1009 type = exe
1010 path = subversion/tests/libsvn_subr
1011 sources = error-code-test.c
1012 install = test
1013 libs = libsvn_test libsvn_subr apriconv apr
1014
1015 [hashdump-test]
1016 description = Test hashfile format for props
1017 type = exe
1018 path = subversion/tests/libsvn_subr
1019 sources = hashdump-test.c
1020 install = test
1021 libs = libsvn_test libsvn_subr apriconv apr
1022
1023 [io-test]
1024 description = Test I/O Operations
1025 type = exe
1026 path = subversion/tests/libsvn_subr
1027 sources = io-test.c
1028 install = test
1029 libs = libsvn_test libsvn_subr apriconv apr
1030
1031 [opt-test]
1032 description = Test options library
1033 type = exe
1034 path = subversion/tests/libsvn_subr
1035 sources = opt-test.c
1036 install = test
1037 libs = libsvn_test libsvn_subr apr
1038
1039 [mergeinfo-test]
1040 description = Test mergeinfo library
1041 type = exe
1042 path = subversion/tests/libsvn_subr
1043 sources = mergeinfo-test.c
1044 install = test
1045 libs = libsvn_test libsvn_subr apr
1046
1047 [packed-data-test]
1048 description = Test path library
1049 type = exe
1050 path = subversion/tests/libsvn_subr
1051 sources = packed-data-test.c
1052 install = test
1053 libs = libsvn_test libsvn_subr apriconv apr
1054
1055 [path-test]
1056 description = Test path library
1057 type = exe
1058 path = subversion/tests/libsvn_subr
1059 sources = path-test.c
1060 install = test
1061 libs = libsvn_test libsvn_subr apriconv apr
1062
1063 [prefix-string-test]
1064 description = Test path library
1065 type = exe
1066 path = subversion/tests/libsvn_subr
1067 sources = prefix-string-test.c
1068 install = test
1069 libs = libsvn_test libsvn_subr apriconv apr
1070
1071 [priority-queue-test]
1072 description = Test path library
1073 type = exe
1074 path = subversion/tests/libsvn_subr
1075 sources = priority-queue-test.c
1076 install = test
1077 libs = libsvn_test libsvn_subr apriconv apr
1078
1079 [revision-test]
1080 description = Test revision library
1081 type = exe
1082 path = subversion/tests/libsvn_subr
1083 sources = revision-test.c
1084 install = test
1085 libs = libsvn_test libsvn_subr apr
1086
1087 [root-pools-test]
1088 description = Test time functions
1089 type = exe
1090 path = subversion/tests/libsvn_subr
1091 sources = root-pools-test.c
1092 install = test
1093 libs = libsvn_test libsvn_subr apriconv apr
1094
1095 [skel-test]
1096 description = Test skels in libsvn_subr
1097 type = exe
1098 path = subversion/tests/libsvn_subr
1099 sources = skel-test.c
1100 install = test
1101 libs = libsvn_test libsvn_subr apriconv apr
1102
1103 [spillbuf-test]
1104 description = Test spillbuf in libsvn_subr
1105 type = exe
1106 path = subversion/tests/libsvn_subr
1107 sources = spillbuf-test.c
1108 install = test
1109 libs = libsvn_test libsvn_subr apriconv apr
1110
1111 [stream-test]
1112 description = Test stream library
1113 type = exe
1114 path = subversion/tests/libsvn_subr
1115 sources = stream-test.c
1116 install = test
1117 libs = libsvn_test libsvn_subr apriconv apr
1118
1119 [string-test]
1120 description = Test svn_stringbuf_t utilities
1121 type = exe
1122 path = subversion/tests/libsvn_subr
1123 sources = string-test.c
1124 install = test
1125 libs = libsvn_test libsvn_subr apriconv apr
1126
1127 [sqlite-test]
1128 description = Test stream library
1129 type = exe
1130 path = subversion/tests/libsvn_subr
1131 sources = sqlite-test.c
1132 install = test
1133 libs = libsvn_test libsvn_subr apriconv apr
1134
1135 [time-test]
1136 description = Test time functions
1137 type = exe
1138 path = subversion/tests/libsvn_subr
1139 sources = time-test.c
1140 install = test
1141 libs = libsvn_test libsvn_subr apriconv apr
1142
1143 [utf-test]
1144 description = Test UTF-8 functions
1145 type = exe
1146 path = subversion/tests/libsvn_subr
1147 sources = utf-test.c
1148 install = test
1149 libs = libsvn_test libsvn_subr apriconv apr
1150
1151 [subst_translate-test]
1152 description = Test the svn_subst_translate* functions
1153 type = exe
1154 path = subversion/tests/libsvn_subr
1155 sources = subst_translate-test.c
1156 install = test
1157 libs = libsvn_test libsvn_subr apriconv apr
1158
1159 [translate-test]
1160 description = Test eol conversion and keyword substitution routines
1161 type = exe
1162 path = subversion/tests/libsvn_subr
1163 sources = translate-test.c
1164 install = test
1165 libs = libsvn_test libsvn_subr apriconv apr
1166
1167 [x509-test]
1168 description = Test x509 parser
1169 type = exe
1170 path = subversion/tests/libsvn_subr
1171 sources = x509-test.c
1172 install = test
1173 libs = libsvn_test libsvn_subr apriconv apr
1174
1175 [xml-test]
1176 description = Test XML parser in libsvn_subr
1177 type = exe
1178 path = subversion/tests/libsvn_subr
1179 sources = xml-test.c
1180 install = test
1181 libs = libsvn_test libsvn_subr apriconv apr
1182
1183 [compress-test]
1184 description = Test compression functions
1185 type = exe
1186 path = subversion/tests/libsvn_subr
1187 sources = compress-test.c
1188 install = test
1189 libs = libsvn_test libsvn_subr apr
1190
1191 # ----------------------------------------------------------------------------
1192 # Tests for libsvn_delta
1193
1194 [random-test]
1195 description = Use random data to test delta processing
1196 type = exe
1197 path = subversion/tests/libsvn_delta
1198 sources = random-test.c
1199 install = test
1200 libs = libsvn_test libsvn_delta libsvn_subr apriconv apr
1201
1202 [window-test]
1203 description = Test delta window generation
1204 type = exe
1205 path = subversion/tests/libsvn_delta
1206 sources = window-test.c
1207 install = test
1208 libs = libsvn_test libsvn_delta libsvn_subr apriconv apr
1209
1210 [svndiff-stream-test]
1211 description = Test svndiff streams
1212 type = exe
1213 path = subversion/tests/libsvn_delta
1214 sources = svndiff-stream-test.c
1215 install = test
1216 libs = libsvn_test libsvn_delta libsvn_subr apriconv apr
1217
1218 # ----------------------------------------------------------------------------
1219 # Tests for libsvn_client
1220
1221 [client-test]
1222 description = Test low-level functionality in libsvn_client
1223 type = exe
1224 path = subversion/tests/libsvn_client
1225 sources = client-test.c
1226 install = test
1227 libs = libsvn_test libsvn_client libsvn_wc libsvn_repos libsvn_ra libsvn_fs libsvn_delta libsvn_subr apriconv apr
1228 msvc-force-static = yes
1229
1230 [mtcc-test]
1231 description = Test Multi Command Context
1232 type = exe
1233 path = subversion/tests/libsvn_client
1234 sources = mtcc-test.c
1235 install = test
1236 libs = libsvn_test libsvn_client libsvn_wc libsvn_repos libsvn_ra libsvn_fs libsvn_delta libsvn_subr apriconv apr
1237
1238 [conflicts-test]
1239 description = Test libsvn_client conflict resolver
1240 type = exe
1241 path = subversion/tests/libsvn_client
1242 sources = conflicts-test.c ../libsvn_wc/utils.c
1243 install = test
1244 libs = libsvn_test libsvn_client libsvn_wc libsvn_repos libsvn_ra libsvn_fs libsvn_delta libsvn_subr apriconv apr
1245 msvc-force-static = yes
1246
1247 # ----------------------------------------------------------------------------
1248 # Tests for libsvn_diff
1249
1250 [diff-diff3-test]
1251 description = Test the diff/diff3 library
1252 type = exe
1253 path = subversion/tests/libsvn_diff
1254 sources = diff-diff3-test.c
1255 install = test
1256 libs = libsvn_test libsvn_diff libsvn_subr apriconv apr
1257
1258 [parse-diff-test]
1259 description = Test unidiff parsing
1260 type = exe
1261 path = subversion/tests/libsvn_diff
1262 sources = parse-diff-test.c
1263 install = test
1264 libs = libsvn_test libsvn_diff libsvn_subr apriconv apr
1265
1266 # ----------------------------------------------------------------------------
1267 # Tests for libsvn_ra
1268
1269 [ra-test]
1270 description = Test a few things in libsvn_ra
1271 type = exe
1272 path = subversion/tests/libsvn_ra
1273 sources = ra-test.c
1274 install = test
1275 libs = libsvn_test libsvn_ra libsvn_ra_svn libsvn_fs libsvn_delta libsvn_subr
1276        apriconv apr
1277
1278 # ----------------------------------------------------------------------------
1279 # Tests for libsvn_ra_local
1280
1281 [ra-local-test]
1282 description = Test a few things in libsvn_ra_local
1283 type = exe
1284 path = subversion/tests/libsvn_ra_local
1285 sources = ra-local-test.c
1286 install = test
1287 libs = libsvn_test libsvn_ra_local libsvn_ra libsvn_fs libsvn_delta libsvn_subr
1288        apriconv apr
1289
1290 # ----------------------------------------------------------------------------
1291 # Tests for libsvn_wc
1292
1293 [conflict-data-test]
1294 description = Test the storage of tree conflict data
1295 type = exe
1296 path = subversion/tests/libsvn_wc
1297 sources = conflict-data-test.c utils.c
1298 install = test
1299 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1300 msvc-force-static = yes
1301
1302 [db-test]
1303 description = Test the wc-ng database subsystem
1304 type = exe
1305 path = subversion/tests/libsvn_wc
1306 sources = db-test.c utils.c
1307 install = test
1308 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1309 msvc-force-static = yes
1310
1311 [pristine-store-test]
1312 description = Test the wc-ng pristine text storage subsystem
1313 type = exe
1314 path = subversion/tests/libsvn_wc
1315 sources = pristine-store-test.c utils.c
1316 install = test
1317 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1318 msvc-force-static = yes
1319
1320 [entries-compat-test]
1321 description = Test backwards compat for the entry interface
1322 type = exe
1323 path = subversion/tests/libsvn_wc
1324 sources = entries-compat.c utils.c
1325 install = test
1326 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1327 msvc-force-static = yes
1328
1329 [op-depth-test]
1330 description = Test layered tree changes
1331 type = exe
1332 path = subversion/tests/libsvn_wc
1333 sources = op-depth-test.c utils.c
1334 install = test
1335 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1336 msvc-force-static = yes
1337
1338 [wc-queries-test]
1339 description = Test Sqlite query evaluation
1340 type = exe
1341 path = subversion/tests/libsvn_wc
1342 sources = wc-queries-test.c ../../libsvn_subr/sqlite3wrapper.c
1343 install = test
1344 libs = libsvn_test libsvn_subr apriconv apr sqlite
1345
1346 [wc-test]
1347 description = Test the main WC API functions
1348 type = exe
1349 path = subversion/tests/libsvn_wc
1350 sources = wc-test.c utils.c
1351 install = test
1352 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1353 msvc-force-static = yes
1354
1355 # ----------------------------------------------------------------------------
1356 # These are not unit tests at all, they are small programs that exercise
1357 # parts of the libsvn_delta API from the command line.  They are stuck here
1358 # because of some historical association with the test-suite, but should
1359 # really be put somewhere else.
1360
1361 # test our textdelta encoding
1362 [svndiff-test]
1363 type = exe
1364 path = subversion/tests/libsvn_delta
1365 sources = svndiff-test.c
1366 install = test
1367 libs = libsvn_delta libsvn_subr apriconv apr
1368 testing = skip
1369
1370 # compare two files, print txdelta windows
1371 [vdelta-test]
1372 type = exe
1373 path = subversion/tests/libsvn_delta
1374 sources = vdelta-test.c
1375 install = test
1376 libs = libsvn_delta libsvn_subr apriconv apr
1377 testing = skip
1378
1379 [entries-dump]
1380 type = exe
1381 path = subversion/tests/cmdline
1382 sources = entries-dump.c
1383 install = test
1384 libs = libsvn_wc libsvn_subr apriconv apr
1385 msvc-force-static = yes
1386 testing = skip
1387
1388 [atomic-ra-revprop-change]
1389 type = exe
1390 path = subversion/tests/cmdline
1391 sources = atomic-ra-revprop-change.c
1392 install = test
1393 libs = libsvn_ra libsvn_subr apriconv apr
1394 testing = skip
1395
1396 [lock-helper]
1397 type = exe
1398 path = subversion/tests/cmdline
1399 sources = lock-helper.c
1400 install = test
1401 libs = libsvn_fs libsvn_subr apriconv apr
1402 testing = skip
1403
1404 [wc-lock-tester]
1405 type = exe
1406 path = subversion/tests/libsvn_wc
1407 sources = wc-lock-tester.c
1408 install = test
1409 libs = libsvn_wc libsvn_subr apriconv apr
1410 msvc-force-static = yes
1411 testing = skip
1412
1413 [wc-incomplete-tester]
1414 type = exe
1415 path = subversion/tests/libsvn_wc
1416 sources = wc-incomplete-tester.c
1417 install = test
1418 libs = libsvn_wc libsvn_subr apriconv apr
1419 msvc-force-static = yes
1420 testing = skip
1421
1422 [svn-wc-db-tester]
1423 type = exe
1424 path = tools/dev/wc-ng
1425 sources = svn-wc-db-tester.c
1426 install = test
1427 libs = libsvn_wc libsvn_subr apr
1428 msvc-force-static = yes
1429 testing = skip
1430
1431 # ----------------------------------------------------------------------------
1432 #
1433 # EXTERNAL TARGETS (NO BUILD NEEDED)
1434 #
1435
1436 [apr]
1437 type = lib
1438 external-lib = $(SVN_APR_LIBS)
1439 msvc-libs = ws2_32.lib rpcrt4.lib mswsock.lib
1440 pkg-config = apr-@SVN_APR_MAJOR_VERSION@
1441
1442 [aprutil]
1443 type = lib
1444 external-lib = $(SVN_APRUTIL_LIBS)
1445 pkg-config = apr-util-@SVN_APR_MAJOR_VERSION@
1446
1447 [apriconv]
1448 type = lib
1449 external-lib = $(SVN_APRUTIL_LIBS)
1450
1451 [libhttpd]
1452 type = lib
1453 external-lib = $(SVN_HTTPD_LIBS)
1454
1455 [mod_dav]
1456 type = lib
1457 external-lib = $(SVN_MOD_DAV_LIBS)
1458
1459 [bdb]
1460 type = lib
1461 external-lib = $(SVN_DB_LIBS)
1462
1463 [gnome-keyring]
1464 type = lib
1465 external-lib = $(SVN_GNOME_KEYRING_LIBS)
1466 pkg-config = gnome-keyring-1
1467
1468 [kwallet]
1469 type = lib
1470 external-lib = $(SVN_KWALLET_LIBS)
1471
1472 [magic]
1473 type = lib
1474 external-lib = $(SVN_MAGIC_LIBS)
1475
1476 [sasl]
1477 type = lib
1478 external-lib = $(SVN_SASL_LIBS)
1479
1480 [openssl]
1481 type = lib
1482 external-lib = $(SVN_OPENSSL_LIBS) $(SVN_LIBCRYPTO_LIBS)
1483
1484 [intl]
1485 type = lib
1486 external-lib = $(SVN_INTL_LIBS)
1487
1488 [zlib]
1489 type = lib
1490 external-lib = $(SVN_ZLIB_LIBS)
1491 msvc-static = yes
1492
1493 [lz4]
1494 type = lib
1495 external-lib = $(SVN_LZ4_LIBS)
1496
1497 [utf8proc]
1498 type = lib
1499 external-lib = $(SVN_UTF8PROC_LIBS)
1500
1501 [apr_memcache]
1502 type = lib
1503 external-lib = $(SVN_APR_MEMCACHE_LIBS)
1504
1505 [serf]
1506 type = lib
1507 external-lib = $(SVN_SERF_LIBS)
1508 libs = apr aprutil openssl zlib
1509 msvc-libs = secur32.lib
1510 pkg-config = serf-1
1511 pkg-config-private = yes
1512
1513 [sqlite]
1514 type = lib
1515 external-lib = $(SVN_SQLITE_LIBS)
1516 pkg-config = sqlite3
1517 pkg-config-private = yes
1518
1519 [xml]
1520 type = lib
1521 external-lib = $(SVN_XML_LIBS)
1522
1523 [swig]
1524 type = lib
1525 external-lib = $(SVN_SWIG_LIBS)
1526
1527 [perl]
1528 type = lib
1529 external-lib = $(SVN_PERL_LIBS)
1530
1531 [python]
1532 type = lib
1533 external-lib = $(SVN_PYTHON_LIBS)
1534
1535 [ruby]
1536 type = lib
1537 external-lib = $(SVN_RUBY_LIBS)
1538
1539 [java-sdk]
1540 type = lib
1541 external-lib = $(SVN_JAVA_SDK_LIBS)
1542
1543 [ra-libs]
1544 type = lib
1545 external-lib = $(SVN_RA_LIB_LINK)
1546 libs = libsvn_ra_serf libsvn_ra_local libsvn_ra_svn
1547
1548 [fs-libs]
1549 type = lib
1550 external-lib = $(SVN_FS_LIB_LINK)
1551 libs = libsvn_fs_base libsvn_fs_fs libsvn_fs_x
1552
1553 [__ALL__]
1554 type = project
1555 path = build/win32
1556 libs = svn svnadmin svndumpfilter svnlook svnmucc svnserve svnrdump svnsync
1557        svnversion
1558        mod_authz_svn mod_dav_svn mod_dontdothat
1559        svnauthz svnauthz-validate svnraisetreeconflict
1560        svnfsfs svnbench svnmover
1561
1562 [__ALL_TESTS__]
1563 type = project
1564 path = build/win32
1565 libs = __ALL__
1566        fs-test fs-base-test fs-fsfs-test fs-fs-pack-test fs-fs-fuzzy-test
1567        fs-fs-private-test fs-x-pack-test string-table-test fs-sequential-test
1568        skel-test strings-reps-test changes-test locks-test
1569        repos-test authz-test dump-load-test
1570        checksum-test compat-test config-test hashdump-test mergeinfo-test
1571        opt-test packed-data-test path-test prefix-string-test
1572        priority-queue-test root-pools-test stream-test
1573        string-test time-test utf-test bit-array-test
1574        error-test error-code-test cache-test spillbuf-test crypto-test
1575        revision-test
1576        subst_translate-test io-test
1577        translate-test
1578        random-test window-test
1579        diff-diff3-test
1580        ra-test
1581        ra-local-test
1582        sqlite-test
1583        svndiff-test vdelta-test
1584        entries-dump atomic-ra-revprop-change wc-lock-tester wc-incomplete-tester
1585        lock-helper
1586        client-test conflicts-test mtcc-test
1587        conflict-data-test db-test pristine-store-test entries-compat-test
1588        op-depth-test dirent_uri-test wc-queries-test wc-test
1589        auth-test
1590        parse-diff-test x509-test xml-test afl-x509 compress-test
1591        svndiff-stream-test
1592
1593 [__MORE__]
1594 type = project
1595 path = build/win32
1596 libs = __ALL_TESTS__
1597        diff diff3 diff4 fsfs-access-map
1598        svn-populate-node-origins-index x509-parser svn-wc-db-tester
1599        svn-mergeinfo-normalizer svnconflict
1600
1601 [__LIBS__]
1602 type = project
1603 path = build/win32
1604 libs = fs-libs ra-libs libsvn_client libsvn_subr libsvn_wc
1605        aprutil apriconv apr
1606
1607 [__CONFIG__]
1608 type = lib
1609 external-project = svn_config
1610
1611 [__SWIG_PYTHON__]
1612 type = swig_project
1613 path = build/win32
1614 libs = swig_client swig_delta swig_diff swig_fs swig_ra swig_repos swig_wc swig_core
1615 lang = python
1616
1617 [__SWIG_PERL__]
1618 type = swig_project
1619 path = build/win32
1620 libs = swig_client swig_delta swig_diff swig_fs swig_ra swig_repos swig_wc swig_core
1621 lang = perl
1622
1623 [__SWIG_RUBY__]
1624 type = swig_project
1625 path = build/win32
1626 libs = swig_client swig_delta swig_diff swig_fs swig_ra swig_repos swig_wc swig_core
1627 lang = ruby
1628
1629 [__JAVAHL__]
1630 type = project
1631 path = build/win32
1632 libs = javahl-java javahl-javah libsvnjavahl
1633
1634 [__JAVAHL_TESTS__]
1635 type = project
1636 path = build/win32
1637 libs = __JAVAHL__ javahl-tests javahl-compat-tests
1638
1639 # ----------------------------------------------------------------------------
1640 # Contrib and tools
1641
1642 [fsfs-access-map]
1643 type = exe
1644 path = tools/dev
1645 sources = fsfs-access-map.c
1646 install = tools
1647 libs = libsvn_subr apr
1648
1649 [diff]
1650 type = exe
1651 path = tools/diff
1652 sources = diff.c
1653 install = tools
1654 libs = libsvn_diff libsvn_subr apriconv apr
1655
1656 [diff3]
1657 type = exe
1658 path = tools/diff
1659 sources = diff3.c
1660 install = tools
1661 libs = libsvn_diff libsvn_subr apriconv apr
1662
1663 [diff4]
1664 type = exe
1665 path = tools/diff
1666 sources = diff4.c
1667 install = tools
1668 libs = libsvn_diff libsvn_subr apriconv apr
1669
1670 [svnbench]
1671 description = Benchmarking and diagnostics tool for the network layer
1672 type = exe
1673 path = subversion/svnbench
1674 install = bin
1675 libs = libsvn_client libsvn_wc libsvn_ra libsvn_subr libsvn_delta
1676        apriconv apr
1677
1678 [svnauthz]
1679 description = Authz config file tool
1680 type = exe
1681 path = tools/server-side
1682 sources = svnauthz.c
1683 install = tools
1684 libs = libsvn_repos libsvn_fs libsvn_subr apr
1685
1686 # svnauthz-validate is the compat mode of the new svnauthz tool.  It is
1687 # exactly the same code as svnauthz.  This duplicated target is needed
1688 # in order to easily test both commands as part of the build since libtool
1689 # does not provide a way to set argv[0] different from the commands actual
1690 # name in the wrapper script.
1691 [svnauthz-validate]
1692 description = Authz config file validator
1693 type = exe
1694 path = tools/server-side
1695 sources = svnauthz.c
1696 install = tools
1697 libs = libsvn_repos libsvn_fs libsvn_subr apr
1698
1699 [svn-populate-node-origins-index]
1700 description = Tool to populate the node origins index of a repository
1701 type = exe
1702 path = tools/server-side
1703 sources = svn-populate-node-origins-index.c
1704 install = tools
1705 libs = libsvn_repos libsvn_fs libsvn_subr apr
1706
1707 [svnraisetreeconflict]
1708 description = Tool to Flag a Tree Conflict
1709 type = exe
1710 path = tools/dev/svnraisetreeconflict
1711 libs = libsvn_wc libsvn_subr apriconv apr
1712 install = tools
1713
1714 [svn-mergeinfo-normalizer]
1715 type = exe
1716 path = tools/client-side/svn-mergeinfo-normalizer
1717 install = tools
1718 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff libsvn_subr
1719        apriconv apr
1720
1721 [x509-parser]
1722 description = Tool to verify x509 certificates
1723 type = exe
1724 path = tools/dev
1725 sources = x509-parser.c
1726 install = tools
1727 libs = libsvn_subr apr
1728
1729 [svnmover]
1730 description = Subversion Mover Command Client
1731 type = exe
1732 path = tools/dev/svnmover
1733 sources = *.c
1734 libs = libsvn_client libsvn_ra libsvn_subr libsvn_delta apriconv apr
1735 install = tools
1736
1737 [svnconflict]
1738 type = exe
1739 path = tools/client-side/svnconflict
1740 install = tools
1741 libs = libsvn_client libsvn_wc libsvn_ra libsvn_subr apriconv apr
1742
1743 [afl-x509]
1744 description = AFL fuzzer for x509 parser
1745 type = exe
1746 path = subversion/tests/afl
1747 sources = afl-x509.c
1748 install = test
1749 libs = libsvn_subr apr
1750 testing = skip