2 # build.conf -- configuration information for building Subversion
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
13 # http://www.apache.org/licenses/LICENSE-2.0
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
21 ######################################################################
23 # This file is processed by gen-make.py, creating build-outputs.mk
26 # ----------------------------------------------------------------------------
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.
35 includes = subversion/include/*.h
36 include-wildcards = *.h *.i *.swg
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 private-built-includes =
44 subversion/svn_private_config.h
45 subversion/libsvn_fs_fs/rep-cache-db.h
46 subversion/libsvn_wc/wc-metadata.h
47 subversion/libsvn_wc/wc-queries.h
48 subversion/libsvn_wc/wc-checks.h
49 subversion/libsvn_subr/internal_statements.h
50 subversion/bindings/swig/proxy/swig_python_external_runtime.swg
51 subversion/bindings/swig/proxy/swig_perl_external_runtime.swg
52 subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg
53 subversion/bindings/swig/proxy/rubyhead.swg
54 subversion/bindings/javahl/include/org_apache_subversion_javahl_CommitItemStateFlags.h
55 subversion/bindings/javahl/include/org_apache_subversion_javahl_NativeResources.h
56 subversion/bindings/javahl/include/org_apache_subversion_javahl_Path.h
57 subversion/bindings/javahl/include/org_apache_subversion_javahl_SVNRepos.h
58 subversion/bindings/javahl/include/org_apache_subversion_javahl_SVNClient.h
59 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_Version.h
60 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended.h
61 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LinkedLib.h
62 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LinkedLibIterator.h
63 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LoadedLib.h
64 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LoadedLibIterator.h
65 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_Revision.h
66 subversion/bindings/javahl/include/org_apache_subversion_javahl_callback_UserPasswordCallback.h
70 subversion/tests/cmdline/*_tests.py
74 swig-python-opts = $(CPPFLAGS) -python -classic
75 swig-perl-opts = $(CPPFLAGS) -perl -nopm -noproxy
76 swig-ruby-opts = $(CPPFLAGS) -ruby
77 swig-languages = python perl ruby
79 subversion/bindings/swig/python
80 subversion/bindings/swig/perl
81 subversion/bindings/swig/ruby
82 subversion/bindings/swig/proxy
84 swig-proxy-dir = subversion/bindings/swig/proxy
85 swig-checkout-files = common.swg swigrun.swg runtime.swg
86 ruby/rubydef.swg ruby/rubyhead.swg ruby/rubytracking.swg
87 perl5/perlrun.swg python/pyrun.swg python/python.swg
89 # ----------------------------------------------------------------------------
94 # description - optional build target description
95 # type - the target type, defines how to build it
96 # when - the name of an autoconf-substed variable that muset be
97 # defined to either "true" or "false", that determines
98 # whether this target should be built and installed.
99 # path - relative path to target sources
100 # sources - explicit list of target sources
101 # install - the installation group/type
102 # manpages - the man pages associated with this target
103 # libs - libraries that this target depends on
104 # nonlibs - dependencies that are not linked into the target
105 # lang - bindings for language $(lang)
106 # msvc-libs - additional libraries to link with on Windows
107 # msvc-export - additional list of files to expose in dsp/vc(x)proj
108 # msvc-static - visual studio target produces only a static lib
109 # add-deps - expands to additional autoconf-defined dependencies
110 # add-install-deps - like add-deps, but for the install step
111 # external-lib - expands to additional autoconf-defined libs
112 # external-project - visual studio project to depend on
115 # The subversion command-line client
117 description = Subversion Client
119 path = subversion/svn
120 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff libsvn_subr
122 manpages = subversion/svn/svn.1
125 # The subversion repository administration tool
127 description = Subversion Repository Administrator
129 path = subversion/svnadmin
131 manpages = subversion/svnadmin/svnadmin.1
132 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
134 # The subversion repository dump filtering tool
136 description = Subversion Dumpfile Filter
138 path = subversion/svndumpfilter
140 manpages = subversion/svndumpfilter/svndumpfilter.1
141 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
143 # The subversion repository inspection tool
145 description = Subversion Repository Browser
147 path = subversion/svnlook
149 manpages = subversion/svnlook/svnlook.1
150 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_diff libsvn_subr apriconv apr
153 description = Subversion Server
155 path = subversion/svnserve
157 manpages = subversion/svnserve/svnserve.8 subversion/svnserve/svnserve.conf.5
158 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr libsvn_ra_svn
160 msvc-libs = advapi32.lib ws2_32.lib
163 description = Subversion repository replicator
165 path = subversion/svnsync
166 libs = libsvn_ra libsvn_delta libsvn_subr apr
168 manpages = subversion/svnsync/svnsync.1
171 description = Subversion Revision Extractor
173 path = subversion/svnversion
174 libs = libsvn_wc libsvn_subr apriconv apr
176 manpages = subversion/svnversion/svnversion.1
179 description = Subversion remote repository dumper and loader
181 path = subversion/svnrdump
182 libs = libsvn_client libsvn_ra libsvn_repos libsvn_delta libsvn_subr aprutil apr
184 manpages = subversion/svnrdump/svnrdump.1
187 description = Subversion Multiple URL Command Client
189 path = subversion/svnmucc
190 libs = libsvn_client libsvn_ra libsvn_subr libsvn_delta apriconv apr
192 manpages = subversion/svnmucc/svnmucc.1
194 # Support for GNOME Keyring
195 [libsvn_auth_gnome_keyring]
196 description = Subversion GNOME Keyring Library
198 install = gnome-keyring-lib
199 path = subversion/libsvn_auth_gnome_keyring
200 libs = libsvn_subr apr gnome-keyring
202 # Support for KWallet
203 [libsvn_auth_kwallet]
204 description = Subversion KWallet Library
206 install = kwallet-lib
207 path = subversion/libsvn_auth_kwallet
208 libs = libsvn_subr apr kwallet
209 link-cmd = $(LINK_CXX_LIB)
211 # Library needed by all subversion clients
213 description = Subversion Client Library
215 path = subversion/libsvn_client
216 libs = libsvn_wc libsvn_ra libsvn_delta libsvn_diff libsvn_subr apriconv apr
218 msvc-export = svn_client.h private/svn_client_private.h
220 # Routines for binary diffing and tree-deltas
222 description = Subversion Delta Library
225 path = subversion/libsvn_delta
226 libs = libsvn_subr aprutil apriconv apr zlib
227 msvc-export = svn_delta.h private/svn_editor.h private/svn_delta_private.h
229 # Routines for diffing
231 description = Subversion Diff Library
233 path = subversion/libsvn_diff
234 libs = libsvn_subr apriconv apr zlib
236 msvc-export = svn_diff.h private/svn_diff_private.h private/svn_diff_tree.h
238 # The repository filesystem library
240 description = Subversion Repository Filesystem Library
242 path = subversion/libsvn_fs
244 libs = libsvn_fs_util libsvn_delta libsvn_subr fs-libs aprutil apr
245 # conditionally add more dependencies
246 add-deps = $(SVN_FS_LIB_DEPS)
247 add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
248 msvc-export = svn_fs.h private/svn_fs_private.h
252 path = subversion/libsvn_fs_base
253 sources = *.c bdb/*.c util/*.c
255 libs = libsvn_delta libsvn_subr aprutil apriconv apr bdb libsvn_fs_util
260 path = subversion/libsvn_fs_fs
262 libs = libsvn_delta libsvn_subr aprutil apriconv apr libsvn_fs_util
265 # Low-level grab bag of utilities
269 path = subversion/libsvn_fs_util
270 libs = libsvn_subr aprutil apriconv apr
271 msvc-libs = advapi32.lib shfolder.lib
274 # General API for accessing repositories
276 description = Subversion Repository Access Library
278 path = subversion/libsvn_ra
279 libs = libsvn_delta libsvn_subr ra-libs apriconv apr
280 # conditionally add more dependencies
281 add-deps = $(SVN_RA_LIB_DEPS)
282 add-install-deps = $(SVN_RA_LIB_INSTALL_DEPS)
284 msvc-export = svn_ra.h private\svn_ra_private.h
286 # Accessing repositories via DAV through serf
289 path = subversion/libsvn_ra_serf
291 libs = libsvn_delta libsvn_subr aprutil apriconv apr serf xml
292 msvc-libs = secur32.lib
295 # Accessing repositories via SVN
298 path = subversion/libsvn_ra_svn
300 libs = libsvn_delta libsvn_subr aprutil apriconv apr sasl
303 # Accessing repositories via direct libsvn_fs
306 path = subversion/libsvn_ra_local
308 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
311 # Routines built on top of libsvn_fs
313 description = Subversion Repository Library
315 path = subversion/libsvn_repos
317 libs = libsvn_fs libsvn_delta libsvn_subr apriconv apr
318 msvc-export = svn_repos.h private/svn_repos_private.h
320 # Low-level grab bag of utilities
322 description = Subversion General Utility Library
325 path = subversion/libsvn_subr
326 libs = aprutil apriconv apr xml zlib apr_memcache sqlite magic
327 msvc-libs = kernel32.lib advapi32.lib shfolder.lib ole32.lib
328 crypt32.lib version.lib psapi.lib
330 svn_auth.h svn_base64.h svn_cache_config.h svn_checksum.h svn_cmdline.h
331 svn_compat.h svn_config.h svn_ctype.h svn_dirent_uri.h svn_dso.h
332 svn_error.h svn_hash.h svn_io.h svn_iter.h svn_md5.h svn_mergeinfo.h
333 svn_nls.h svn_opt.h svn_path.h svn_pools.h svn_props.h svn_quoprint.h
334 svn_sorts.h svn_string.h svn_subst.h svn_time.h svn_types.h svn_user.h
335 svn_utf.h svn_version.h svn_xml.h
336 private\svn_atomic.h private\svn_cache.h private\svn_cmdline_private.h
337 private\svn_debug.h private\svn_error_private.h private\svn_fspath.h
338 private\svn_log.h private\svn_mergeinfo_private.h
339 private\svn_opt_private.h private\svn_skel.h private\svn_sqlite.h
340 private\svn_utf_private.h private\svn_eol_private.h
341 private\svn_token.h private\svn_adler32.h
342 private\svn_temp_serializer.h private\svn_io_private.h
343 private\svn_string_private.h private\svn_magic.h
344 private\svn_subr_private.h private\svn_mutex.h private\svn_named_atomic.h
346 # Working copy management lib
348 description = Subversion Working Copy Library
350 path = subversion/libsvn_wc
351 libs = libsvn_delta libsvn_diff libsvn_subr aprutil apriconv apr
353 msvc-export = svn_wc.h private\svn_wc_private.h
355 # Subversion plugin for Apache's mod_dav
357 description = Subversion plug-in for the Apache DAV module
358 when = INSTALL_APACHE_MODS
360 path = subversion/mod_dav_svn
361 sources = *.c reports/*.c posts/*.c
362 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr
363 nonlibs = apr aprutil
365 msvc-libs = mod_dav.lib libhttpd.lib
368 description = Subversion path-based authorization module for Apache
369 when = INSTALL_APACHE_MODS
371 path = subversion/mod_authz_svn
372 nonlibs = mod_dav_svn apr aprutil
373 libs = libsvn_repos libsvn_subr
375 msvc-libs = libhttpd.lib
378 description = Apache Httpd module to block certain kinds of Apache Subversion requests
379 when = INSTALL_APACHE_MODS
381 path = tools/server-side/mod_dontdothat
382 nonlibs = mod_dav_svn apr aprutil
383 libs = libsvn_subr xml
385 msvc-libs = libhttpd.lib
387 # ----------------------------------------------------------------------------
389 # CONSTRUCTED HEADERS
393 description = Schema for the rep-sharing feature
395 path = subversion/libsvn_fs_fs
396 sources = rep-cache-db.sql
399 desription = Queries on the WC database
401 path = subversion/libsvn_wc
402 sources = wc-queries.sql
405 description = Internal statements for SQLite interface
407 path = subversion/libsvn_subr
408 sources = internal_statements.sql
411 # ----------------------------------------------------------------------------
413 # TARGETS FOR I18N SUPPORT
419 external-project = svn_locale
421 # ----------------------------------------------------------------------------
423 # TARGETS FOR SWIG SUPPORT
428 path = subversion/bindings/swig
430 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
431 libsvn_diff libsvn_subr apr
432 description = Subversion core library bindings
433 include-runtime = yes
437 path = subversion/bindings/swig
438 sources = svn_client.i
439 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
440 libsvn_client libsvn_subr apr
442 description = Subversion client library bindings
446 path = subversion/bindings/swig
447 sources = svn_delta.i
448 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
449 libsvn_delta libsvn_subr apr
451 description = Subversion delta library bindings
455 path = subversion/bindings/swig
457 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
458 libsvn_diff libsvn_subr apr
460 description = Subversion diff library bindings
464 path = subversion/bindings/swig
466 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
467 libsvn_fs libsvn_subr apr
469 description = Subversion FS library bindings
473 path = subversion/bindings/swig
475 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
476 libsvn_ra libsvn_subr apr
478 description = Subversion RA library bindings
482 path = subversion/bindings/swig
483 sources = svn_repos.i
484 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
485 libsvn_repos libsvn_subr apr
487 description = Subversion repository library bindings
491 path = subversion/bindings/swig
493 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
494 libsvn_wc libsvn_subr apr
496 description = Subversion WC library bindings
498 # SWIG utility library for Python modules
502 path = subversion/bindings/swig/python/libsvn_swig_py
503 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr apriconv apr
505 install = swig-py-lib
506 # need special build rule to include -DSWIGPYTHON
507 compile-cmd = $(COMPILE_SWIG_PY)
510 # SWIG utility library for Perl modules
514 path = subversion/bindings/swig/perl/libsvn_swig_perl
515 libs = libsvn_delta libsvn_subr apriconv apr
516 install = swig-pl-lib
517 # need special build rule to include
518 compile-cmd = $(COMPILE_SWIG_PL)
521 # SWIG utility library for Ruby modules
525 path = subversion/bindings/swig/ruby/libsvn_swig_ruby
526 libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr
527 link-cmd = $(LINK) $(SWIG_RB_LIBS)
528 install = swig-rb-lib
529 # need special build rule to include
530 compile-cmd = $(COMPILE_SWIG_RB)
533 # ----------------------------------------------------------------------------
539 path = subversion/bindings/javahl/src/org/apache/subversion/javahl
540 subversion/bindings/javahl/src/org/apache/subversion/javahl/callback
541 subversion/bindings/javahl/src/org/apache/subversion/javahl/types
542 src-root = subversion/bindings/javahl/src
544 install = javahl-java
545 link-cmd = $(COMPILE_JAVAHL_JAVAC)
546 classes = subversion/bindings/javahl/classes
551 path = subversion/bindings/javahl/src/org/tigris/subversion/javahl
553 install = javahl-java
554 link-cmd = $(COMPILE_JAVAHL_JAVAC)
555 classes = subversion/bindings/javahl/classes
556 add-deps = $(javahl_java_DEPS)
557 ### Replace JAR call in INSTALL_EXTRA_JAVAHL_JAVA macro Makefile.in.
558 #jar = svn-javahl.jar
563 path = subversion/bindings/javahl/tests/org/apache/subversion/javahl
565 install = javahl-java
566 link-cmd = $(COMPILE_JAVAHL_JAVAC)
567 classes = subversion/bindings/javahl/classes
569 ### Java targets don't do up-to-date checks yet.
570 #add-deps = javahl-java
571 add-deps = $(javahl_java_DEPS)
573 [javahl-compat-tests]
575 path = subversion/bindings/javahl/tests/org/tigris/subversion/javahl
577 install = javahl-java
578 link-cmd = $(COMPILE_JAVAHL_JAVAC)
579 classes = subversion/bindings/javahl/classes
581 ### Java targets don't do up-to-date checks yet.
582 #add-deps = javahl-compat-java
583 add-deps = $(javahl_compat_java_DEPS)
587 path = subversion/bindings/javahl/src/org/apache/subversion/javahl/types
588 classes = subversion/bindings/javahl/classes
589 headers = subversion/bindings/javahl/include
590 package = org.apache.subversion.javahl.types
592 add-deps = $(javahl_java_DEPS)
593 install = javahl-javah
594 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
596 [javahl-callback-javah]
598 path = subversion/bindings/javahl/src/org/apache/subversion/javahl/callback
599 classes = subversion/bindings/javahl/classes
600 headers = subversion/bindings/javahl/include
601 package = org.apache.subversion.javahl.callback
603 add-deps = $(javahl_java_DEPS)
604 install = javahl-javah
605 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
609 path = subversion/bindings/javahl/src/org/apache/subversion/javahl
610 classes = subversion/bindings/javahl/classes
611 headers = subversion/bindings/javahl/include
612 package = org.apache.subversion.javahl
614 add-deps = $(javahl_java_DEPS)
615 install = javahl-javah
616 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
619 description = Subversion Java HighLevel binding
621 path = subversion/bindings/javahl/native
622 libs = libsvn_repos libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff
623 libsvn_subr libsvn_fs aprutil apriconv apr
625 add-deps = $(javahl_javah_DEPS) $(javahl_java_DEPS) $(javahl_callback_javah_DEPS) $(javahl_types_javah_DEPS)
627 # need special build rule to include -I$(JDK)/include/jni.h
628 compile-cmd = $(COMPILE_JAVAHL_CXX)
629 link-cmd = $(LINK_JAVAHL_CXX)
631 # ----------------------------------------------------------------------------
637 description = Subversion C++ HighLevel bindings
639 path = subversion/bindings/cxxhl
640 libs = libsvn_repos libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff
641 libsvn_subr libsvn_fs aprutil apriconv apr
645 compile-cmd = $(COMPILE_CXXHL_CXX)
646 link-cmd = $(LINK_CXX_LIB)
649 description = Unit tests for Subversion C++ HighLevel bindings
651 path = subversion/bindings/cxxhl
652 libs = libsvncxxhl libsvn_subr
653 sources = tests/*.cpp
655 compile-cmd = $(COMPILE_CXXHL_CXX)
656 link-cmd = $(LINK_CXX)
658 # ----------------------------------------------------------------------------
663 # general library: our C testing framework
666 path = subversion/tests
668 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr aprutil apriconv apr
670 undefined-lib-symbols = yes
672 # ----------------------------------------------------------------------------
673 # Tests for libsvn_fs_base
676 description = Tests for *public* fs API (svn_fs.h)
678 path = subversion/tests/libsvn_fs_base
679 sources = fs-base-test.c
681 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
682 libsvn_fs_util libsvn_subr apriconv apr
685 description = Test strings/reps in libsvn_fs_base
687 path = subversion/tests/libsvn_fs_base
688 sources = strings-reps-test.c
690 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
691 libsvn_subr apriconv apr
694 description = Test changes in libsvn_fs_base
696 path = subversion/tests/libsvn_fs_base
697 sources = changes-test.c
699 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
700 libsvn_subr apriconv apr
702 # ----------------------------------------------------------------------------
703 # Tests for libsvn_fs_fs
705 description = Test fsfs packing in libsvn_fs_fs
707 path = subversion/tests/libsvn_fs_fs
708 sources = fs-pack-test.c
710 libs = libsvn_test libsvn_fs libsvn_fs_fs libsvn_delta
711 libsvn_subr apriconv apr
713 # ----------------------------------------------------------------------------
714 # Tests for libsvn_fs
717 description = Test locks in libsvn_fs
719 path = subversion/tests/libsvn_fs
720 sources = locks-test.c
722 libs = libsvn_test libsvn_fs libsvn_delta libsvn_subr apriconv apr
725 description = Test locks in libsvn_fs
727 path = subversion/tests/libsvn_fs
730 libs = libsvn_test libsvn_fs libsvn_delta
731 libsvn_subr aprutil apriconv apr
733 # ----------------------------------------------------------------------------
734 # Tests for libsvn_repos
737 description = Test delta editor in libsvn_repos
739 path = subversion/tests/libsvn_repos
740 sources = repos-test.c dir-delta-editor.c
742 libs = libsvn_test libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
744 # ----------------------------------------------------------------------------
745 # Tests for libsvn_subr
748 description = Test platform-specific auth provider access
750 path = subversion/tests/libsvn_subr
751 sources = auth-test.c
753 libs = libsvn_test libsvn_subr apr
756 description = Test in-memory cache
758 path = subversion/tests/libsvn_subr
759 sources = cache-test.c
761 libs = libsvn_test libsvn_subr apr
764 description = Test checksum functions
766 path = subversion/tests/libsvn_subr
767 sources = checksum-test.c
769 libs = libsvn_test libsvn_subr apr
772 description = Test compatibility functions
774 path = subversion/tests/libsvn_subr
775 sources = compat-test.c
777 libs = libsvn_test libsvn_subr apr
780 description = Test svn_config utilities
782 path = subversion/tests/libsvn_subr
783 sources = config-test.c
785 libs = libsvn_test libsvn_subr apriconv apr
788 description = Test svn_crypto utilities
790 path = subversion/tests/libsvn_subr
791 sources = crypto-test.c
793 libs = libsvn_test libsvn_subr aprutil apr
796 description = Test dirent_uri library
798 path = subversion/tests/libsvn_subr
799 sources = dirent_uri-test.c
801 libs = libsvn_test libsvn_subr apriconv apr
804 description = Test error library
806 path = subversion/tests/libsvn_subr
807 sources = error-test.c
809 libs = libsvn_test libsvn_subr apriconv apr
812 description = Test error library
814 path = subversion/tests/libsvn_subr
815 sources = error-code-test.c
817 libs = libsvn_test libsvn_subr apriconv apr
820 description = Test hashfile format for props
822 path = subversion/tests/libsvn_subr
823 sources = hashdump-test.c
825 libs = libsvn_test libsvn_subr apriconv apr
828 description = Test I/O Operations
830 path = subversion/tests/libsvn_subr
833 libs = libsvn_test libsvn_subr apriconv apr
836 description = Test options library
838 path = subversion/tests/libsvn_subr
841 libs = libsvn_test libsvn_subr apr
844 description = Test mergeinfo library
846 path = subversion/tests/libsvn_subr
847 sources = mergeinfo-test.c
849 libs = libsvn_test libsvn_subr apr
852 description = Test named atomics
854 path = subversion/tests/libsvn_subr
855 sources = named_atomic-test.c
857 libs = libsvn_test libsvn_subr apr
859 [named_atomic-proc-test]
860 description = Sub-process for named atomics
862 path = subversion/tests/libsvn_subr
863 sources = named_atomic-test-proc.c
865 libs = libsvn_subr apr
868 description = Test path library
870 path = subversion/tests/libsvn_subr
871 sources = path-test.c
873 libs = libsvn_test libsvn_subr apriconv apr
876 description = Test revision library
878 path = subversion/tests/libsvn_subr
879 sources = revision-test.c
881 libs = libsvn_test libsvn_subr apr
884 description = Test skels in libsvn_subr
886 path = subversion/tests/libsvn_subr
887 sources = skel-test.c
889 libs = libsvn_test libsvn_subr apriconv apr
892 description = Test spillbuf in libsvn_subr
894 path = subversion/tests/libsvn_subr
895 sources = spillbuf-test.c
897 libs = libsvn_test libsvn_subr apriconv apr
900 description = Test stream library
902 path = subversion/tests/libsvn_subr
903 sources = stream-test.c
905 libs = libsvn_test libsvn_subr apriconv apr
908 description = Test svn_stringbuf_t utilities
910 path = subversion/tests/libsvn_subr
911 sources = string-test.c
913 libs = libsvn_test libsvn_subr apriconv apr
916 description = Test time functions
918 path = subversion/tests/libsvn_subr
919 sources = time-test.c
921 libs = libsvn_test libsvn_subr apriconv apr
924 description = Test UTF-8 functions
926 path = subversion/tests/libsvn_subr
929 libs = libsvn_test libsvn_subr apriconv apr
931 [subst_translate-test]
932 description = Test the svn_subst_translate* functions
934 path = subversion/tests/libsvn_subr
935 sources = subst_translate-test.c
937 libs = libsvn_test libsvn_subr apriconv apr
940 description = Test eol conversion and keyword substitution routines
942 path = subversion/tests/libsvn_subr
943 sources = translate-test.c
945 libs = libsvn_test libsvn_subr apriconv apr
947 # ----------------------------------------------------------------------------
948 # Tests for libsvn_delta
951 description = Use random data to test delta processing
953 path = subversion/tests/libsvn_delta
954 sources = random-test.c
956 libs = libsvn_test libsvn_delta libsvn_subr apriconv apr
959 description = Test delta window generation
961 path = subversion/tests/libsvn_delta
962 sources = window-test.c
964 libs = libsvn_test libsvn_delta libsvn_subr apriconv apr
966 # ----------------------------------------------------------------------------
967 # Tests for libsvn_client
970 description = Test low-level functionality in libsvn_client
972 path = subversion/tests/libsvn_client
973 sources = client-test.c
975 libs = libsvn_test libsvn_client libsvn_wc libsvn_repos libsvn_ra libsvn_fs libsvn_delta libsvn_subr apriconv apr
977 # ----------------------------------------------------------------------------
978 # Tests for libsvn_diff
981 description = Test the diff/diff3 library
983 path = subversion/tests/libsvn_diff
984 sources = diff-diff3-test.c
986 libs = libsvn_test libsvn_diff libsvn_subr apriconv apr
989 description = Test unidiff parsing
991 path = subversion/tests/libsvn_diff
992 sources = parse-diff-test.c
994 libs = libsvn_test libsvn_diff libsvn_subr apriconv apr
996 # ----------------------------------------------------------------------------
997 # Tests for libsvn_ra
1000 description = Test a few things in libsvn_ra
1002 path = subversion/tests/libsvn_ra
1005 libs = libsvn_test libsvn_ra libsvn_fs libsvn_delta libsvn_subr
1008 # ----------------------------------------------------------------------------
1009 # Tests for libsvn_ra_local
1012 description = Test a few things in libsvn_ra_local
1014 path = subversion/tests/libsvn_ra_local
1015 sources = ra-local-test.c
1017 libs = libsvn_test libsvn_ra_local libsvn_ra libsvn_fs libsvn_delta libsvn_subr
1020 # ----------------------------------------------------------------------------
1021 # Tests for libsvn_wc
1023 [conflict-data-test]
1024 description = Test the storage of tree conflict data
1026 path = subversion/tests/libsvn_wc
1027 sources = conflict-data-test.c utils.c
1029 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1032 description = Test the wc-ng database subsystem
1034 path = subversion/tests/libsvn_wc
1035 sources = db-test.c utils.c
1037 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1039 [pristine-store-test]
1040 description = Test the wc-ng pristine text storage subsystem
1042 path = subversion/tests/libsvn_wc
1043 sources = pristine-store-test.c utils.c
1045 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1047 [entries-compat-test]
1048 description = Test backwards compat for the entry interface
1050 path = subversion/tests/libsvn_wc
1051 sources = entries-compat.c utils.c
1053 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1056 description = Test layered tree changes
1058 path = subversion/tests/libsvn_wc
1059 sources = op-depth-test.c utils.c
1061 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1064 description = Test Sqlite query evaluation
1066 path = subversion/tests/libsvn_wc
1067 sources = wc-queries-test.c
1069 libs = libsvn_test libsvn_subr apriconv apr sqlite
1072 description = Test the main WC API functions
1074 path = subversion/tests/libsvn_wc
1075 sources = wc-test.c utils.c
1077 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1079 # ----------------------------------------------------------------------------
1080 # These are not unit tests at all, they are small programs that exercise
1081 # parts of the libsvn_delta API from the command line. They are stuck here
1082 # because of some historical association with the test-suite, but should
1083 # really be put somewhere else.
1085 # test our textdelta encoding
1088 path = subversion/tests/libsvn_delta
1089 sources = svndiff-test.c
1091 libs = libsvn_delta libsvn_subr apriconv apr
1094 # compare two files, print txdelta windows
1097 path = subversion/tests/libsvn_delta
1098 sources = vdelta-test.c
1100 libs = libsvn_delta libsvn_subr apriconv apr
1105 path = subversion/tests/cmdline
1106 sources = entries-dump.c
1108 libs = libsvn_wc libsvn_subr apriconv apr
1111 [atomic-ra-revprop-change]
1113 path = subversion/tests/cmdline
1114 sources = atomic-ra-revprop-change.c
1116 libs = libsvn_ra libsvn_subr apriconv apr
1121 path = subversion/tests/libsvn_wc
1122 sources = wc-lock-tester.c
1124 libs = libsvn_wc libsvn_subr apriconv apr
1127 [wc-incomplete-tester]
1129 path = subversion/tests/libsvn_wc
1130 sources = wc-incomplete-tester.c
1132 libs = libsvn_wc libsvn_subr apriconv apr
1135 # ----------------------------------------------------------------------------
1137 # EXTERNAL TARGETS (NO BUILD NEEDED)
1142 external-lib = $(SVN_APR_LIBS)
1143 msvc-libs = ws2_32.lib rpcrt4.lib mswsock.lib
1147 external-lib = $(SVN_APRUTIL_LIBS)
1151 external-lib = $(SVN_APRUTIL_LIBS)
1155 external-lib = $(SVN_DB_LIBS)
1159 external-lib = $(SVN_GNOME_KEYRING_LIBS)
1163 external-lib = $(SVN_KWALLET_LIBS)
1167 external-lib = $(SVN_MAGIC_LIBS)
1171 external-lib = $(SVN_SASL_LIBS)
1175 external-lib = $(SVN_ZLIB_LIBS)
1176 external-project = zlib
1181 external-lib = $(SVN_APR_MEMCACHE_LIBS)
1185 external-lib = $(SVN_SERF_LIBS)
1186 external-project = serf/serf
1187 libs = apr aprutil xml
1192 external-lib = $(SVN_SQLITE_LIBS)
1196 external-lib = $(SVN_XML_LIBS)
1200 external-lib = $(SVN_RA_LIB_LINK)
1201 libs = libsvn_ra_serf libsvn_ra_local libsvn_ra_svn
1205 external-lib = $(SVN_FS_LIB_LINK)
1206 libs = libsvn_fs_base libsvn_fs_fs
1211 libs = svn svnadmin svndumpfilter svnlook svnmucc svnserve svnrdump svnsync
1213 mod_authz_svn mod_dav_svn mod_dontdothat
1214 svnauthz svnauthz-validate svnraisetreeconflict
1220 fs-test fs-base-test fs-fsfs-test fs-pack-test skel-test
1221 strings-reps-test changes-test locks-test repos-test
1222 checksum-test compat-test config-test hashdump-test mergeinfo-test
1223 opt-test path-test stream-test string-test time-test utf-test
1224 error-test error-code-test cache-test spillbuf-test crypto-test
1225 named_atomic-test named_atomic-proc-test revision-test
1226 subst_translate-test io-test
1228 random-test window-test
1232 svndiff-test vdelta-test
1233 entries-dump atomic-ra-revprop-change wc-lock-tester wc-incomplete-tester
1235 conflict-data-test db-test pristine-store-test entries-compat-test
1236 op-depth-test dirent_uri-test wc-queries-test wc-test
1243 libs = __ALL_TESTS__
1244 diff diff3 diff4 fsfs-reorg fsfs-stats fsfs-access-map svn-bench
1245 svn-rep-sharing-stats svn-populate-node-origins-index
1250 libs = fs-libs ra-libs libsvn_client libsvn_subr libsvn_wc
1251 aprutil apriconv apr
1255 external-project = svn_config
1260 libs = swig_client swig_delta swig_diff swig_fs swig_ra swig_repos swig_wc swig_core
1266 libs = swig_client swig_delta swig_fs swig_ra swig_repos swig_wc swig_core
1272 libs = swig_client swig_delta swig_fs swig_ra swig_repos swig_wc swig_core
1278 libs = javahl-java javahl-javah libsvnjavahl
1283 libs = __JAVAHL__ javahl-tests javahl-compat-tests
1285 # ----------------------------------------------------------------------------
1291 sources = fsfs-reorg.c
1293 libs = libsvn_delta libsvn_subr apr
1297 path = tools/server-side
1298 sources = fsfs-stats.c
1300 libs = libsvn_delta libsvn_subr apr
1305 sources = fsfs-access-map.c
1307 libs = libsvn_subr apr
1314 libs = libsvn_diff libsvn_subr apriconv apr
1321 libs = libsvn_diff libsvn_subr apriconv apr
1328 libs = libsvn_diff libsvn_subr apriconv apr
1332 path = tools/client-side/svn-bench
1334 libs = libsvn_client libsvn_wc libsvn_ra libsvn_subr libsvn_delta
1338 description = Authz config file tool
1340 path = tools/server-side
1341 sources = svnauthz.c
1343 libs = libsvn_repos libsvn_fs libsvn_subr apr
1345 # svnauthz-validate is the compat mode of the new svnauthz tool. It is
1346 # exactly the same code as svnauthz. This duplicated target is needed
1347 # in order to easily test both commands as part of the build since libtool
1348 # does not provide a way to set argv[0] different from the commands actual
1349 # name in the wrapper script.
1351 description = Authz config file validator
1353 path = tools/server-side
1354 sources = svnauthz.c
1356 libs = libsvn_repos libsvn_fs libsvn_subr apr
1358 [svn-populate-node-origins-index]
1360 path = tools/server-side
1361 sources = svn-populate-node-origins-index.c
1363 libs = libsvn_repos libsvn_fs libsvn_subr apr
1365 [svnraisetreeconflict]
1366 description = Tool to Flag a Tree Conflict
1368 path = tools/dev/svnraisetreeconflict
1369 libs = libsvn_wc libsvn_subr apriconv apr
1372 [svn-rep-sharing-stats]
1374 path = tools/server-side
1375 sources = svn-rep-sharing-stats.c
1377 libs = libsvn_repos libsvn_fs libsvn_fs_fs libsvn_subr apriconv apr