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